File: node-end.mk

package info (click to toggle)
openmsx 0.8.2-2.1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 15,796 kB
  • sloc: cpp: 124,615; xml: 22,614; tcl: 7,336; python: 3,789; asm: 1,154; sh: 69; makefile: 25
file content (34 lines) | stat: -rw-r--r-- 1,035 bytes parent folder | download | duplicates (3)
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 3244 2004-05-03 01:05:28Z mthuurne $
# Should be included at the end of each node.mk file.

# Process this node.
SOURCES_FULL+=$(sort \
	$(addprefix $(CURDIR),$(addsuffix .cc, \
	$(SRC_HDR) $(SRC_HDR_true) $(SRC_ONLY) $(SRC_ONLY_true) \
	)))
DIST_FULL+=$(sort \
	$(addprefix $(CURDIR),$(addsuffix .cc, \
	$(SRC_HDR_) $(SRC_HDR_false) $(SRC_ONLY_) $(SRC_ONLY_false) \
	)))
HEADERS_FULL+=$(sort \
	$(addprefix $(CURDIR),$(addsuffix .hh, \
	$(SRC_HDR) $(SRC_HDR_true) $(HDR_ONLY) $(HDR_ONLY_true) \
	)))
DIST_FULL+=$(sort \
	$(addprefix $(CURDIR),$(addsuffix .hh, \
	$(SRC_HDR_) $(SRC_HDR_false) $(HDR_ONLY_) $(HDR_ONLY_false) \
	)))
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))