[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tim-2] src/Makefile.am fails bootstrap build because parse-skel.h isn't
From: |
Tim Van Holder |
Subject: |
[tim-2] src/Makefile.am fails bootstrap build because parse-skel.h isn't built before output.o |
Date: |
Sun, 6 Jan 2002 18:39:13 +0100 |
At least with CVS automake, the skeleton parser does not
get instantiated before output.c is compiled, which is
a problem, as that file includes parse-skel.h.
Adding both generated files to BUILT_SOURCES causes them
to be made first.
Note: this file contains another show-stopper "bug": it
assumes that bison's output is y.tab.c, while on MSDOS
it is y_tab.c (see also [tim-3]).
2002-01-06 Tim Van Holder <address@hidden>
* src/Makefile.am: Ensure parse-skel.c and scan-skel.c
are built.
Index: src/Makefile.am
===================================================================
RCS file: /cvsroot/bison/bison/src/Makefile.am,v
retrieving revision 1.35
diff -u -r1.35 Makefile.am
--- src/Makefile.am 30 Dec 2001 14:50:15 -0000 1.35
+++ src/Makefile.am 6 Jan 2002 16:08:32 -0000
@@ -47,6 +47,8 @@
print.c reader.c reduce.c symtab.c warshall.c vcg.c \
parse-skel.y scan-skel.l
+BUILT_SOURCES = parse-skel.c scan-skel.c
+
EXTRA_bison_SOURCES = vmsgetargs.c
noinst_HEADERS = LR0.h closure.h complain.h conflicts.h \
- [tim-2] src/Makefile.am fails bootstrap build because parse-skel.h isn't built before output.o,
Tim Van Holder <=