makefiles: List bison dependencies explicitly for parallel makes, since older bisons don't support --defines.

This commit is contained in:
Alexandre Julliard 2006-09-11 21:43:11 +02:00
parent 4d619723a1
commit 145a0ba508
7 changed files with 13 additions and 1 deletions

View File

@ -130,7 +130,7 @@ LINTS = $(C_SRCS:.c=.ln)
$(BISON) $(BISONFLAGS) -o $@ $<
.y.tab.h:
$(BISON) $(BISONFLAGS) --defines=$@ -o /dev/null $<
$(BISON) $(BISONFLAGS) -o $*.tab.c -d $<
.l.yy.c:
$(LEX) $(LEXFLAGS) -t $< >$@ || ($(RM) $@ && exit 1)

View File

@ -58,6 +58,8 @@ RC_BINARIES = \
@MAKE_DLL_RULES@
sql.tab.c: sql.tab.h # for parallel makes
### Dependencies:
cond.tab.o: cond.tab.c

View File

@ -20,6 +20,8 @@ $(MODULE): $(OBJS)
$(AR) $@ $(OBJS)
$(RANLIB) $@
ppy.tab.c: ppy.tab.h # for parallel makes
### Dependencies:
ppy.tab.o: ppy.tab.c

View File

@ -43,6 +43,8 @@ install:: $(MANPAGES) $(DESTDIR)$(mandir)/man$(prog_manext)
uninstall::
$(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/winedbg.$(prog_manext)
dbg.tab.c: dbg.tab.h # for parallel makes
### Dependencies:
dbg.tab.o: dbg.tab.c

View File

@ -39,6 +39,8 @@ install:: $(PROGRAMS) $(MANPAGES) $(INSTALLDIRS)
uninstall::
$(RM) $(DESTDIR)$(bindir)/widl$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/widl.$(prog_manext)
parser.tab.c: parser.tab.h # for parallel makes
### Dependencies:
parser.tab.o: parser.tab.c

View File

@ -33,6 +33,8 @@ install:: $(PROGRAMS) $(MANPAGES) $(INSTALLDIRS)
uninstall::
$(RM) $(DESTDIR)$(bindir)/wmc$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/wmc.$(prog_manext)
mcy.tab.c: mcy.tab.h # for parallel makes
### Dependencies:
mcy.tab.o: mcy.tab.c

View File

@ -38,6 +38,8 @@ install:: $(PROGRAMS) $(MANPAGES) $(INSTALLDIRS)
uninstall::
$(RM) $(DESTDIR)$(bindir)/wrc$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/wrc.$(prog_manext)
parser.tab.c: parser.tab.h # for parallel makes
### Dependencies:
parser.tab.o: parser.tab.c