]> git.draconx.ca Git - rrace.git/blobdiff - Makefile.am
Add a menu bar.
[rrace.git] / Makefile.am
index b0a7b755e170299c2f88e998fee955633b2bcd06..c9c281633ff502866fc994a24957ed11fcb616ad 100644 (file)
@@ -23,18 +23,18 @@ rrace_motif_LDADD = $(libmotifmain_a_OBJECTS) $(libmotifui_a_OBJECTS) \
 
 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 $@
@@ -42,6 +42,14 @@ $(OPTFILES:.opt=.h): $(DX_BASEDIR)/scripts/gen-options.awk
 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