hopefully this is the last version
-mike

--- src/bsdl/Makefile.am        (revision 1917)
+++ src/bsdl/Makefile.am        (working copy)
@@ -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
 
--- src/svf/Makefile.am (revision 1917)
+++ src/svf/Makefile.am (working copy)
@@ -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 \

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
UrJTAG-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to