PRSDK-2194: Added Rule.make for Post application make files
[keystone-rtos/mcsdk-tools.git] / post / evmk2h / build / makefile
1 ################################################################################
2 # Automatically-generated file. Do not edit!
3 ################################################################################
5 ifeq ($(RULES_MAKE), )
6 include $(PDK_INSTALL_PATH)/ti/build/Rules.make
7 else
8 include $(RULES_MAKE)
9 endif
11 CG_TOOL_ROOT = $(C6X_GEN_INSTALL_PATH)
13 ORDERED_OBJS += \
14 "./src/c6678.obj" \
15 "./src/cpdma.obj" \
16 "./src/gmacsl.obj" \
17 "./src/pa.obj" \
18 "./src/post.obj" \
19 "./src/psc.obj" \
20 "./src/qm.obj" \
21 "../post.cmd" \
22 $(GEN_CMDS__FLAG) \
23 -l"ti.platform.evmk2h.lite.lib" \
24 -l"ti.csl.ae66" \
25 -l"libc.a" \
27 -include ../makefile.init
29 RM = rm -f
30 RMDIR = rm -rf
31 MKDIR = mkdir -p
33 # All of the sources participating in the build are defined here
34 -include sources.mk
35 -include subdir_vars.mk
36 -include src/subdir_vars.mk
37 -include subdir_rules.mk
38 -include src/subdir_rules.mk
39 -include objects.mk
41 ifneq ($(MAKECMDGOALS),clean)
42 ifneq ($(strip $(S_DEPS)),)
43 -include $(S_DEPS)
44 endif
45 ifneq ($(strip $(S_UPPER_DEPS)),)
46 -include $(S_UPPER_DEPS)
47 endif
48 ifneq ($(strip $(S62_DEPS)),)
49 -include $(S62_DEPS)
50 endif
51 ifneq ($(strip $(C64_DEPS)),)
52 -include $(C64_DEPS)
53 endif
54 ifneq ($(strip $(ASM_DEPS)),)
55 -include $(ASM_DEPS)
56 endif
57 ifneq ($(strip $(CC_DEPS)),)
58 -include $(CC_DEPS)
59 endif
60 ifneq ($(strip $(S55_DEPS)),)
61 -include $(S55_DEPS)
62 endif
63 ifneq ($(strip $(C67_DEPS)),)
64 -include $(C67_DEPS)
65 endif
66 ifneq ($(strip $(CLA_DEPS)),)
67 -include $(CLA_DEPS)
68 endif
69 ifneq ($(strip $(C??_DEPS)),)
70 -include $(C??_DEPS)
71 endif
72 ifneq ($(strip $(CPP_DEPS)),)
73 -include $(CPP_DEPS)
74 endif
75 ifneq ($(strip $(S??_DEPS)),)
76 -include $(S??_DEPS)
77 endif
78 ifneq ($(strip $(C_DEPS)),)
79 -include $(C_DEPS)
80 endif
81 ifneq ($(strip $(C62_DEPS)),)
82 -include $(C62_DEPS)
83 endif
84 ifneq ($(strip $(CXX_DEPS)),)
85 -include $(CXX_DEPS)
86 endif
87 ifneq ($(strip $(C++_DEPS)),)
88 -include $(C++_DEPS)
89 endif
90 ifneq ($(strip $(ASM_UPPER_DEPS)),)
91 -include $(ASM_UPPER_DEPS)
92 endif
93 ifneq ($(strip $(K_DEPS)),)
94 -include $(K_DEPS)
95 endif
96 ifneq ($(strip $(C43_DEPS)),)
97 -include $(C43_DEPS)
98 endif
99 ifneq ($(strip $(INO_DEPS)),)
100 -include $(INO_DEPS)
101 endif
102 ifneq ($(strip $(S67_DEPS)),)
103 -include $(S67_DEPS)
104 endif
105 ifneq ($(strip $(SA_DEPS)),)
106 -include $(SA_DEPS)
107 endif
108 ifneq ($(strip $(S43_DEPS)),)
109 -include $(S43_DEPS)
110 endif
111 ifneq ($(strip $(OPT_DEPS)),)
112 -include $(OPT_DEPS)
113 endif
114 ifneq ($(strip $(PDE_DEPS)),)
115 -include $(PDE_DEPS)
116 endif
117 ifneq ($(strip $(S64_DEPS)),)
118 -include $(S64_DEPS)
119 endif
120 ifneq ($(strip $(C_UPPER_DEPS)),)
121 -include $(C_UPPER_DEPS)
122 endif
123 ifneq ($(strip $(C55_DEPS)),)
124 -include $(C55_DEPS)
125 endif
126 endif
128 -include ../makefile.defs
130 # Add inputs and outputs from these tool invocations to the build variables 
131 EXE_OUTPUTS += \
132 ../bin/post_evmk2h.out \
134 EXE_OUTPUTS__QUOTED += \
135 "../bin/post_evmk2h.out" \
138 # All Target
139 all: ../bin/post_evmk2h.out
141 # Tool invocations
142 ../bin/post_evmk2h.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
143         @echo 'Building target: $@'
144         @echo 'Invoking: C6000 Linker'
145         @$(MKDIR) ../bin
146         "$(CG_TOOL_ROOT)/bin/cl6x" -mv6600 --abi=eabi -g --define=SOC_K2H --display_error_number --diag_warning=225 -z -m"../bin/post_evmk2h.map" -i"$(CG_TOOL_ROOT)/lib" -i"$(CG_TOOL_ROOT)/include" -i"$(PDK_INSTALL_PATH)/ti/platform/evmk2h/platform_lib/lib/debug" -i"$(PDK_INSTALL_PATH)/ti/csl/lib/k2h/c66/release" --reread_libs --warn_sections --xml_link_info="../bin/post_evmk2h_linkInfo.xml" --rom_model -o "../bin/post_evmk2h.out" $(ORDERED_OBJS)
147         @echo 'Finished building target: $@'
148         @echo ' '
150 # Other Targets
151 clean:
152         -$(RM) $(EXE_OUTPUTS__QUOTED)
153         -$(RM) "src/c6678.pp" "src/cpdma.pp" "src/gmacsl.pp" "src/pa.pp" "src/post.pp" "src/psc.pp" "src/qm.pp" 
154         -$(RM) "src/c6678.obj" "src/cpdma.obj" "src/gmacsl.obj" "src/pa.obj" "src/post.obj" "src/psc.obj" "src/qm.obj" 
155         -@echo 'Finished clean'
156         -@echo ' '
158 .PHONY: all clean dependents
159 .SECONDARY:
161 -include ../makefile.targets