mirror of https://github.com/GNOME/gimp.git
tweak the rules for rebuilding the parser files from lex/yacc source so
2008-05-10 Manish Singh <yosh@gimp.org> * plug-ins/imagemap/Makefile.am: tweak the rules for rebuilding the parser files from lex/yacc source so that they are explicit instead of potentially being run implicitly because the file dates are off. svn path=/trunk/; revision=25606
This commit is contained in:
parent
a37bce0d31
commit
00cd61d43e
|
@ -1,3 +1,9 @@
|
|||
2008-05-10 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* plug-ins/imagemap/Makefile.am: tweak the rules for rebuilding the
|
||||
parser files from lex/yacc source so that they are explicit instead
|
||||
of potentially being run implicitly because the file dates are off.
|
||||
|
||||
2008-05-10 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/gimp-log.[ch]: add SHADOW_TILES log domain.
|
||||
|
|
|
@ -157,32 +157,49 @@ CLEANFILES = y.tab.c y.tab.h
|
|||
LEX=flex
|
||||
YACC=bison -y
|
||||
|
||||
imap_cern_lex.c: imap_cern.l
|
||||
REBUILD_FILES = \
|
||||
imap_cern_lex.c.rebuild \
|
||||
imap_csim_lex.c.rebuild \
|
||||
imap_ncsa_lex.c.rebuild \
|
||||
imap_cern_parse.c.rebuild \
|
||||
imap_csim_parse.c.rebuild \
|
||||
imap_ncsa_parse.c.rebuild \
|
||||
imap_cern_parse.h.rebuild \
|
||||
imap_csim_parse.h.rebuild \
|
||||
imap_ncsa_parse.h.rebuild
|
||||
|
||||
rebuild-parsers: $(REBUILD_FILES)
|
||||
@list='$(REBUILD_FILES)'; for p in $$list; do \
|
||||
newfile="`echo $$p | sed -e 's|.rebuild||'`"; \
|
||||
cp $$p $(srcdir)/$$newfile; \
|
||||
done
|
||||
|
||||
imap_cern_lex.c.rebuild: imap_cern.l
|
||||
@$(RM) $@
|
||||
$(LEX) $(LFLAGS) -Pcern_ -i -t $< > $@
|
||||
imap_csim_lex.c: imap_csim.l
|
||||
imap_csim_lex.c.rebuild: imap_csim.l
|
||||
@$(RM) $@
|
||||
$(LEX) $(LFLAGS) -Pcsim_ -i -t $< > $@
|
||||
imap_ncsa_lex.c: imap_ncsa.l
|
||||
imap_ncsa_lex.c.rebuild: imap_ncsa.l
|
||||
@$(RM) $@
|
||||
$(LEX) $(LFLAGS) -Pncsa_ -i -t $< > $@
|
||||
|
||||
imap_cern_parse.c: imap_cern.y
|
||||
imap_cern_parse.c.rebuild: imap_cern.y
|
||||
$(YACC) $(YFLAGS) -d -p cern_ $<
|
||||
mv -f y.tab.c $@
|
||||
imap_csim_parse.c: imap_csim.y
|
||||
imap_csim_parse.c.rebuild: imap_csim.y
|
||||
$(YACC) $(YFLAGS) -d -p csim_ $<
|
||||
mv -f y.tab.c $@
|
||||
imap_ncsa_parse.c: imap_ncsa.y
|
||||
imap_ncsa_parse.c.rebuild: imap_ncsa.y
|
||||
$(YACC) $(YFLAGS) -d -p ncsa_ $<
|
||||
mv -f y.tab.c $@
|
||||
|
||||
imap_cern_parse.h: imap_cern.y
|
||||
imap_cern_parse.h.rebuild: imap_cern.y
|
||||
$(YACC) $(YFLAGS) -d -p cern_ $<
|
||||
mv -f y.tab.h $@
|
||||
imap_csim_parse.h: imap_csim.y
|
||||
imap_csim_parse.h.rebuild: imap_csim.y
|
||||
$(YACC) $(YFLAGS) -d -p csim_ $<
|
||||
mv -f y.tab.h $@
|
||||
imap_ncsa_parse.h: imap_ncsa.y
|
||||
imap_ncsa_parse.h.rebuild: imap_ncsa.y
|
||||
$(YACC) $(YFLAGS) -d -p ncsa_ $<
|
||||
mv -f y.tab.h $@
|
||||
|
|
Loading…
Reference in New Issue