EXTRA_LIBRARIES += libmotifmain.a
libmotifmain_a_SOURCES = src/motif.c
-$(libmotifmain_a_OBJECTS): src/options.h
+$(libmotifmain_a_OBJECTS): src/motifopt.h
EXTRA_LIBRARIES += libmotifui.a
libmotifui_a_SOURCES = src/motif_ui.c
-$(libmotifui_a_OBJECTS): src/motifgui.h
+$(libmotifui_a_OBJECTS): src/motifgui.h src/motifstr.h
EXTRA_LIBRARIES += libglohelp.a
libglohelp_a_SOURCES = common/src/help.c
libglohelp_a_CFLAGS = -DHELP_GETOPT_LONG_ONLY
libglohelp_a_SHORTNAME = glo
-OPTFILES = src/options.opt
+OPTFILES = src/motifopt.opt
.opt.h:
$(AM_V_GEN) $(AWK) -f $(DX_BASEDIR)/scripts/gen-options.awk $< >$@.tmp
$(AM_V_at) mv -f $@.tmp $@
DISTCLEANFILES += $(OPTFILES:.opt=.h)
EXTRA_DIST += $(DX_BASEDIR)/scripts/gen-options.awk $(OPTFILES)
+STRFILES = src/motifstr.str
+.str.h:
+ $(AM_V_GEN) $(AWK) -f $(DX_BASEDIR)/scripts/gen-strtab.awk $< >$@.tmp
+ $(AM_V_at) mv -f $@.tmp $@
+$(STRFILES:.str=.h): $(DX_BASEDIR)/scripts/gen-strtab.awk
+DISTCLEANFILES += $(STRFILES:.str=.h)
+EXTRA_DIST += $(DX_BASEDIR)/scripts/gen-strtab.awk $(GUIFILES)
+
GUIFILES = src/motifgui.dat
.dat.h:
$(AM_V_GEN) $(AWK) -f $(DX_BASEDIR)/scripts/gen-tree.awk $< >$@.tmp