projects
/
emu8051.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement workaround for flex --header-file option
[emu8051.git]
/
src
/
cli
/
Makefile.am
diff --git
a/src/cli/Makefile.am
b/src/cli/Makefile.am
index
692df69
..
ff65f54
100644
(file)
--- a/
src/cli/Makefile.am
+++ b/
src/cli/Makefile.am
@@
-5,8
+5,10
@@
AM_CPPFLAGS = \
-I$(top_srcdir)/src/common \
-I$(top_builddir)/src/common
-I$(top_srcdir)/src/common \
-I$(top_builddir)/src/common
-# Option -d: produce header file scanner.h
-AM_LFLAGS = --header-file=scanner.h
+# Option --header-file: produce header file scanner.h.
+# Using abs_builddir as a workaround for automake-1.11
+# broken ylwrap script.
+AM_LFLAGS = --header-file=$(abs_builddir)/scanner.h
# Option -d: produce header file parser.h
AM_YFLAGS = -d
# Option -d: produce header file parser.h
AM_YFLAGS = -d