| 1 |
#************************************************************************* |
| 2 |
# Copyright (c) 2012 UChicago Argonne LLC, as Operator of Argonne |
| 3 |
# National Laboratory. |
| 4 |
# Copyright (c) 2010 Brookhaven Science Associates, as Operator of |
| 5 |
# Brookhaven National Lab. |
| 6 |
# Copyright (c) 2002 The Regents of the University of California, as |
| 7 |
# Operator of Los Alamos National Laboratory. |
| 8 |
# EPICS BASE is distributed subject to a Software License Agreement found |
| 9 |
# in file LICENSE that is included with this distribution. |
| 10 |
#************************************************************************* |
| 11 |
|
| 12 |
# This is a Makefile fragment, see src/ioc/Makefile. |
| 13 |
|
| 14 |
THESE_RULES := $(IOCDIR)/db/RULES |
| 15 |
|
| 16 |
dbCommon.h$(DEP): $(COMMON_DIR)/dbCommonRecord.dbd $(THESE_RULES) \ |
| 17 |
$(DBDTORECTYPEH_dep) |
| 18 |
@$(RM) $@ |
| 19 |
@$(DBTORECORDTYPEH) -D -I ../db -I $(COMMON_DIR) -o $(COMMONDEP_TARGET) $< > $@ |
| 20 |
|
| 21 |
$(COMMON_DIR)/dbCommonRecord.html: ../db/dbCommon.dbd.pod |
| 22 |
|
| 23 |
$(COMMON_DIR)/dbCommon.h: $(COMMON_DIR)/dbCommonRecord.dbd $(THESE_RULES) \ |
| 24 |
$(DBDTORECTYPEH_dep) |
| 25 |
@$(RM) $(notdir $@) |
| 26 |
$(DBTORECORDTYPEH) -I ../db -I $(COMMON_DIR) -o $(notdir $@) $< |
| 27 |
@$(MV) $(notdir $@) $@ |
| 28 |
|
| 29 |
$(COMMON_DIR)/menuGlobal.dbd: $(IOCDIR)/db/Makefile $(THESE_RULES) |
| 30 |
|
| 31 |
# This is a target-specific variable |
| 32 |
$(COMMON_DIR)/menuGlobal.dbd: DBDCAT_COMMAND = \ |
| 33 |
$(PERL) $(INSTALL_HOST_BIN)/makeIncludeDbd.pl $(menuGlobal_DBD) $(@F) |