forked from epics-modules/devlib2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
28 lines (21 loc) · 802 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#Makefile at top of application tree
TOP = .
include $(TOP)/configure/CONFIG
DIRS := $(DIRS) $(filter-out $(DIRS), configure)
DIRS := $(DIRS) $(filter-out $(DIRS), common)
DIRS := $(DIRS) $(filter-out $(DIRS), pciApp)
DIRS := $(DIRS) $(filter-out $(DIRS), vmeApp)
DIRS := $(DIRS) $(filter-out $(DIRS), exploreApp)
DIRS := $(DIRS) $(filter-out $(DIRS), testApp)
# 3.14.10 style directory dependencies
# previous versions will just ignore them
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))
pciApp_DEPEND_DIRS += common
vmeApp_DEPEND_DIRS += common
exploreApp_DEPEND_DIRS += pciApp
testApp_DEPEND_DIRS += pciApp exploreApp
include $(TOP)/configure/RULES_TOP