Explicitly specify output file names for bison
Dmitry Timoshkov
dmitry at baikal.ru
Tue Mar 16 07:36:02 CST 2004
Hello,
bison creates output names in the same directory where the source resides.
So we need to explicitly specify an output name for out of the source tree
builds. The following patch works around that problem for me.
Changelog:
Dmitry Timoshkov <dmitry at codeweavers.com>
Explicitly specify output file names for bison.
--- cvs/hq/wine/dlls/msi/Makefile.in 2004-03-16 18:36:59.000000000 +0800
+++ wine/dlls/msi/Makefile.in 2004-03-16 20:29:21.000000000 +0800
@@ -27,10 +27,10 @@ EXTRA_OBJS = sql.tab.o cond.tab.o
@MAKE_DLL_RULES@
sql.tab.c sql.tab.h: sql.y
- $(BISON) -p SQL_ -d $(SRCDIR)/sql.y
+ $(BISON) -p SQL_ -d $(SRCDIR)/sql.y -o sql.tab.c
cond.tab.c cond.tab.h: cond.y
- $(BISON) -p COND_ -d $(SRCDIR)/cond.y
+ $(BISON) -p COND_ -d $(SRCDIR)/cond.y -o cond.tab.c
# hack to allow parallel make
sql.tab.h: sql.tab.c
More information about the wine-patches
mailing list