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
27
28
29
30
31
32
33
34
|
# $Id: node-end.mk 120 2006-08-05 23:55:57Z mthuurne $
# Should be included at the end of each node.mk file.
# Process this node.
SOURCES_FULL+=$(sort \
$(addprefix $(CURDIR),$(addsuffix .cpp, \
$(MOC_SRC_HDR) $(SRC_HDR) $(SRC_ONLY) \
)))
HEADERS_FULL+=$(sort \
$(addprefix $(CURDIR),$(addsuffix .h, \
$(MOC_SRC_HDR) $(SRC_HDR) $(HDR_ONLY) \
)))
MOC_HDR_FULL+=$(sort \
$(addprefix $(CURDIR),$(addsuffix .h, \
$(MOC_SRC_HDR) \
)))
UI_FULL+=$(sort \
$(addprefix $(CURDIR),$(addsuffix .ui, \
$(UI) \
)))
DIST_FULL+=$(sort \
$(addprefix $(CURDIR),$(DIST) node.mk) \
)
# Process subnodes.
ifneq ($(SUBDIRS),)
SUBDIRS:=$(addsuffix /,$(SUBDIRS))
SUBDIRSTACK:=$(SUBDIRS) $(SUBDIRSTACK)
include $(addprefix $(CURDIR),$(addsuffix node.mk,$(SUBDIRS)))
endif
# Pop current directory off directory stack.
CURDIR:=$(firstword $(DIRSTACK))
DIRSTACK:=$(wordlist 2,$(words $(DIRSTACK)),$(DIRSTACK))
|