diff --git a/App/tools/driver.makefile b/App/tools/driver.makefile index 18fc4fc..8c75b5c 100644 --- a/App/tools/driver.makefile +++ b/App/tools/driver.makefile @@ -1,6 +1,6 @@ # driver.makefile # -# $Header: /cvs/G/DRV/misc/App/tools/driver.makefile,v 1.97 2014/06/05 14:25:13 zimoch Exp $ +# $Header: /cvs/G/DRV/misc/App/tools/driver.makefile,v 1.98 2014/08/19 09:11:04 zimoch Exp $ # # This generic makefile compiles EPICS code (drivers, records, snl, ...) # for all installed EPICS versions in parallel. @@ -837,10 +837,11 @@ SNCFLAGS += -r # Create dbd file with references to all subRecord functions ${SUBFUNCFILE}: $(filter %.c %.cc %.C %.cpp, $(SRCS)) - @awk '/^[\t ]*static/ {next} /\([\t ]*(struct)?[\t ]*(genSub|sub|asub)Record[\t ]*\*[\t ]*\w+[\t ]*\)/ {\ + @echo generating $@ + awk '/^[\t ]*static/ {next} /\([\t ]*(struct)?[\t ]*(genSub|sub|aSub)Record[\t ]*\*[\t ]*\w+[\t ]*\)/ {\ match ($$0,/(\w+)[\t ]*\([\t ]*(struct)?[\t ]*\w+Record[\t ]*\*[\t ]*\w+[\t ]*\)/, a);\ print "function (" a[1] ")"\ - }' $< > $@ + }' $^ > $@ # The original 3.13 munching rule does not really work well ifeq (${EPICS_BASETYPE},3.13)