-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile.user.mk
72 lines (53 loc) · 2.33 KB
/
Makefile.user.mk
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
ifneq (,$(DEBUGMAKE))
$(info ## ====================================================================)
$(info ## File: $$rpnpy/Makefile.user.mk)
$(info ## )
endif
#VERBOSE=1
ATM_MODEL_ISOFFICIAL := true
RBUILD_EXTRA_OBJ0 :=
COMPONENTS := rpnpy
COMPONENTS_UC := $(foreach item,$(COMPONENTS),$(call rdeuc,$(item)))
COMPONENTS_VFILES := $(foreach item,$(COMPONENTS_UC),$($(item)_VFILES))
#------------------------------------
MYSSMINCLUDEMK = $(wildcard $(RDE_INCLUDE0)/Makefile.ssm.mk $(rpnpy)/include/Makefile.ssm.mk)
ifneq (,$(MYSSMINCLUDEMK))
ifneq (,$(DEBUGMAKE))
$(info include $(MYSSMINCLUDEMK))
endif
include $(MYSSMINCLUDEMK)
endif
#------------------------------------
.PHONY: components_vfiles
components_vfiles: $(COMPONENTS_VFILES)
.PHONY: components_objects
components_objects: $(COMPONENTS_VFILES) $(OBJECTS)
.PHONY: components_libs
COMPONENTS_LIBS_FILES = $(foreach item,$(COMPONENTS_UC),$($(item)_LIBS_ALL_FILES_PLUS))
components_libs: $(COMPONENTS_VFILES) $(OBJECTS) $(COMPONENTS_LIBS_FILES)
ls -l $(COMPONENTS_LIBS_FILES)
ls -lL $(COMPONENTS_LIBS_FILES)
COMPONENTS_ABS := $(foreach item,$(COMPONENTS_UC),$($(item)_ABS))
COMPONENTS_ABS_FILES := $(foreach item,$(COMPONENTS_UC),$($(item)_ABS_FILES))
.PHONY: components_abs components_abs_check
components_abs: $(COMPONENTS_ABS)
ls -l $(COMPONENTS_ABS_FILES)
COMPONENTS_SSM_ALL := $(foreach item,$(COMPONENTS_UC),$($(item)_SSMALL_FILES))
COMPONENTS_SSM_ARCH := $(foreach item,$(COMPONENTS_UC),$($(item)_SSMARCH_FILES))
COMPONENTS_SSM := $(COMPONENTS_SSM_ALL) $(COMPONENTS_SSM_ARCH)
.PHONY: components_ssm
components_ssm: $(COMPONENTS_VFILES) $(COMPONENTS_SSM)
components_ssm_all: $(COMPONENTS_VFILES) $(COMPONENTS_SSM_ALL)
components_ssm_arch: $(COMPONENTS_VFILES) $(COMPONENTS_SSM_ARCH)
COMPONENTS_INSTALL_ALL := $(foreach item,$(COMPONENTS_UC),$($(item)_INSTALL))
COMPONENTS_UNINSTALL_ALL := $(foreach item,$(COMPONENTS_UC),$($(item)_UNINSTALL))
.PHONY: components_install components_uninstall
components_install: $(COMPONENTS_INSTALL_ALL)
components_uninstall: $(COMPONENTS_UNINSTALL_ALL)
.PHONY: components_tests
COMPONENTS_TESTS := $(foreach item,$(COMPONENTS_UC),$($(item)_TESTS))
components_tests: $(COMPONENTS_TESTS)
#------------------------------------
ifneq (,$(DEBUGMAKE))
$(info ## ==== $$rpnpy/Makefile.user.mk [END] ================================)
endif