Files
epics-base/src/makeBaseExt/top/configure/RULES_IDL
T
2010-11-29 10:38:06 +00:00

31 lines
657 B
Plaintext

# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
ifdef T_A
ifeq ($(findstring Host,$(VALID_BUILDS)),Host)
INSTALL_IDL = $(INSTALL_LOCATION)/idllib
DIRECTORY_TARGETS += $(INSTALL_IDL)
ifneq ($(strip $(IDLS_$(OS_CLASS))),)
IDLS += $(subst -nil-,,$(IDLS_$(OS_CLASS)))
else
ifdef IDLS_DEFAULT
IDLS += $(IDLS_DEFAULT)
endif
endif
INSTALL_IDLS =$(IDLS:%=$(INSTALL_IDL)/%)
buildInstall : $(INSTALL_IDLS)
$(INSTALL_IDL)/%: %
@echo "Installing idl program $@"
@$(INSTALL_IDLFILE) -d -m 644 $< $(INSTALL_IDL)
$(INSTALL_IDL)/%: ../%
@echo "Installing idl program $@"
@$(INSTALL_IDLFILE) -d -m 644 $< $(INSTALL_IDL)
endif
endif