aboutsummaryrefslogtreecommitdiff
path: root/APEX_1.4/compiler/android16/Makefile.PxFoundation.mk
blob: 46e6f3199e67ab8e11db1ac78e60d895935642a7 (plain) (blame)
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
# Makefile generated by XPJ for android16
-include Makefile.custom
ProjectName = PxFoundation
PxFoundation_cppfiles   += ./../../../PxShared/src/foundation/src/PsAllocator.cpp
PxFoundation_cppfiles   += ./../../../PxShared/src/foundation/src/PsAssert.cpp
PxFoundation_cppfiles   += ./../../../PxShared/src/foundation/src/PsFoundation.cpp
PxFoundation_cppfiles   += ./../../../PxShared/src/foundation/src/PsMathUtils.cpp
PxFoundation_cppfiles   += ./../../../PxShared/src/foundation/src/PsString.cpp
PxFoundation_cppfiles   += ./../../../PxShared/src/foundation/src/PsTempAllocator.cpp
PxFoundation_cppfiles   += ./../../../PxShared/src/foundation/src/PsUtilities.cpp
PxFoundation_cppfiles   += ./../../../PxShared/src/foundation/src/unix/PsUnixAtomic.cpp
PxFoundation_cppfiles   += ./../../../PxShared/src/foundation/src/unix/PsUnixCpu.cpp
PxFoundation_cppfiles   += ./../../../PxShared/src/foundation/src/unix/PsUnixFPU.cpp
PxFoundation_cppfiles   += ./../../../PxShared/src/foundation/src/unix/PsUnixMutex.cpp
PxFoundation_cppfiles   += ./../../../PxShared/src/foundation/src/unix/PsUnixPrintString.cpp
PxFoundation_cppfiles   += ./../../../PxShared/src/foundation/src/unix/PsUnixSList.cpp
PxFoundation_cppfiles   += ./../../../PxShared/src/foundation/src/unix/PsUnixSocket.cpp
PxFoundation_cppfiles   += ./../../../PxShared/src/foundation/src/unix/PsUnixSync.cpp
PxFoundation_cppfiles   += ./../../../PxShared/src/foundation/src/unix/PsUnixThread.cpp
PxFoundation_cppfiles   += ./../../../PxShared/src/foundation/src/unix/PsUnixTime.cpp

PxFoundation_cpp_debug_dep    = $(addprefix $(DEPSDIR)/PxFoundation/debug/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.P, $(PxFoundation_cppfiles)))))
PxFoundation_cc_debug_dep    = $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.debug.P, $(PxFoundation_ccfiles)))))
PxFoundation_c_debug_dep      = $(addprefix $(DEPSDIR)/PxFoundation/debug/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.P, $(PxFoundation_cfiles)))))
PxFoundation_debug_dep      = $(PxFoundation_cpp_debug_dep) $(PxFoundation_cc_debug_dep) $(PxFoundation_c_debug_dep)
-include $(PxFoundation_debug_dep)
PxFoundation_cpp_release_dep    = $(addprefix $(DEPSDIR)/PxFoundation/release/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.P, $(PxFoundation_cppfiles)))))
PxFoundation_cc_release_dep    = $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.release.P, $(PxFoundation_ccfiles)))))
PxFoundation_c_release_dep      = $(addprefix $(DEPSDIR)/PxFoundation/release/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.P, $(PxFoundation_cfiles)))))
PxFoundation_release_dep      = $(PxFoundation_cpp_release_dep) $(PxFoundation_cc_release_dep) $(PxFoundation_c_release_dep)
-include $(PxFoundation_release_dep)
PxFoundation_cpp_checked_dep    = $(addprefix $(DEPSDIR)/PxFoundation/checked/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.P, $(PxFoundation_cppfiles)))))
PxFoundation_cc_checked_dep    = $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.checked.P, $(PxFoundation_ccfiles)))))
PxFoundation_c_checked_dep      = $(addprefix $(DEPSDIR)/PxFoundation/checked/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.P, $(PxFoundation_cfiles)))))
PxFoundation_checked_dep      = $(PxFoundation_cpp_checked_dep) $(PxFoundation_cc_checked_dep) $(PxFoundation_c_checked_dep)
-include $(PxFoundation_checked_dep)
PxFoundation_cpp_profile_dep    = $(addprefix $(DEPSDIR)/PxFoundation/profile/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.P, $(PxFoundation_cppfiles)))))
PxFoundation_cc_profile_dep    = $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.profile.P, $(PxFoundation_ccfiles)))))
PxFoundation_c_profile_dep      = $(addprefix $(DEPSDIR)/PxFoundation/profile/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.P, $(PxFoundation_cfiles)))))
PxFoundation_profile_dep      = $(PxFoundation_cpp_profile_dep) $(PxFoundation_cc_profile_dep) $(PxFoundation_c_profile_dep)
-include $(PxFoundation_profile_dep)
PxFoundation_debug_hpaths    := 
PxFoundation_debug_hpaths    += ./../../../PxShared/include
PxFoundation_debug_hpaths    += ./../../../PxShared/src/foundation/include
PxFoundation_debug_hpaths    += ./../../../Externals/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/include
PxFoundation_debug_hpaths    += ./../../../Externals/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include
PxFoundation_debug_lpaths    := 
PxFoundation_debug_defines   := $(PxFoundation_custom_defines)
PxFoundation_debug_defines   += ANDROID
PxFoundation_debug_defines   += GLES2
PxFoundation_debug_defines   += __STDC_LIMIT_MACROS
PxFoundation_debug_defines   += __ARM_ARCH_5__
PxFoundation_debug_defines   += __ARM_ARCH_5T__
PxFoundation_debug_defines   += __ARM_ARCH_5E__
PxFoundation_debug_defines   += __ARM_ARCH_5TE__
PxFoundation_debug_defines   += PxShared_STATIC_LIB
PxFoundation_debug_defines   += _DEBUG
PxFoundation_debug_defines   += PX_DEBUG=1
PxFoundation_debug_defines   += PX_CHECKED=1
PxFoundation_debug_defines   += PX_NVTX=1
PxFoundation_debug_libraries := 
PxFoundation_debug_common_cflags	:= $(PxFoundation_custom_cflags)
PxFoundation_debug_common_cflags    += $(addprefix -D, $(PxFoundation_debug_defines))
PxFoundation_debug_common_cflags    += $(addprefix -I, $(PxFoundation_debug_hpaths))
PxFoundation_debug_common_cflags  += -Werror
PxFoundation_debug_common_cflags  += -fpic -fno-exceptions
PxFoundation_debug_common_cflags  += -isysroot ./../../../Externals/android-ndk-r9d/platforms/android-16/arch-arm
PxFoundation_debug_common_cflags  += -march=armv7-a -mfpu=neon -marm -mfloat-abi=softfp -mthumb-interwork
PxFoundation_debug_common_cflags  += -Wall -Wextra -Wpedantic -Wstrict-aliasing=2
PxFoundation_debug_common_cflags  += -Wno-maybe-uninitialized -Wno-unused-variable
PxFoundation_debug_common_cflags  += -Wno-variadic-macros
PxFoundation_debug_common_cflags  += -g3 -gdwarf-2
PxFoundation_debug_cflags	:= $(PxFoundation_debug_common_cflags)
PxFoundation_debug_cflags  += -std=c99
PxFoundation_debug_cppflags	:= $(PxFoundation_debug_common_cflags)
PxFoundation_debug_cppflags  += -fno-rtti
PxFoundation_debug_cppflags  += -Wno-invalid-offsetof
PxFoundation_debug_lflags    := $(PxFoundation_custom_lflags)
PxFoundation_debug_lflags    += $(addprefix -L, $(PxFoundation_debug_lpaths))
PxFoundation_debug_lflags    += -Wl,--start-group $(addprefix -l, $(PxFoundation_debug_libraries)) -Wl,--end-group
PxFoundation_debug_lflags  += --sysroot=./../../../Externals/android-ndk-r9d/platforms/android-16/arch-arm
PxFoundation_debug_objsdir  = $(OBJS_DIR)/PxFoundation_debug
PxFoundation_debug_cpp_o    = $(addprefix $(PxFoundation_debug_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.o, $(PxFoundation_cppfiles)))))
PxFoundation_debug_cc_o    = $(addprefix $(PxFoundation_debug_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.o, $(PxFoundation_ccfiles)))))
PxFoundation_debug_c_o      = $(addprefix $(PxFoundation_debug_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.o, $(PxFoundation_cfiles)))))
PxFoundation_debug_obj      = $(PxFoundation_debug_cpp_o) $(PxFoundation_debug_cc_o) $(PxFoundation_debug_c_o)
PxFoundation_debug_bin      := ./../../../PxShared/lib/android16/libPxFoundationDEBUG.a

clean_PxFoundation_debug: 
	@$(ECHO) clean PxFoundation debug
	@$(RMDIR) $(PxFoundation_debug_objsdir)
	@$(RMDIR) $(PxFoundation_debug_bin)
	@$(RMDIR) $(DEPSDIR)/PxFoundation/debug

build_PxFoundation_debug: postbuild_PxFoundation_debug
postbuild_PxFoundation_debug: mainbuild_PxFoundation_debug
mainbuild_PxFoundation_debug: prebuild_PxFoundation_debug $(PxFoundation_debug_bin)
prebuild_PxFoundation_debug:

$(PxFoundation_debug_bin): $(PxFoundation_debug_obj) 
	mkdir -p `dirname ./../../../PxShared/lib/android16/libPxFoundationDEBUG.a`
	@$(AR) rcs $(PxFoundation_debug_bin) $(PxFoundation_debug_obj)
	$(ECHO) building $@ complete!

PxFoundation_debug_DEPDIR = $(dir $(@))/$(*F)
$(PxFoundation_debug_cpp_o): $(PxFoundation_debug_objsdir)/%.o:
	$(ECHO) PxFoundation: compiling debug $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PxFoundation_debug_objsdir),, $@))), $(PxFoundation_cppfiles))...
	mkdir -p $(dir $(@))
	$(CXX) $(PxFoundation_debug_cppflags) -c $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PxFoundation_debug_objsdir),, $@))), $(PxFoundation_cppfiles)) -o $@
	@mkdir -p $(dir $(addprefix $(DEPSDIR)/PxFoundation/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PxFoundation_debug_objsdir),, $@))), $(PxFoundation_cppfiles))))))
	$(CXX_NOCACHE) -MM -MT '$@' $(PxFoundation_debug_cppflags) -o $(dir $(@))/$(*F).d $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PxFoundation_debug_objsdir),, $@))), $(PxFoundation_cppfiles))
	cp $(PxFoundation_debug_DEPDIR).d $(addprefix $(DEPSDIR)/PxFoundation/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PxFoundation_debug_objsdir),, $@))), $(PxFoundation_cppfiles))))).P; \
	  sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
		-e '/^$$/ d' -e 's/$$/ :/' < $(PxFoundation_debug_DEPDIR).d >> $(addprefix $(DEPSDIR)/PxFoundation/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PxFoundation_debug_objsdir),, $@))), $(PxFoundation_cppfiles))))).P; \
	  rm -f $(PxFoundation_debug_DEPDIR).d

$(PxFoundation_debug_cc_o): $(PxFoundation_debug_objsdir)/%.o:
	$(ECHO) PxFoundation: compiling debug $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PxFoundation_debug_objsdir),, $@))), $(PxFoundation_ccfiles))...
	mkdir -p $(dir $(@))
	$(CXX) $(PxFoundation_debug_cppflags) -c $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PxFoundation_debug_objsdir),, $@))), $(PxFoundation_ccfiles)) -o $@
	mkdir -p $(dir $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PxFoundation_debug_objsdir),, $@))), $(PxFoundation_ccfiles))))))
	$(CXX_NOCACHE) -MM -MT '$@' $(PxFoundation_debug_cppflags) -o $(dir $(@))/$(*F).d $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PxFoundation_debug_objsdir),, $@))), $(PxFoundation_ccfiles))
	cp $(PxFoundation_debug_DEPDIR).d $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PxFoundation_debug_objsdir),, $@))), $(PxFoundation_ccfiles))))).debug.P; \
	  sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
		-e '/^$$/ d' -e 's/$$/ :/' < $(PxFoundation_debug_DEPDIR).d >> $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PxFoundation_debug_objsdir),, $@))), $(PxFoundation_ccfiles))))).debug.P; \
	  rm -f $(PxFoundation_debug_DEPDIR).d

$(PxFoundation_debug_c_o): $(PxFoundation_debug_objsdir)/%.o:
	$(ECHO) PxFoundation: compiling debug $(filter %$(strip $(subst .c.o,.c, $(subst $(PxFoundation_debug_objsdir),, $@))), $(PxFoundation_cfiles))...
	mkdir -p $(dir $(@))
	$(CC) $(PxFoundation_debug_cflags) -c $(filter %$(strip $(subst .c.o,.c, $(subst $(PxFoundation_debug_objsdir),, $@))), $(PxFoundation_cfiles)) -o $@ 
	@mkdir -p $(dir $(addprefix $(DEPSDIR)/PxFoundation/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PxFoundation_debug_objsdir),, $@))), $(PxFoundation_cfiles))))))
	$(CC_NOCACHE) -MM -MT '$@' $(PxFoundation_debug_cflags) -o $(dir $(@))/$(*F).d $(filter %$(strip $(subst .c.o,.c, $(subst $(PxFoundation_debug_objsdir),, $@))), $(PxFoundation_cfiles))
	cp $(PxFoundation_debug_DEPDIR).d $(addprefix $(DEPSDIR)/PxFoundation/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PxFoundation_debug_objsdir),, $@))), $(PxFoundation_cfiles))))).P; \
	  sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
		-e '/^$$/ d' -e 's/$$/ :/' < $(PxFoundation_debug_DEPDIR).d >> $(addprefix $(DEPSDIR)/PxFoundation/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PxFoundation_debug_objsdir),, $@))), $(PxFoundation_cfiles))))).P; \
	  rm -f $(PxFoundation_debug_DEPDIR).d

PxFoundation_release_hpaths    := 
PxFoundation_release_hpaths    += ./../../../PxShared/include
PxFoundation_release_hpaths    += ./../../../PxShared/src/foundation/include
PxFoundation_release_hpaths    += ./../../../Externals/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/include
PxFoundation_release_hpaths    += ./../../../Externals/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include
PxFoundation_release_lpaths    := 
PxFoundation_release_defines   := $(PxFoundation_custom_defines)
PxFoundation_release_defines   += ANDROID
PxFoundation_release_defines   += GLES2
PxFoundation_release_defines   += __STDC_LIMIT_MACROS
PxFoundation_release_defines   += __ARM_ARCH_5__
PxFoundation_release_defines   += __ARM_ARCH_5T__
PxFoundation_release_defines   += __ARM_ARCH_5E__
PxFoundation_release_defines   += __ARM_ARCH_5TE__
PxFoundation_release_defines   += PxShared_STATIC_LIB
PxFoundation_release_defines   += NDEBUG
PxFoundation_release_libraries := 
PxFoundation_release_common_cflags	:= $(PxFoundation_custom_cflags)
PxFoundation_release_common_cflags    += $(addprefix -D, $(PxFoundation_release_defines))
PxFoundation_release_common_cflags    += $(addprefix -I, $(PxFoundation_release_hpaths))
PxFoundation_release_common_cflags  += -Werror
PxFoundation_release_common_cflags  += -fpic -fno-exceptions
PxFoundation_release_common_cflags  += -isysroot ./../../../Externals/android-ndk-r9d/platforms/android-16/arch-arm
PxFoundation_release_common_cflags  += -march=armv7-a -mfpu=neon -marm -mfloat-abi=softfp -mthumb-interwork
PxFoundation_release_common_cflags  += -Wall -Wextra -Wpedantic -Wstrict-aliasing=2
PxFoundation_release_common_cflags  += -Wno-maybe-uninitialized -Wno-unused-variable
PxFoundation_release_common_cflags  += -Wno-variadic-macros
PxFoundation_release_common_cflags  += -O3 -fno-strict-aliasing
PxFoundation_release_common_cflags  += -ffunction-sections -funwind-tables -fstack-protector
PxFoundation_release_common_cflags  += -fomit-frame-pointer -funswitch-loops -finline-limit=300
PxFoundation_release_cflags	:= $(PxFoundation_release_common_cflags)
PxFoundation_release_cflags  += -std=c99
PxFoundation_release_cppflags	:= $(PxFoundation_release_common_cflags)
PxFoundation_release_cppflags  += -fno-rtti
PxFoundation_release_cppflags  += -Wno-invalid-offsetof
PxFoundation_release_lflags    := $(PxFoundation_custom_lflags)
PxFoundation_release_lflags    += $(addprefix -L, $(PxFoundation_release_lpaths))
PxFoundation_release_lflags    += -Wl,--start-group $(addprefix -l, $(PxFoundation_release_libraries)) -Wl,--end-group
PxFoundation_release_lflags  += --sysroot=./../../../Externals/android-ndk-r9d/platforms/android-16/arch-arm
PxFoundation_release_objsdir  = $(OBJS_DIR)/PxFoundation_release
PxFoundation_release_cpp_o    = $(addprefix $(PxFoundation_release_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.o, $(PxFoundation_cppfiles)))))
PxFoundation_release_cc_o    = $(addprefix $(PxFoundation_release_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.o, $(PxFoundation_ccfiles)))))
PxFoundation_release_c_o      = $(addprefix $(PxFoundation_release_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.o, $(PxFoundation_cfiles)))))
PxFoundation_release_obj      = $(PxFoundation_release_cpp_o) $(PxFoundation_release_cc_o) $(PxFoundation_release_c_o)
PxFoundation_release_bin      := ./../../../PxShared/lib/android16/libPxFoundation.a

clean_PxFoundation_release: 
	@$(ECHO) clean PxFoundation release
	@$(RMDIR) $(PxFoundation_release_objsdir)
	@$(RMDIR) $(PxFoundation_release_bin)
	@$(RMDIR) $(DEPSDIR)/PxFoundation/release

build_PxFoundation_release: postbuild_PxFoundation_release
postbuild_PxFoundation_release: mainbuild_PxFoundation_release
mainbuild_PxFoundation_release: prebuild_PxFoundation_release $(PxFoundation_release_bin)
prebuild_PxFoundation_release:

$(PxFoundation_release_bin): $(PxFoundation_release_obj) 
	mkdir -p `dirname ./../../../PxShared/lib/android16/libPxFoundation.a`
	@$(AR) rcs $(PxFoundation_release_bin) $(PxFoundation_release_obj)
	$(ECHO) building $@ complete!

PxFoundation_release_DEPDIR = $(dir $(@))/$(*F)
$(PxFoundation_release_cpp_o): $(PxFoundation_release_objsdir)/%.o:
	$(ECHO) PxFoundation: compiling release $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PxFoundation_release_objsdir),, $@))), $(PxFoundation_cppfiles))...
	mkdir -p $(dir $(@))
	$(CXX) $(PxFoundation_release_cppflags) -c $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PxFoundation_release_objsdir),, $@))), $(PxFoundation_cppfiles)) -o $@
	@mkdir -p $(dir $(addprefix $(DEPSDIR)/PxFoundation/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PxFoundation_release_objsdir),, $@))), $(PxFoundation_cppfiles))))))
	$(CXX_NOCACHE) -MM -MT '$@' $(PxFoundation_release_cppflags) -o $(dir $(@))/$(*F).d $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PxFoundation_release_objsdir),, $@))), $(PxFoundation_cppfiles))
	cp $(PxFoundation_release_DEPDIR).d $(addprefix $(DEPSDIR)/PxFoundation/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PxFoundation_release_objsdir),, $@))), $(PxFoundation_cppfiles))))).P; \
	  sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
		-e '/^$$/ d' -e 's/$$/ :/' < $(PxFoundation_release_DEPDIR).d >> $(addprefix $(DEPSDIR)/PxFoundation/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PxFoundation_release_objsdir),, $@))), $(PxFoundation_cppfiles))))).P; \
	  rm -f $(PxFoundation_release_DEPDIR).d

$(PxFoundation_release_cc_o): $(PxFoundation_release_objsdir)/%.o:
	$(ECHO) PxFoundation: compiling release $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PxFoundation_release_objsdir),, $@))), $(PxFoundation_ccfiles))...
	mkdir -p $(dir $(@))
	$(CXX) $(PxFoundation_release_cppflags) -c $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PxFoundation_release_objsdir),, $@))), $(PxFoundation_ccfiles)) -o $@
	mkdir -p $(dir $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PxFoundation_release_objsdir),, $@))), $(PxFoundation_ccfiles))))))
	$(CXX_NOCACHE) -MM -MT '$@' $(PxFoundation_release_cppflags) -o $(dir $(@))/$(*F).d $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PxFoundation_release_objsdir),, $@))), $(PxFoundation_ccfiles))
	cp $(PxFoundation_release_DEPDIR).d $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PxFoundation_release_objsdir),, $@))), $(PxFoundation_ccfiles))))).release.P; \
	  sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
		-e '/^$$/ d' -e 's/$$/ :/' < $(PxFoundation_release_DEPDIR).d >> $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PxFoundation_release_objsdir),, $@))), $(PxFoundation_ccfiles))))).release.P; \
	  rm -f $(PxFoundation_release_DEPDIR).d

$(PxFoundation_release_c_o): $(PxFoundation_release_objsdir)/%.o:
	$(ECHO) PxFoundation: compiling release $(filter %$(strip $(subst .c.o,.c, $(subst $(PxFoundation_release_objsdir),, $@))), $(PxFoundation_cfiles))...
	mkdir -p $(dir $(@))
	$(CC) $(PxFoundation_release_cflags) -c $(filter %$(strip $(subst .c.o,.c, $(subst $(PxFoundation_release_objsdir),, $@))), $(PxFoundation_cfiles)) -o $@ 
	@mkdir -p $(dir $(addprefix $(DEPSDIR)/PxFoundation/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PxFoundation_release_objsdir),, $@))), $(PxFoundation_cfiles))))))
	$(CC_NOCACHE) -MM -MT '$@' $(PxFoundation_release_cflags) -o $(dir $(@))/$(*F).d $(filter %$(strip $(subst .c.o,.c, $(subst $(PxFoundation_release_objsdir),, $@))), $(PxFoundation_cfiles))
	cp $(PxFoundation_release_DEPDIR).d $(addprefix $(DEPSDIR)/PxFoundation/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PxFoundation_release_objsdir),, $@))), $(PxFoundation_cfiles))))).P; \
	  sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
		-e '/^$$/ d' -e 's/$$/ :/' < $(PxFoundation_release_DEPDIR).d >> $(addprefix $(DEPSDIR)/PxFoundation/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PxFoundation_release_objsdir),, $@))), $(PxFoundation_cfiles))))).P; \
	  rm -f $(PxFoundation_release_DEPDIR).d

PxFoundation_checked_hpaths    := 
PxFoundation_checked_hpaths    += ./../../../PxShared/include
PxFoundation_checked_hpaths    += ./../../../PxShared/src/foundation/include
PxFoundation_checked_hpaths    += ./../../../Externals/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/include
PxFoundation_checked_hpaths    += ./../../../Externals/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include
PxFoundation_checked_lpaths    := 
PxFoundation_checked_defines   := $(PxFoundation_custom_defines)
PxFoundation_checked_defines   += ANDROID
PxFoundation_checked_defines   += GLES2
PxFoundation_checked_defines   += __STDC_LIMIT_MACROS
PxFoundation_checked_defines   += __ARM_ARCH_5__
PxFoundation_checked_defines   += __ARM_ARCH_5T__
PxFoundation_checked_defines   += __ARM_ARCH_5E__
PxFoundation_checked_defines   += __ARM_ARCH_5TE__
PxFoundation_checked_defines   += PxShared_STATIC_LIB
PxFoundation_checked_defines   += NDEBUG
PxFoundation_checked_defines   += PX_CHECKED=1
PxFoundation_checked_defines   += PX_NVTX=1
PxFoundation_checked_libraries := 
PxFoundation_checked_common_cflags	:= $(PxFoundation_custom_cflags)
PxFoundation_checked_common_cflags    += $(addprefix -D, $(PxFoundation_checked_defines))
PxFoundation_checked_common_cflags    += $(addprefix -I, $(PxFoundation_checked_hpaths))
PxFoundation_checked_common_cflags  += -Werror
PxFoundation_checked_common_cflags  += -fpic -fno-exceptions
PxFoundation_checked_common_cflags  += -isysroot ./../../../Externals/android-ndk-r9d/platforms/android-16/arch-arm
PxFoundation_checked_common_cflags  += -march=armv7-a -mfpu=neon -marm -mfloat-abi=softfp -mthumb-interwork
PxFoundation_checked_common_cflags  += -Wall -Wextra -Wpedantic -Wstrict-aliasing=2
PxFoundation_checked_common_cflags  += -Wno-maybe-uninitialized -Wno-unused-variable
PxFoundation_checked_common_cflags  += -Wno-variadic-macros
PxFoundation_checked_common_cflags  += -g3 -gdwarf-2 -O3 -fno-strict-aliasing
PxFoundation_checked_common_cflags  += -ffunction-sections -funwind-tables -fstack-protector
PxFoundation_checked_common_cflags  += -fomit-frame-pointer -funswitch-loops -finline-limit=300
PxFoundation_checked_cflags	:= $(PxFoundation_checked_common_cflags)
PxFoundation_checked_cflags  += -std=c99
PxFoundation_checked_cppflags	:= $(PxFoundation_checked_common_cflags)
PxFoundation_checked_cppflags  += -fno-rtti
PxFoundation_checked_cppflags  += -Wno-invalid-offsetof
PxFoundation_checked_lflags    := $(PxFoundation_custom_lflags)
PxFoundation_checked_lflags    += $(addprefix -L, $(PxFoundation_checked_lpaths))
PxFoundation_checked_lflags    += -Wl,--start-group $(addprefix -l, $(PxFoundation_checked_libraries)) -Wl,--end-group
PxFoundation_checked_lflags  += --sysroot=./../../../Externals/android-ndk-r9d/platforms/android-16/arch-arm
PxFoundation_checked_objsdir  = $(OBJS_DIR)/PxFoundation_checked
PxFoundation_checked_cpp_o    = $(addprefix $(PxFoundation_checked_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.o, $(PxFoundation_cppfiles)))))
PxFoundation_checked_cc_o    = $(addprefix $(PxFoundation_checked_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.o, $(PxFoundation_ccfiles)))))
PxFoundation_checked_c_o      = $(addprefix $(PxFoundation_checked_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.o, $(PxFoundation_cfiles)))))
PxFoundation_checked_obj      = $(PxFoundation_checked_cpp_o) $(PxFoundation_checked_cc_o) $(PxFoundation_checked_c_o)
PxFoundation_checked_bin      := ./../../../PxShared/lib/android16/libPxFoundationCHECKED.a

clean_PxFoundation_checked: 
	@$(ECHO) clean PxFoundation checked
	@$(RMDIR) $(PxFoundation_checked_objsdir)
	@$(RMDIR) $(PxFoundation_checked_bin)
	@$(RMDIR) $(DEPSDIR)/PxFoundation/checked

build_PxFoundation_checked: postbuild_PxFoundation_checked
postbuild_PxFoundation_checked: mainbuild_PxFoundation_checked
mainbuild_PxFoundation_checked: prebuild_PxFoundation_checked $(PxFoundation_checked_bin)
prebuild_PxFoundation_checked:

$(PxFoundation_checked_bin): $(PxFoundation_checked_obj) 
	mkdir -p `dirname ./../../../PxShared/lib/android16/libPxFoundationCHECKED.a`
	@$(AR) rcs $(PxFoundation_checked_bin) $(PxFoundation_checked_obj)
	$(ECHO) building $@ complete!

PxFoundation_checked_DEPDIR = $(dir $(@))/$(*F)
$(PxFoundation_checked_cpp_o): $(PxFoundation_checked_objsdir)/%.o:
	$(ECHO) PxFoundation: compiling checked $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PxFoundation_checked_objsdir),, $@))), $(PxFoundation_cppfiles))...
	mkdir -p $(dir $(@))
	$(CXX) $(PxFoundation_checked_cppflags) -c $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PxFoundation_checked_objsdir),, $@))), $(PxFoundation_cppfiles)) -o $@
	@mkdir -p $(dir $(addprefix $(DEPSDIR)/PxFoundation/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PxFoundation_checked_objsdir),, $@))), $(PxFoundation_cppfiles))))))
	$(CXX_NOCACHE) -MM -MT '$@' $(PxFoundation_checked_cppflags) -o $(dir $(@))/$(*F).d $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PxFoundation_checked_objsdir),, $@))), $(PxFoundation_cppfiles))
	cp $(PxFoundation_checked_DEPDIR).d $(addprefix $(DEPSDIR)/PxFoundation/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PxFoundation_checked_objsdir),, $@))), $(PxFoundation_cppfiles))))).P; \
	  sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
		-e '/^$$/ d' -e 's/$$/ :/' < $(PxFoundation_checked_DEPDIR).d >> $(addprefix $(DEPSDIR)/PxFoundation/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PxFoundation_checked_objsdir),, $@))), $(PxFoundation_cppfiles))))).P; \
	  rm -f $(PxFoundation_checked_DEPDIR).d

$(PxFoundation_checked_cc_o): $(PxFoundation_checked_objsdir)/%.o:
	$(ECHO) PxFoundation: compiling checked $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PxFoundation_checked_objsdir),, $@))), $(PxFoundation_ccfiles))...
	mkdir -p $(dir $(@))
	$(CXX) $(PxFoundation_checked_cppflags) -c $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PxFoundation_checked_objsdir),, $@))), $(PxFoundation_ccfiles)) -o $@
	mkdir -p $(dir $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PxFoundation_checked_objsdir),, $@))), $(PxFoundation_ccfiles))))))
	$(CXX_NOCACHE) -MM -MT '$@' $(PxFoundation_checked_cppflags) -o $(dir $(@))/$(*F).d $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PxFoundation_checked_objsdir),, $@))), $(PxFoundation_ccfiles))
	cp $(PxFoundation_checked_DEPDIR).d $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PxFoundation_checked_objsdir),, $@))), $(PxFoundation_ccfiles))))).checked.P; \
	  sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
		-e '/^$$/ d' -e 's/$$/ :/' < $(PxFoundation_checked_DEPDIR).d >> $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PxFoundation_checked_objsdir),, $@))), $(PxFoundation_ccfiles))))).checked.P; \
	  rm -f $(PxFoundation_checked_DEPDIR).d

$(PxFoundation_checked_c_o): $(PxFoundation_checked_objsdir)/%.o:
	$(ECHO) PxFoundation: compiling checked $(filter %$(strip $(subst .c.o,.c, $(subst $(PxFoundation_checked_objsdir),, $@))), $(PxFoundation_cfiles))...
	mkdir -p $(dir $(@))
	$(CC) $(PxFoundation_checked_cflags) -c $(filter %$(strip $(subst .c.o,.c, $(subst $(PxFoundation_checked_objsdir),, $@))), $(PxFoundation_cfiles)) -o $@ 
	@mkdir -p $(dir $(addprefix $(DEPSDIR)/PxFoundation/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PxFoundation_checked_objsdir),, $@))), $(PxFoundation_cfiles))))))
	$(CC_NOCACHE) -MM -MT '$@' $(PxFoundation_checked_cflags) -o $(dir $(@))/$(*F).d $(filter %$(strip $(subst .c.o,.c, $(subst $(PxFoundation_checked_objsdir),, $@))), $(PxFoundation_cfiles))
	cp $(PxFoundation_checked_DEPDIR).d $(addprefix $(DEPSDIR)/PxFoundation/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PxFoundation_checked_objsdir),, $@))), $(PxFoundation_cfiles))))).P; \
	  sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
		-e '/^$$/ d' -e 's/$$/ :/' < $(PxFoundation_checked_DEPDIR).d >> $(addprefix $(DEPSDIR)/PxFoundation/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PxFoundation_checked_objsdir),, $@))), $(PxFoundation_cfiles))))).P; \
	  rm -f $(PxFoundation_checked_DEPDIR).d

PxFoundation_profile_hpaths    := 
PxFoundation_profile_hpaths    += ./../../../PxShared/include
PxFoundation_profile_hpaths    += ./../../../PxShared/src/foundation/include
PxFoundation_profile_hpaths    += ./../../../Externals/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/include
PxFoundation_profile_hpaths    += ./../../../Externals/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include
PxFoundation_profile_lpaths    := 
PxFoundation_profile_defines   := $(PxFoundation_custom_defines)
PxFoundation_profile_defines   += ANDROID
PxFoundation_profile_defines   += GLES2
PxFoundation_profile_defines   += __STDC_LIMIT_MACROS
PxFoundation_profile_defines   += __ARM_ARCH_5__
PxFoundation_profile_defines   += __ARM_ARCH_5T__
PxFoundation_profile_defines   += __ARM_ARCH_5E__
PxFoundation_profile_defines   += __ARM_ARCH_5TE__
PxFoundation_profile_defines   += PxShared_STATIC_LIB
PxFoundation_profile_defines   += NDEBUG
PxFoundation_profile_defines   += PX_PROFILE=1
PxFoundation_profile_defines   += PX_NVTX=1
PxFoundation_profile_libraries := 
PxFoundation_profile_common_cflags	:= $(PxFoundation_custom_cflags)
PxFoundation_profile_common_cflags    += $(addprefix -D, $(PxFoundation_profile_defines))
PxFoundation_profile_common_cflags    += $(addprefix -I, $(PxFoundation_profile_hpaths))
PxFoundation_profile_common_cflags  += -Werror
PxFoundation_profile_common_cflags  += -fpic -fno-exceptions
PxFoundation_profile_common_cflags  += -isysroot ./../../../Externals/android-ndk-r9d/platforms/android-16/arch-arm
PxFoundation_profile_common_cflags  += -march=armv7-a -mfpu=neon -marm -mfloat-abi=softfp -mthumb-interwork
PxFoundation_profile_common_cflags  += -Wall -Wextra -Wpedantic -Wstrict-aliasing=2
PxFoundation_profile_common_cflags  += -Wno-maybe-uninitialized -Wno-unused-variable
PxFoundation_profile_common_cflags  += -Wno-variadic-macros
PxFoundation_profile_common_cflags  += -O3 -fno-strict-aliasing
PxFoundation_profile_common_cflags  += -ffunction-sections -funwind-tables -fstack-protector
PxFoundation_profile_common_cflags  += -fno-omit-frame-pointer -funswitch-loops -finline-limit=300
PxFoundation_profile_cflags	:= $(PxFoundation_profile_common_cflags)
PxFoundation_profile_cflags  += -std=c99
PxFoundation_profile_cppflags	:= $(PxFoundation_profile_common_cflags)
PxFoundation_profile_cppflags  += -fno-rtti
PxFoundation_profile_cppflags  += -Wno-invalid-offsetof
PxFoundation_profile_lflags    := $(PxFoundation_custom_lflags)
PxFoundation_profile_lflags    += $(addprefix -L, $(PxFoundation_profile_lpaths))
PxFoundation_profile_lflags    += -Wl,--start-group $(addprefix -l, $(PxFoundation_profile_libraries)) -Wl,--end-group
PxFoundation_profile_lflags  += --sysroot=./../../../Externals/android-ndk-r9d/platforms/android-16/arch-arm
PxFoundation_profile_objsdir  = $(OBJS_DIR)/PxFoundation_profile
PxFoundation_profile_cpp_o    = $(addprefix $(PxFoundation_profile_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.o, $(PxFoundation_cppfiles)))))
PxFoundation_profile_cc_o    = $(addprefix $(PxFoundation_profile_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.o, $(PxFoundation_ccfiles)))))
PxFoundation_profile_c_o      = $(addprefix $(PxFoundation_profile_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.o, $(PxFoundation_cfiles)))))
PxFoundation_profile_obj      = $(PxFoundation_profile_cpp_o) $(PxFoundation_profile_cc_o) $(PxFoundation_profile_c_o)
PxFoundation_profile_bin      := ./../../../PxShared/lib/android16/libPxFoundationPROFILE.a

clean_PxFoundation_profile: 
	@$(ECHO) clean PxFoundation profile
	@$(RMDIR) $(PxFoundation_profile_objsdir)
	@$(RMDIR) $(PxFoundation_profile_bin)
	@$(RMDIR) $(DEPSDIR)/PxFoundation/profile

build_PxFoundation_profile: postbuild_PxFoundation_profile
postbuild_PxFoundation_profile: mainbuild_PxFoundation_profile
mainbuild_PxFoundation_profile: prebuild_PxFoundation_profile $(PxFoundation_profile_bin)
prebuild_PxFoundation_profile:

$(PxFoundation_profile_bin): $(PxFoundation_profile_obj) 
	mkdir -p `dirname ./../../../PxShared/lib/android16/libPxFoundationPROFILE.a`
	@$(AR) rcs $(PxFoundation_profile_bin) $(PxFoundation_profile_obj)
	$(ECHO) building $@ complete!

PxFoundation_profile_DEPDIR = $(dir $(@))/$(*F)
$(PxFoundation_profile_cpp_o): $(PxFoundation_profile_objsdir)/%.o:
	$(ECHO) PxFoundation: compiling profile $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PxFoundation_profile_objsdir),, $@))), $(PxFoundation_cppfiles))...
	mkdir -p $(dir $(@))
	$(CXX) $(PxFoundation_profile_cppflags) -c $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PxFoundation_profile_objsdir),, $@))), $(PxFoundation_cppfiles)) -o $@
	@mkdir -p $(dir $(addprefix $(DEPSDIR)/PxFoundation/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PxFoundation_profile_objsdir),, $@))), $(PxFoundation_cppfiles))))))
	$(CXX_NOCACHE) -MM -MT '$@' $(PxFoundation_profile_cppflags) -o $(dir $(@))/$(*F).d $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PxFoundation_profile_objsdir),, $@))), $(PxFoundation_cppfiles))
	cp $(PxFoundation_profile_DEPDIR).d $(addprefix $(DEPSDIR)/PxFoundation/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PxFoundation_profile_objsdir),, $@))), $(PxFoundation_cppfiles))))).P; \
	  sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
		-e '/^$$/ d' -e 's/$$/ :/' < $(PxFoundation_profile_DEPDIR).d >> $(addprefix $(DEPSDIR)/PxFoundation/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PxFoundation_profile_objsdir),, $@))), $(PxFoundation_cppfiles))))).P; \
	  rm -f $(PxFoundation_profile_DEPDIR).d

$(PxFoundation_profile_cc_o): $(PxFoundation_profile_objsdir)/%.o:
	$(ECHO) PxFoundation: compiling profile $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PxFoundation_profile_objsdir),, $@))), $(PxFoundation_ccfiles))...
	mkdir -p $(dir $(@))
	$(CXX) $(PxFoundation_profile_cppflags) -c $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PxFoundation_profile_objsdir),, $@))), $(PxFoundation_ccfiles)) -o $@
	mkdir -p $(dir $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PxFoundation_profile_objsdir),, $@))), $(PxFoundation_ccfiles))))))
	$(CXX_NOCACHE) -MM -MT '$@' $(PxFoundation_profile_cppflags) -o $(dir $(@))/$(*F).d $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PxFoundation_profile_objsdir),, $@))), $(PxFoundation_ccfiles))
	cp $(PxFoundation_profile_DEPDIR).d $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PxFoundation_profile_objsdir),, $@))), $(PxFoundation_ccfiles))))).profile.P; \
	  sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
		-e '/^$$/ d' -e 's/$$/ :/' < $(PxFoundation_profile_DEPDIR).d >> $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PxFoundation_profile_objsdir),, $@))), $(PxFoundation_ccfiles))))).profile.P; \
	  rm -f $(PxFoundation_profile_DEPDIR).d

$(PxFoundation_profile_c_o): $(PxFoundation_profile_objsdir)/%.o:
	$(ECHO) PxFoundation: compiling profile $(filter %$(strip $(subst .c.o,.c, $(subst $(PxFoundation_profile_objsdir),, $@))), $(PxFoundation_cfiles))...
	mkdir -p $(dir $(@))
	$(CC) $(PxFoundation_profile_cflags) -c $(filter %$(strip $(subst .c.o,.c, $(subst $(PxFoundation_profile_objsdir),, $@))), $(PxFoundation_cfiles)) -o $@ 
	@mkdir -p $(dir $(addprefix $(DEPSDIR)/PxFoundation/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PxFoundation_profile_objsdir),, $@))), $(PxFoundation_cfiles))))))
	$(CC_NOCACHE) -MM -MT '$@' $(PxFoundation_profile_cflags) -o $(dir $(@))/$(*F).d $(filter %$(strip $(subst .c.o,.c, $(subst $(PxFoundation_profile_objsdir),, $@))), $(PxFoundation_cfiles))
	cp $(PxFoundation_profile_DEPDIR).d $(addprefix $(DEPSDIR)/PxFoundation/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PxFoundation_profile_objsdir),, $@))), $(PxFoundation_cfiles))))).P; \
	  sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
		-e '/^$$/ d' -e 's/$$/ :/' < $(PxFoundation_profile_DEPDIR).d >> $(addprefix $(DEPSDIR)/PxFoundation/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PxFoundation_profile_objsdir),, $@))), $(PxFoundation_cfiles))))).P; \
	  rm -f $(PxFoundation_profile_DEPDIR).d

clean_PxFoundation:  clean_PxFoundation_debug clean_PxFoundation_release clean_PxFoundation_checked clean_PxFoundation_profile
	rm -rf $(DEPSDIR)

export VERBOSE
ifndef VERBOSE
.SILENT:
endif