File: node-end.mk

package info (click to toggle)
openmsx-debugger 0.1~git20200913-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 2,220 kB
  • sloc: cpp: 11,983; python: 631; sh: 45; makefile: 22
file content (30 lines) | stat: -rw-r--r-- 783 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
# 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) \
	)))

# 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))