#Makefile at top of application tree TOP = . include $(TOP)/configure/CONFIG VME_LINUX_APPS := jlabScalerApp pulserV1495App V1495UpgradeApp struckScalerApp moControlApp beamProfilerApp DIRS := $(DIRS) $(filter-out $(DIRS), configure) ifeq ($(BMS_OSNAME),Linux_CentOS5-i686-gcc4.1.2) DIRS := $(DIRS) $(VME_LINUX_APPS) else DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *App)) EXCLUDE_LIST := $(VME_LINUX_APPS) hvCaenApp dcGasApp DIRS := $(filter-out $(EXCLUDE_LIST), $(DIRS)) endif DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard iocBoot)) DIRS := $(filter-out $(EXCLUDE_LIST),$(DIRS)) define DIR_template $(1)_DEPEND_DIRS = configure endef $(foreach dir, $(filter-out configure,$(DIRS)),$(eval $(call DIR_template,$(dir)))) iocBoot_DEPEND_DIRS += $(filter %App,$(DIRS)) include $(TOP)/configure/RULES_TOP