Change menuGlobal.dbd and stdRecords.dbd to be generated as a list of unexpanded include statements, not expanded out as they have been recently on this branch. This means any .dbd.pod files in those lists don't have to have been filtered to remove the POD statements which significantly simplifies the dependency graph. I had experienced build loops at times, which this change should prevent.
28 lines
1.2 KiB
Plaintext
28 lines
1.2 KiB
Plaintext
#*************************************************************************
|
|
# Copyright (c) 2012 UChicago Argonne LLC, as Operator of Argonne
|
|
# National Laboratory.
|
|
# Copyright (c) 2010 Brookhaven Science Associates, as Operator of
|
|
# Brookhaven National Lab.
|
|
# Copyright (c) 2002 The Regents of the University of California, as
|
|
# Operator of Los Alamos National Laboratory.
|
|
# EPICS BASE is distributed subject to a Software License Agreement found
|
|
# in file LICENSE that is included with this distribution.
|
|
#*************************************************************************
|
|
|
|
# This is a Makefile fragment, see src/ioc/Makefile.
|
|
|
|
dbCommon.h$(DEP): $(IOCDIR)/db/dbCommonRecord.dbd $(IOCDIR)/db/RULES
|
|
@$(RM) $@
|
|
@$(DBTORECORDTYPEH) -D -I ../db -o $(COMMONDEP_TARGET) $< > $@
|
|
|
|
$(COMMON_DIR)/dbCommon.h: $(IOCDIR)/db/dbCommonRecord.dbd $(IOCDIR)/db/RULES
|
|
@$(RM) $(notdir $@)
|
|
$(DBTORECORDTYPEH) -I ../db -o $(notdir $@) $<
|
|
@$(MV) $(notdir $@) $@
|
|
|
|
$(COMMON_DIR)/menuGlobal.dbd: $(IOCDIR)/db/Makefile $(IOCDIR)/db/RULES
|
|
|
|
# This is a target-specific variable
|
|
$(COMMON_DIR)/menuGlobal.dbd: DBDCAT_COMMAND = \
|
|
$(PERL) $(TOOLS)/makeIncludeDbd.pl $(menuGlobal_DBD) $(@F)
|