tweak dependency info on bison headers more to work again after OBJEXT hardcoding was dropped

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1923 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Mike Frysinger 13 years ago
parent 895f2384b8
commit 66b9f336fb

@ -1,3 +1,8 @@
2011-06-27 Mike Frysinger <vapier@gentoo.org>
* src/bsdl/Makefile.am, src/svf/Makefile.am: Update dependency targets
to fix parallel build issues with bison/flex generated headers.
2011-06-27 Jie Zhang <jie.zhang@analog.com>
* include/urjtag/Makefile.am (pkginclude_HEADERS): Remove urjtag.h.

@ -53,12 +53,13 @@ libbsdl_flex_la_CFLAGS = \
# additional dependencies
# - *_flex files must be processed after their *_bison counterparts
# to ensure that *_bison.h is present
libbsdl_flex_la-vhdl_flex.$(OBJEXT): vhdl_bison.h
libbsdl_flex_la-bsdl_flex.$(OBJEXT): bsdl_bison.h
bsdl_sem.$(OBJEXT): bsdl_bison.h
vhdl_bison.h: vhdl_bison.c
bsdl_bison.h: bsdl_bison.c
# - we use variables to workaround automake rule/dependency limitations
VHDL_BISON_OBJS = libbsdl_flex_la-vhdl_flex.lo
BSDL_BISON_OBJS = libbsdl_flex_la-bsdl_flex.lo bsdl_sem.lo
$(VHDL_BISON_OBJS): vhdl_bison.h
$(BSDL_BISON_OBJS): bsdl_bison.h
vhdl_bison.h: vhdl_bison.c ; @true
bsdl_bison.h: bsdl_bison.c ; @true
AM_LFLAGS = -i

@ -35,15 +35,19 @@ libsvf_la_SOURCES = \
libsvf_flex_la_SOURCES = \
svf_flex.l
libsvf_flex_la-svf_flex.$(OBJEXT) svf.$(OBJEXT): svf_bison.h
AM_CFLAGS = $(WARNINGCFLAGS)
libsvf_flex_la_CFLAGS = \
$(AM_CFLAGS) \
-Wno-error
svf_bison.h: svf_bison.c
# additional dependencies
# - *_flex files must be processed after their *_bison counterparts
# to ensure that *_bison.h is present
# - we use variables to workaround automake rule/dependency limitations
SVF_BISON_OBJS = libsvf_flex_la-svf_flex.lo svf.lo
$(SVF_BISON_OBJS): svf_bison.h
svf_bison.h: svf_bison.c ; @true
MAINTAINERCLEANFILES = \
svf_bison.c \

Loading…
Cancel
Save