diff options
| author | git perforce import user <a@b> | 2016-10-25 12:29:14 -0600 |
|---|---|---|
| committer | Sheikh Dawood Abdul Ajees <Sheikh Dawood Abdul Ajees> | 2016-10-25 18:56:37 -0500 |
| commit | 3dfe2108cfab31ba3ee5527e217d0d8e99a51162 (patch) | |
| tree | fa6485c169e50d7415a651bf838f5bcd0fd3bfbd /PhysX_3.4/Snippets/compiler/android16/Makefile.SnippetCustomProfiler.mk | |
| download | physx-3.4-3dfe2108cfab31ba3ee5527e217d0d8e99a51162.tar.xz physx-3.4-3dfe2108cfab31ba3ee5527e217d0d8e99a51162.zip | |
Initial commit:
PhysX 3.4.0 Update @ 21294896
APEX 1.4.0 Update @ 21275617
[CL 21300167]
Diffstat (limited to 'PhysX_3.4/Snippets/compiler/android16/Makefile.SnippetCustomProfiler.mk')
| -rw-r--r-- | PhysX_3.4/Snippets/compiler/android16/Makefile.SnippetCustomProfiler.mk | 523 |
1 files changed, 523 insertions, 0 deletions
diff --git a/PhysX_3.4/Snippets/compiler/android16/Makefile.SnippetCustomProfiler.mk b/PhysX_3.4/Snippets/compiler/android16/Makefile.SnippetCustomProfiler.mk new file mode 100644 index 00000000..a793a152 --- /dev/null +++ b/PhysX_3.4/Snippets/compiler/android16/Makefile.SnippetCustomProfiler.mk @@ -0,0 +1,523 @@ +# Makefile generated by XPJ for android16 +-include Makefile.custom +ProjectName = SnippetCustomProfiler +SnippetCustomProfiler_cppfiles += ./../../SnippetCommon/ClassicMain.cpp +SnippetCustomProfiler_cppfiles += ./../../SnippetCustomProfiler/SnippetCustomProfiler.cpp +SnippetCustomProfiler_cppfiles += ./../../SnippetCustomProfiler/SnippetCustomProfilerRender.cpp + +SnippetCustomProfiler_cpp_debug_dep = $(addprefix $(DEPSDIR)/SnippetCustomProfiler/debug/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.P, $(SnippetCustomProfiler_cppfiles))))) +SnippetCustomProfiler_cc_debug_dep = $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.debug.P, $(SnippetCustomProfiler_ccfiles))))) +SnippetCustomProfiler_c_debug_dep = $(addprefix $(DEPSDIR)/SnippetCustomProfiler/debug/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.P, $(SnippetCustomProfiler_cfiles))))) +SnippetCustomProfiler_debug_dep = $(SnippetCustomProfiler_cpp_debug_dep) $(SnippetCustomProfiler_cc_debug_dep) $(SnippetCustomProfiler_c_debug_dep) +-include $(SnippetCustomProfiler_debug_dep) +SnippetCustomProfiler_cpp_checked_dep = $(addprefix $(DEPSDIR)/SnippetCustomProfiler/checked/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.P, $(SnippetCustomProfiler_cppfiles))))) +SnippetCustomProfiler_cc_checked_dep = $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.checked.P, $(SnippetCustomProfiler_ccfiles))))) +SnippetCustomProfiler_c_checked_dep = $(addprefix $(DEPSDIR)/SnippetCustomProfiler/checked/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.P, $(SnippetCustomProfiler_cfiles))))) +SnippetCustomProfiler_checked_dep = $(SnippetCustomProfiler_cpp_checked_dep) $(SnippetCustomProfiler_cc_checked_dep) $(SnippetCustomProfiler_c_checked_dep) +-include $(SnippetCustomProfiler_checked_dep) +SnippetCustomProfiler_cpp_profile_dep = $(addprefix $(DEPSDIR)/SnippetCustomProfiler/profile/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.P, $(SnippetCustomProfiler_cppfiles))))) +SnippetCustomProfiler_cc_profile_dep = $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.profile.P, $(SnippetCustomProfiler_ccfiles))))) +SnippetCustomProfiler_c_profile_dep = $(addprefix $(DEPSDIR)/SnippetCustomProfiler/profile/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.P, $(SnippetCustomProfiler_cfiles))))) +SnippetCustomProfiler_profile_dep = $(SnippetCustomProfiler_cpp_profile_dep) $(SnippetCustomProfiler_cc_profile_dep) $(SnippetCustomProfiler_c_profile_dep) +-include $(SnippetCustomProfiler_profile_dep) +SnippetCustomProfiler_cpp_release_dep = $(addprefix $(DEPSDIR)/SnippetCustomProfiler/release/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.P, $(SnippetCustomProfiler_cppfiles))))) +SnippetCustomProfiler_cc_release_dep = $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.release.P, $(SnippetCustomProfiler_ccfiles))))) +SnippetCustomProfiler_c_release_dep = $(addprefix $(DEPSDIR)/SnippetCustomProfiler/release/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.P, $(SnippetCustomProfiler_cfiles))))) +SnippetCustomProfiler_release_dep = $(SnippetCustomProfiler_cpp_release_dep) $(SnippetCustomProfiler_cc_release_dep) $(SnippetCustomProfiler_c_release_dep) +-include $(SnippetCustomProfiler_release_dep) +SnippetCustomProfiler_debug_hpaths := +SnippetCustomProfiler_debug_hpaths += ./../../../Include +SnippetCustomProfiler_debug_hpaths += ./../../../../PxShared/include +SnippetCustomProfiler_debug_hpaths += ./../../../../PxShared/src/foundation/include +SnippetCustomProfiler_debug_hpaths += ./../../../../PxShared/src/fastxml/include +SnippetCustomProfiler_debug_hpaths += ./../../../../Externals/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/include +SnippetCustomProfiler_debug_hpaths += ./../../../../Externals/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include +SnippetCustomProfiler_debug_lpaths := +SnippetCustomProfiler_debug_lpaths += ./../../../../Externals/nvToolsExt/1/lib/armv7 +SnippetCustomProfiler_debug_lpaths += ./../../../Lib/android16 +SnippetCustomProfiler_debug_lpaths += ./../../lib/android16 +SnippetCustomProfiler_debug_lpaths += ./../../../../PxShared/lib/android16 +SnippetCustomProfiler_debug_lpaths += ./../../lib/android16 +SnippetCustomProfiler_debug_defines := $(SnippetCustomProfiler_custom_defines) +SnippetCustomProfiler_debug_defines += ANDROID +SnippetCustomProfiler_debug_defines += GLES2 +SnippetCustomProfiler_debug_defines += __STDC_LIMIT_MACROS +SnippetCustomProfiler_debug_defines += __ARM_ARCH_5__ +SnippetCustomProfiler_debug_defines += __ARM_ARCH_5T__ +SnippetCustomProfiler_debug_defines += __ARM_ARCH_5E__ +SnippetCustomProfiler_debug_defines += __ARM_ARCH_5TE__ +SnippetCustomProfiler_debug_defines += _DEBUG +SnippetCustomProfiler_debug_defines += PX_DEBUG=1 +SnippetCustomProfiler_debug_defines += PX_CHECKED=1 +SnippetCustomProfiler_debug_defines += PX_SUPPORT_PVD=1 +SnippetCustomProfiler_debug_defines += PX_NVTX=1 +SnippetCustomProfiler_debug_defines += PHYSX_PROFILE_SDK +SnippetCustomProfiler_debug_libraries := +SnippetCustomProfiler_debug_libraries += SnippetUtilsDEBUG +SnippetCustomProfiler_debug_libraries += log +SnippetCustomProfiler_debug_libraries += gnustl_static +SnippetCustomProfiler_debug_libraries += supc++ +SnippetCustomProfiler_debug_libraries += m +SnippetCustomProfiler_debug_libraries += c +SnippetCustomProfiler_debug_libraries += nvToolsExt +SnippetCustomProfiler_debug_libraries += PhysX3CommonDEBUG +SnippetCustomProfiler_debug_libraries += PhysX3DEBUG +SnippetCustomProfiler_debug_libraries += PhysX3VehicleDEBUG +SnippetCustomProfiler_debug_libraries += PhysX3CookingDEBUG +SnippetCustomProfiler_debug_libraries += PhysX3ExtensionsDEBUG +SnippetCustomProfiler_debug_libraries += PhysX3CharacterKinematicDEBUG +SnippetCustomProfiler_debug_libraries += SnippetUtilsDEBUG +SnippetCustomProfiler_debug_libraries += PxFoundationDEBUG +SnippetCustomProfiler_debug_libraries += PsFastXmlDEBUG +SnippetCustomProfiler_debug_libraries += PxPvdSDKDEBUG +SnippetCustomProfiler_debug_common_cflags := $(SnippetCustomProfiler_custom_cflags) +SnippetCustomProfiler_debug_common_cflags += -MMD +SnippetCustomProfiler_debug_common_cflags += $(addprefix -D, $(SnippetCustomProfiler_debug_defines)) +SnippetCustomProfiler_debug_common_cflags += $(addprefix -I, $(SnippetCustomProfiler_debug_hpaths)) +SnippetCustomProfiler_debug_common_cflags += -Werror +SnippetCustomProfiler_debug_common_cflags += -fpic -fno-exceptions +SnippetCustomProfiler_debug_common_cflags += -isysroot ../../../../Externals/android-ndk-r9d/platforms/android-16/arch-arm +SnippetCustomProfiler_debug_common_cflags += -march=armv7-a -mfpu=neon -marm -mfloat-abi=softfp -mthumb-interwork +SnippetCustomProfiler_debug_common_cflags += -Wall -Wextra -Wpedantic -Wstrict-aliasing=2 +SnippetCustomProfiler_debug_common_cflags += -Wno-maybe-uninitialized +SnippetCustomProfiler_debug_common_cflags += -Wno-pedantic +SnippetCustomProfiler_debug_common_cflags += -fPIE +SnippetCustomProfiler_debug_common_cflags += -g3 -gdwarf-2 +SnippetCustomProfiler_debug_cflags := $(SnippetCustomProfiler_debug_common_cflags) +SnippetCustomProfiler_debug_cppflags := $(SnippetCustomProfiler_debug_common_cflags) +SnippetCustomProfiler_debug_cppflags += -fno-rtti +SnippetCustomProfiler_debug_lflags := $(SnippetCustomProfiler_custom_lflags) +SnippetCustomProfiler_debug_lflags += $(addprefix -L, $(SnippetCustomProfiler_debug_lpaths)) +SnippetCustomProfiler_debug_lflags += -Wl,--start-group $(addprefix -l, $(SnippetCustomProfiler_debug_libraries)) -Wl,--end-group +SnippetCustomProfiler_debug_lflags += --sysroot=../../../../Externals/android-ndk-r9d/platforms/android-16/arch-arm +SnippetCustomProfiler_debug_lflags += -Wl,--no-undefined +SnippetCustomProfiler_debug_lflags += -Wl,-z,noexecstack -L../../../../Externals/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a -Wl,-rpath-link=../../../../Externals/android-ndk-r9d/platforms/android-16/arch-arm/usr/lib +SnippetCustomProfiler_debug_lflags += -pie +SnippetCustomProfiler_debug_objsdir = $(OBJS_DIR)/SnippetCustomProfiler_debug +SnippetCustomProfiler_debug_cpp_o = $(addprefix $(SnippetCustomProfiler_debug_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.o, $(SnippetCustomProfiler_cppfiles))))) +SnippetCustomProfiler_debug_cc_o = $(addprefix $(SnippetCustomProfiler_debug_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.o, $(SnippetCustomProfiler_ccfiles))))) +SnippetCustomProfiler_debug_c_o = $(addprefix $(SnippetCustomProfiler_debug_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.o, $(SnippetCustomProfiler_cfiles))))) +SnippetCustomProfiler_debug_obj = $(SnippetCustomProfiler_debug_cpp_o) $(SnippetCustomProfiler_debug_cc_o) $(SnippetCustomProfiler_debug_c_o) +SnippetCustomProfiler_debug_bin := ./../../../Bin/android16/SnippetCustomProfilerDEBUG + +clean_SnippetCustomProfiler_debug: + @$(ECHO) clean SnippetCustomProfiler debug + @$(RMDIR) $(SnippetCustomProfiler_debug_objsdir) + @$(RMDIR) $(SnippetCustomProfiler_debug_bin) + @$(RMDIR) $(DEPSDIR)/SnippetCustomProfiler/debug + +build_SnippetCustomProfiler_debug: postbuild_SnippetCustomProfiler_debug +postbuild_SnippetCustomProfiler_debug: mainbuild_SnippetCustomProfiler_debug +mainbuild_SnippetCustomProfiler_debug: prebuild_SnippetCustomProfiler_debug $(SnippetCustomProfiler_debug_bin) +prebuild_SnippetCustomProfiler_debug: + +$(SnippetCustomProfiler_debug_bin): $(SnippetCustomProfiler_debug_obj) build_SnippetUtils_debug + mkdir -p `dirname ./../../../Bin/android16/SnippetCustomProfilerDEBUG` + $(CCLD) $(SnippetCustomProfiler_debug_obj) $(SnippetCustomProfiler_debug_lflags) -o $(SnippetCustomProfiler_debug_bin) + $(ECHO) building $@ complete! + +SnippetCustomProfiler_debug_DEPDIR = $(dir $(@))/$(*F) +$(SnippetCustomProfiler_debug_cpp_o): $(SnippetCustomProfiler_debug_objsdir)/%.o: + $(ECHO) SnippetCustomProfiler: compiling debug $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles))... + mkdir -p $(dir $(@)) + $(CXX) $(SnippetCustomProfiler_debug_cppflags) -c $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles)) -o $@ + @mkdir -p $(dir $(addprefix $(DEPSDIR)/SnippetCustomProfiler/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles)))))) + cp $(SnippetCustomProfiler_debug_DEPDIR).d $(addprefix $(DEPSDIR)/SnippetCustomProfiler/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles))))).P; \ + sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ + -e '/^$$/ d' -e 's/$$/ :/' < $(SnippetCustomProfiler_debug_DEPDIR).d >> $(addprefix $(DEPSDIR)/SnippetCustomProfiler/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles))))).P; \ + rm -f $(SnippetCustomProfiler_debug_DEPDIR).d + +$(SnippetCustomProfiler_debug_cc_o): $(SnippetCustomProfiler_debug_objsdir)/%.o: + $(ECHO) SnippetCustomProfiler: compiling debug $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles))... + mkdir -p $(dir $(@)) + $(CXX) $(SnippetCustomProfiler_debug_cppflags) -c $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles)) -o $@ + mkdir -p $(dir $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles)))))) + cp $(SnippetCustomProfiler_debug_DEPDIR).d $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles))))).debug.P; \ + sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ + -e '/^$$/ d' -e 's/$$/ :/' < $(SnippetCustomProfiler_debug_DEPDIR).d >> $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles))))).debug.P; \ + rm -f $(SnippetCustomProfiler_debug_DEPDIR).d + +$(SnippetCustomProfiler_debug_c_o): $(SnippetCustomProfiler_debug_objsdir)/%.o: + $(ECHO) SnippetCustomProfiler: compiling debug $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_cfiles))... + mkdir -p $(dir $(@)) + $(CC) $(SnippetCustomProfiler_debug_cflags) -c $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_cfiles)) -o $@ + @mkdir -p $(dir $(addprefix $(DEPSDIR)/SnippetCustomProfiler/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_cfiles)))))) + cp $(SnippetCustomProfiler_debug_DEPDIR).d $(addprefix $(DEPSDIR)/SnippetCustomProfiler/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_cfiles))))).P; \ + sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ + -e '/^$$/ d' -e 's/$$/ :/' < $(SnippetCustomProfiler_debug_DEPDIR).d >> $(addprefix $(DEPSDIR)/SnippetCustomProfiler/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_debug_objsdir),, $@))), $(SnippetCustomProfiler_cfiles))))).P; \ + rm -f $(SnippetCustomProfiler_debug_DEPDIR).d + +SnippetCustomProfiler_checked_hpaths := +SnippetCustomProfiler_checked_hpaths += ./../../../Include +SnippetCustomProfiler_checked_hpaths += ./../../../../PxShared/include +SnippetCustomProfiler_checked_hpaths += ./../../../../PxShared/src/foundation/include +SnippetCustomProfiler_checked_hpaths += ./../../../../PxShared/src/fastxml/include +SnippetCustomProfiler_checked_hpaths += ./../../../../Externals/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/include +SnippetCustomProfiler_checked_hpaths += ./../../../../Externals/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include +SnippetCustomProfiler_checked_lpaths := +SnippetCustomProfiler_checked_lpaths += ./../../../../Externals/nvToolsExt/1/lib/armv7 +SnippetCustomProfiler_checked_lpaths += ./../../../Lib/android16 +SnippetCustomProfiler_checked_lpaths += ./../../lib/android16 +SnippetCustomProfiler_checked_lpaths += ./../../../../PxShared/lib/android16 +SnippetCustomProfiler_checked_lpaths += ./../../lib/android16 +SnippetCustomProfiler_checked_defines := $(SnippetCustomProfiler_custom_defines) +SnippetCustomProfiler_checked_defines += ANDROID +SnippetCustomProfiler_checked_defines += GLES2 +SnippetCustomProfiler_checked_defines += __STDC_LIMIT_MACROS +SnippetCustomProfiler_checked_defines += __ARM_ARCH_5__ +SnippetCustomProfiler_checked_defines += __ARM_ARCH_5T__ +SnippetCustomProfiler_checked_defines += __ARM_ARCH_5E__ +SnippetCustomProfiler_checked_defines += __ARM_ARCH_5TE__ +SnippetCustomProfiler_checked_defines += NDEBUG +SnippetCustomProfiler_checked_defines += PX_CHECKED=1 +SnippetCustomProfiler_checked_defines += PX_SUPPORT_PVD=1 +SnippetCustomProfiler_checked_defines += PX_NVTX=1 +SnippetCustomProfiler_checked_defines += PHYSX_PROFILE_SDK +SnippetCustomProfiler_checked_libraries := +SnippetCustomProfiler_checked_libraries += SnippetUtilsCHECKED +SnippetCustomProfiler_checked_libraries += log +SnippetCustomProfiler_checked_libraries += gnustl_static +SnippetCustomProfiler_checked_libraries += supc++ +SnippetCustomProfiler_checked_libraries += m +SnippetCustomProfiler_checked_libraries += c +SnippetCustomProfiler_checked_libraries += nvToolsExt +SnippetCustomProfiler_checked_libraries += PhysX3CommonCHECKED +SnippetCustomProfiler_checked_libraries += PhysX3CHECKED +SnippetCustomProfiler_checked_libraries += PhysX3VehicleCHECKED +SnippetCustomProfiler_checked_libraries += PhysX3CookingCHECKED +SnippetCustomProfiler_checked_libraries += PhysX3ExtensionsCHECKED +SnippetCustomProfiler_checked_libraries += PhysX3CharacterKinematicCHECKED +SnippetCustomProfiler_checked_libraries += SnippetUtilsCHECKED +SnippetCustomProfiler_checked_libraries += PxFoundationCHECKED +SnippetCustomProfiler_checked_libraries += PsFastXmlCHECKED +SnippetCustomProfiler_checked_libraries += PxPvdSDKCHECKED +SnippetCustomProfiler_checked_common_cflags := $(SnippetCustomProfiler_custom_cflags) +SnippetCustomProfiler_checked_common_cflags += -MMD +SnippetCustomProfiler_checked_common_cflags += $(addprefix -D, $(SnippetCustomProfiler_checked_defines)) +SnippetCustomProfiler_checked_common_cflags += $(addprefix -I, $(SnippetCustomProfiler_checked_hpaths)) +SnippetCustomProfiler_checked_common_cflags += -Werror +SnippetCustomProfiler_checked_common_cflags += -fpic -fno-exceptions +SnippetCustomProfiler_checked_common_cflags += -isysroot ../../../../Externals/android-ndk-r9d/platforms/android-16/arch-arm +SnippetCustomProfiler_checked_common_cflags += -march=armv7-a -mfpu=neon -marm -mfloat-abi=softfp -mthumb-interwork +SnippetCustomProfiler_checked_common_cflags += -Wall -Wextra -Wpedantic -Wstrict-aliasing=2 +SnippetCustomProfiler_checked_common_cflags += -Wno-maybe-uninitialized +SnippetCustomProfiler_checked_common_cflags += -Wno-pedantic +SnippetCustomProfiler_checked_common_cflags += -fPIE +SnippetCustomProfiler_checked_common_cflags += -g3 -gdwarf-2 -O3 -fno-strict-aliasing +SnippetCustomProfiler_checked_common_cflags += -ffunction-sections -funwind-tables -fstack-protector +SnippetCustomProfiler_checked_common_cflags += -fomit-frame-pointer -funswitch-loops -finline-limit=300 +SnippetCustomProfiler_checked_cflags := $(SnippetCustomProfiler_checked_common_cflags) +SnippetCustomProfiler_checked_cppflags := $(SnippetCustomProfiler_checked_common_cflags) +SnippetCustomProfiler_checked_cppflags += -fno-rtti +SnippetCustomProfiler_checked_lflags := $(SnippetCustomProfiler_custom_lflags) +SnippetCustomProfiler_checked_lflags += $(addprefix -L, $(SnippetCustomProfiler_checked_lpaths)) +SnippetCustomProfiler_checked_lflags += -Wl,--start-group $(addprefix -l, $(SnippetCustomProfiler_checked_libraries)) -Wl,--end-group +SnippetCustomProfiler_checked_lflags += --sysroot=../../../../Externals/android-ndk-r9d/platforms/android-16/arch-arm +SnippetCustomProfiler_checked_lflags += -Wl,--no-undefined +SnippetCustomProfiler_checked_lflags += -Wl,-z,noexecstack -L../../../../Externals/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a -Wl,-rpath-link=../../../../Externals/android-ndk-r9d/platforms/android-16/arch-arm/usr/lib +SnippetCustomProfiler_checked_lflags += -pie +SnippetCustomProfiler_checked_objsdir = $(OBJS_DIR)/SnippetCustomProfiler_checked +SnippetCustomProfiler_checked_cpp_o = $(addprefix $(SnippetCustomProfiler_checked_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.o, $(SnippetCustomProfiler_cppfiles))))) +SnippetCustomProfiler_checked_cc_o = $(addprefix $(SnippetCustomProfiler_checked_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.o, $(SnippetCustomProfiler_ccfiles))))) +SnippetCustomProfiler_checked_c_o = $(addprefix $(SnippetCustomProfiler_checked_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.o, $(SnippetCustomProfiler_cfiles))))) +SnippetCustomProfiler_checked_obj = $(SnippetCustomProfiler_checked_cpp_o) $(SnippetCustomProfiler_checked_cc_o) $(SnippetCustomProfiler_checked_c_o) +SnippetCustomProfiler_checked_bin := ./../../../Bin/android16/SnippetCustomProfilerCHECKED + +clean_SnippetCustomProfiler_checked: + @$(ECHO) clean SnippetCustomProfiler checked + @$(RMDIR) $(SnippetCustomProfiler_checked_objsdir) + @$(RMDIR) $(SnippetCustomProfiler_checked_bin) + @$(RMDIR) $(DEPSDIR)/SnippetCustomProfiler/checked + +build_SnippetCustomProfiler_checked: postbuild_SnippetCustomProfiler_checked +postbuild_SnippetCustomProfiler_checked: mainbuild_SnippetCustomProfiler_checked +mainbuild_SnippetCustomProfiler_checked: prebuild_SnippetCustomProfiler_checked $(SnippetCustomProfiler_checked_bin) +prebuild_SnippetCustomProfiler_checked: + +$(SnippetCustomProfiler_checked_bin): $(SnippetCustomProfiler_checked_obj) build_SnippetUtils_checked + mkdir -p `dirname ./../../../Bin/android16/SnippetCustomProfilerCHECKED` + $(CCLD) $(SnippetCustomProfiler_checked_obj) $(SnippetCustomProfiler_checked_lflags) -o $(SnippetCustomProfiler_checked_bin) + $(ECHO) building $@ complete! + +SnippetCustomProfiler_checked_DEPDIR = $(dir $(@))/$(*F) +$(SnippetCustomProfiler_checked_cpp_o): $(SnippetCustomProfiler_checked_objsdir)/%.o: + $(ECHO) SnippetCustomProfiler: compiling checked $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles))... + mkdir -p $(dir $(@)) + $(CXX) $(SnippetCustomProfiler_checked_cppflags) -c $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles)) -o $@ + @mkdir -p $(dir $(addprefix $(DEPSDIR)/SnippetCustomProfiler/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles)))))) + cp $(SnippetCustomProfiler_checked_DEPDIR).d $(addprefix $(DEPSDIR)/SnippetCustomProfiler/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles))))).P; \ + sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ + -e '/^$$/ d' -e 's/$$/ :/' < $(SnippetCustomProfiler_checked_DEPDIR).d >> $(addprefix $(DEPSDIR)/SnippetCustomProfiler/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles))))).P; \ + rm -f $(SnippetCustomProfiler_checked_DEPDIR).d + +$(SnippetCustomProfiler_checked_cc_o): $(SnippetCustomProfiler_checked_objsdir)/%.o: + $(ECHO) SnippetCustomProfiler: compiling checked $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles))... + mkdir -p $(dir $(@)) + $(CXX) $(SnippetCustomProfiler_checked_cppflags) -c $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles)) -o $@ + mkdir -p $(dir $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles)))))) + cp $(SnippetCustomProfiler_checked_DEPDIR).d $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles))))).checked.P; \ + sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ + -e '/^$$/ d' -e 's/$$/ :/' < $(SnippetCustomProfiler_checked_DEPDIR).d >> $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles))))).checked.P; \ + rm -f $(SnippetCustomProfiler_checked_DEPDIR).d + +$(SnippetCustomProfiler_checked_c_o): $(SnippetCustomProfiler_checked_objsdir)/%.o: + $(ECHO) SnippetCustomProfiler: compiling checked $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_cfiles))... + mkdir -p $(dir $(@)) + $(CC) $(SnippetCustomProfiler_checked_cflags) -c $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_cfiles)) -o $@ + @mkdir -p $(dir $(addprefix $(DEPSDIR)/SnippetCustomProfiler/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_cfiles)))))) + cp $(SnippetCustomProfiler_checked_DEPDIR).d $(addprefix $(DEPSDIR)/SnippetCustomProfiler/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_cfiles))))).P; \ + sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ + -e '/^$$/ d' -e 's/$$/ :/' < $(SnippetCustomProfiler_checked_DEPDIR).d >> $(addprefix $(DEPSDIR)/SnippetCustomProfiler/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_checked_objsdir),, $@))), $(SnippetCustomProfiler_cfiles))))).P; \ + rm -f $(SnippetCustomProfiler_checked_DEPDIR).d + +SnippetCustomProfiler_profile_hpaths := +SnippetCustomProfiler_profile_hpaths += ./../../../Include +SnippetCustomProfiler_profile_hpaths += ./../../../../PxShared/include +SnippetCustomProfiler_profile_hpaths += ./../../../../PxShared/src/foundation/include +SnippetCustomProfiler_profile_hpaths += ./../../../../PxShared/src/fastxml/include +SnippetCustomProfiler_profile_hpaths += ./../../../../Externals/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/include +SnippetCustomProfiler_profile_hpaths += ./../../../../Externals/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include +SnippetCustomProfiler_profile_lpaths := +SnippetCustomProfiler_profile_lpaths += ./../../../../Externals/nvToolsExt/1/lib/armv7 +SnippetCustomProfiler_profile_lpaths += ./../../../Lib/android16 +SnippetCustomProfiler_profile_lpaths += ./../../lib/android16 +SnippetCustomProfiler_profile_lpaths += ./../../../../PxShared/lib/android16 +SnippetCustomProfiler_profile_lpaths += ./../../lib/android16 +SnippetCustomProfiler_profile_defines := $(SnippetCustomProfiler_custom_defines) +SnippetCustomProfiler_profile_defines += ANDROID +SnippetCustomProfiler_profile_defines += GLES2 +SnippetCustomProfiler_profile_defines += __STDC_LIMIT_MACROS +SnippetCustomProfiler_profile_defines += __ARM_ARCH_5__ +SnippetCustomProfiler_profile_defines += __ARM_ARCH_5T__ +SnippetCustomProfiler_profile_defines += __ARM_ARCH_5E__ +SnippetCustomProfiler_profile_defines += __ARM_ARCH_5TE__ +SnippetCustomProfiler_profile_defines += NDEBUG +SnippetCustomProfiler_profile_defines += PX_PROFILE=1 +SnippetCustomProfiler_profile_defines += PX_SUPPORT_PVD=1 +SnippetCustomProfiler_profile_defines += PX_NVTX=1 +SnippetCustomProfiler_profile_defines += PHYSX_PROFILE_SDK +SnippetCustomProfiler_profile_libraries := +SnippetCustomProfiler_profile_libraries += SnippetUtilsPROFILE +SnippetCustomProfiler_profile_libraries += log +SnippetCustomProfiler_profile_libraries += gnustl_static +SnippetCustomProfiler_profile_libraries += supc++ +SnippetCustomProfiler_profile_libraries += m +SnippetCustomProfiler_profile_libraries += c +SnippetCustomProfiler_profile_libraries += nvToolsExt +SnippetCustomProfiler_profile_libraries += PhysX3CommonPROFILE +SnippetCustomProfiler_profile_libraries += PhysX3PROFILE +SnippetCustomProfiler_profile_libraries += PhysX3VehiclePROFILE +SnippetCustomProfiler_profile_libraries += PhysX3CookingPROFILE +SnippetCustomProfiler_profile_libraries += PhysX3ExtensionsPROFILE +SnippetCustomProfiler_profile_libraries += PhysX3CharacterKinematicPROFILE +SnippetCustomProfiler_profile_libraries += SnippetUtilsPROFILE +SnippetCustomProfiler_profile_libraries += PxFoundationPROFILE +SnippetCustomProfiler_profile_libraries += PsFastXmlPROFILE +SnippetCustomProfiler_profile_libraries += PxPvdSDKPROFILE +SnippetCustomProfiler_profile_common_cflags := $(SnippetCustomProfiler_custom_cflags) +SnippetCustomProfiler_profile_common_cflags += -MMD +SnippetCustomProfiler_profile_common_cflags += $(addprefix -D, $(SnippetCustomProfiler_profile_defines)) +SnippetCustomProfiler_profile_common_cflags += $(addprefix -I, $(SnippetCustomProfiler_profile_hpaths)) +SnippetCustomProfiler_profile_common_cflags += -Werror +SnippetCustomProfiler_profile_common_cflags += -fpic -fno-exceptions +SnippetCustomProfiler_profile_common_cflags += -isysroot ../../../../Externals/android-ndk-r9d/platforms/android-16/arch-arm +SnippetCustomProfiler_profile_common_cflags += -march=armv7-a -mfpu=neon -marm -mfloat-abi=softfp -mthumb-interwork +SnippetCustomProfiler_profile_common_cflags += -Wall -Wextra -Wpedantic -Wstrict-aliasing=2 +SnippetCustomProfiler_profile_common_cflags += -Wno-maybe-uninitialized +SnippetCustomProfiler_profile_common_cflags += -Wno-pedantic +SnippetCustomProfiler_profile_common_cflags += -fPIE +SnippetCustomProfiler_profile_common_cflags += -O3 -fno-strict-aliasing +SnippetCustomProfiler_profile_common_cflags += -ffunction-sections -funwind-tables -fstack-protector +SnippetCustomProfiler_profile_common_cflags += -fno-omit-frame-pointer -funswitch-loops -finline-limit=300 +SnippetCustomProfiler_profile_cflags := $(SnippetCustomProfiler_profile_common_cflags) +SnippetCustomProfiler_profile_cppflags := $(SnippetCustomProfiler_profile_common_cflags) +SnippetCustomProfiler_profile_cppflags += -fno-rtti +SnippetCustomProfiler_profile_lflags := $(SnippetCustomProfiler_custom_lflags) +SnippetCustomProfiler_profile_lflags += $(addprefix -L, $(SnippetCustomProfiler_profile_lpaths)) +SnippetCustomProfiler_profile_lflags += -Wl,--start-group $(addprefix -l, $(SnippetCustomProfiler_profile_libraries)) -Wl,--end-group +SnippetCustomProfiler_profile_lflags += --sysroot=../../../../Externals/android-ndk-r9d/platforms/android-16/arch-arm +SnippetCustomProfiler_profile_lflags += -Wl,--no-undefined +SnippetCustomProfiler_profile_lflags += -Wl,-z,noexecstack -L../../../../Externals/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a -Wl,-rpath-link=../../../../Externals/android-ndk-r9d/platforms/android-16/arch-arm/usr/lib +SnippetCustomProfiler_profile_lflags += -pie +SnippetCustomProfiler_profile_objsdir = $(OBJS_DIR)/SnippetCustomProfiler_profile +SnippetCustomProfiler_profile_cpp_o = $(addprefix $(SnippetCustomProfiler_profile_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.o, $(SnippetCustomProfiler_cppfiles))))) +SnippetCustomProfiler_profile_cc_o = $(addprefix $(SnippetCustomProfiler_profile_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.o, $(SnippetCustomProfiler_ccfiles))))) +SnippetCustomProfiler_profile_c_o = $(addprefix $(SnippetCustomProfiler_profile_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.o, $(SnippetCustomProfiler_cfiles))))) +SnippetCustomProfiler_profile_obj = $(SnippetCustomProfiler_profile_cpp_o) $(SnippetCustomProfiler_profile_cc_o) $(SnippetCustomProfiler_profile_c_o) +SnippetCustomProfiler_profile_bin := ./../../../Bin/android16/SnippetCustomProfilerPROFILE + +clean_SnippetCustomProfiler_profile: + @$(ECHO) clean SnippetCustomProfiler profile + @$(RMDIR) $(SnippetCustomProfiler_profile_objsdir) + @$(RMDIR) $(SnippetCustomProfiler_profile_bin) + @$(RMDIR) $(DEPSDIR)/SnippetCustomProfiler/profile + +build_SnippetCustomProfiler_profile: postbuild_SnippetCustomProfiler_profile +postbuild_SnippetCustomProfiler_profile: mainbuild_SnippetCustomProfiler_profile +mainbuild_SnippetCustomProfiler_profile: prebuild_SnippetCustomProfiler_profile $(SnippetCustomProfiler_profile_bin) +prebuild_SnippetCustomProfiler_profile: + +$(SnippetCustomProfiler_profile_bin): $(SnippetCustomProfiler_profile_obj) build_SnippetUtils_profile + mkdir -p `dirname ./../../../Bin/android16/SnippetCustomProfilerPROFILE` + $(CCLD) $(SnippetCustomProfiler_profile_obj) $(SnippetCustomProfiler_profile_lflags) -o $(SnippetCustomProfiler_profile_bin) + $(ECHO) building $@ complete! + +SnippetCustomProfiler_profile_DEPDIR = $(dir $(@))/$(*F) +$(SnippetCustomProfiler_profile_cpp_o): $(SnippetCustomProfiler_profile_objsdir)/%.o: + $(ECHO) SnippetCustomProfiler: compiling profile $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles))... + mkdir -p $(dir $(@)) + $(CXX) $(SnippetCustomProfiler_profile_cppflags) -c $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles)) -o $@ + @mkdir -p $(dir $(addprefix $(DEPSDIR)/SnippetCustomProfiler/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles)))))) + cp $(SnippetCustomProfiler_profile_DEPDIR).d $(addprefix $(DEPSDIR)/SnippetCustomProfiler/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles))))).P; \ + sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ + -e '/^$$/ d' -e 's/$$/ :/' < $(SnippetCustomProfiler_profile_DEPDIR).d >> $(addprefix $(DEPSDIR)/SnippetCustomProfiler/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles))))).P; \ + rm -f $(SnippetCustomProfiler_profile_DEPDIR).d + +$(SnippetCustomProfiler_profile_cc_o): $(SnippetCustomProfiler_profile_objsdir)/%.o: + $(ECHO) SnippetCustomProfiler: compiling profile $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles))... + mkdir -p $(dir $(@)) + $(CXX) $(SnippetCustomProfiler_profile_cppflags) -c $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles)) -o $@ + mkdir -p $(dir $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles)))))) + cp $(SnippetCustomProfiler_profile_DEPDIR).d $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles))))).profile.P; \ + sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ + -e '/^$$/ d' -e 's/$$/ :/' < $(SnippetCustomProfiler_profile_DEPDIR).d >> $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles))))).profile.P; \ + rm -f $(SnippetCustomProfiler_profile_DEPDIR).d + +$(SnippetCustomProfiler_profile_c_o): $(SnippetCustomProfiler_profile_objsdir)/%.o: + $(ECHO) SnippetCustomProfiler: compiling profile $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_cfiles))... + mkdir -p $(dir $(@)) + $(CC) $(SnippetCustomProfiler_profile_cflags) -c $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_cfiles)) -o $@ + @mkdir -p $(dir $(addprefix $(DEPSDIR)/SnippetCustomProfiler/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_cfiles)))))) + cp $(SnippetCustomProfiler_profile_DEPDIR).d $(addprefix $(DEPSDIR)/SnippetCustomProfiler/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_cfiles))))).P; \ + sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ + -e '/^$$/ d' -e 's/$$/ :/' < $(SnippetCustomProfiler_profile_DEPDIR).d >> $(addprefix $(DEPSDIR)/SnippetCustomProfiler/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_profile_objsdir),, $@))), $(SnippetCustomProfiler_cfiles))))).P; \ + rm -f $(SnippetCustomProfiler_profile_DEPDIR).d + +SnippetCustomProfiler_release_hpaths := +SnippetCustomProfiler_release_hpaths += ./../../../Include +SnippetCustomProfiler_release_hpaths += ./../../../../PxShared/include +SnippetCustomProfiler_release_hpaths += ./../../../../PxShared/src/foundation/include +SnippetCustomProfiler_release_hpaths += ./../../../../PxShared/src/fastxml/include +SnippetCustomProfiler_release_hpaths += ./../../../../Externals/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/include +SnippetCustomProfiler_release_hpaths += ./../../../../Externals/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include +SnippetCustomProfiler_release_lpaths := +SnippetCustomProfiler_release_lpaths += ./../../../../Externals/nvToolsExt/1/lib/armv7 +SnippetCustomProfiler_release_lpaths += ./../../../Lib/android16 +SnippetCustomProfiler_release_lpaths += ./../../lib/android16 +SnippetCustomProfiler_release_lpaths += ./../../../../PxShared/lib/android16 +SnippetCustomProfiler_release_lpaths += ./../../lib/android16 +SnippetCustomProfiler_release_defines := $(SnippetCustomProfiler_custom_defines) +SnippetCustomProfiler_release_defines += ANDROID +SnippetCustomProfiler_release_defines += GLES2 +SnippetCustomProfiler_release_defines += __STDC_LIMIT_MACROS +SnippetCustomProfiler_release_defines += __ARM_ARCH_5__ +SnippetCustomProfiler_release_defines += __ARM_ARCH_5T__ +SnippetCustomProfiler_release_defines += __ARM_ARCH_5E__ +SnippetCustomProfiler_release_defines += __ARM_ARCH_5TE__ +SnippetCustomProfiler_release_defines += NDEBUG +SnippetCustomProfiler_release_defines += PX_SUPPORT_PVD=0 +SnippetCustomProfiler_release_defines += PHYSX_PROFILE_SDK +SnippetCustomProfiler_release_libraries := +SnippetCustomProfiler_release_libraries += SnippetUtils +SnippetCustomProfiler_release_libraries += log +SnippetCustomProfiler_release_libraries += gnustl_static +SnippetCustomProfiler_release_libraries += supc++ +SnippetCustomProfiler_release_libraries += m +SnippetCustomProfiler_release_libraries += c +SnippetCustomProfiler_release_libraries += nvToolsExt +SnippetCustomProfiler_release_libraries += PhysX3Common +SnippetCustomProfiler_release_libraries += PhysX3 +SnippetCustomProfiler_release_libraries += PhysX3Vehicle +SnippetCustomProfiler_release_libraries += PhysX3Cooking +SnippetCustomProfiler_release_libraries += PhysX3Extensions +SnippetCustomProfiler_release_libraries += PhysX3CharacterKinematic +SnippetCustomProfiler_release_libraries += SnippetUtils +SnippetCustomProfiler_release_libraries += PxFoundation +SnippetCustomProfiler_release_libraries += PsFastXml +SnippetCustomProfiler_release_libraries += PxPvdSDK +SnippetCustomProfiler_release_common_cflags := $(SnippetCustomProfiler_custom_cflags) +SnippetCustomProfiler_release_common_cflags += -MMD +SnippetCustomProfiler_release_common_cflags += $(addprefix -D, $(SnippetCustomProfiler_release_defines)) +SnippetCustomProfiler_release_common_cflags += $(addprefix -I, $(SnippetCustomProfiler_release_hpaths)) +SnippetCustomProfiler_release_common_cflags += -Werror +SnippetCustomProfiler_release_common_cflags += -fpic -fno-exceptions +SnippetCustomProfiler_release_common_cflags += -isysroot ../../../../Externals/android-ndk-r9d/platforms/android-16/arch-arm +SnippetCustomProfiler_release_common_cflags += -march=armv7-a -mfpu=neon -marm -mfloat-abi=softfp -mthumb-interwork +SnippetCustomProfiler_release_common_cflags += -Wall -Wextra -Wpedantic -Wstrict-aliasing=2 +SnippetCustomProfiler_release_common_cflags += -Wno-maybe-uninitialized +SnippetCustomProfiler_release_common_cflags += -Wno-pedantic +SnippetCustomProfiler_release_common_cflags += -fPIE +SnippetCustomProfiler_release_common_cflags += -O3 -fno-strict-aliasing +SnippetCustomProfiler_release_common_cflags += -ffunction-sections -funwind-tables -fstack-protector +SnippetCustomProfiler_release_common_cflags += -fomit-frame-pointer -funswitch-loops -finline-limit=300 +SnippetCustomProfiler_release_cflags := $(SnippetCustomProfiler_release_common_cflags) +SnippetCustomProfiler_release_cppflags := $(SnippetCustomProfiler_release_common_cflags) +SnippetCustomProfiler_release_cppflags += -fno-rtti +SnippetCustomProfiler_release_lflags := $(SnippetCustomProfiler_custom_lflags) +SnippetCustomProfiler_release_lflags += $(addprefix -L, $(SnippetCustomProfiler_release_lpaths)) +SnippetCustomProfiler_release_lflags += -Wl,--start-group $(addprefix -l, $(SnippetCustomProfiler_release_libraries)) -Wl,--end-group +SnippetCustomProfiler_release_lflags += --sysroot=../../../../Externals/android-ndk-r9d/platforms/android-16/arch-arm +SnippetCustomProfiler_release_lflags += -Wl,--no-undefined +SnippetCustomProfiler_release_lflags += -Wl,-z,noexecstack -L../../../../Externals/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a -Wl,-rpath-link=../../../../Externals/android-ndk-r9d/platforms/android-16/arch-arm/usr/lib +SnippetCustomProfiler_release_lflags += -pie +SnippetCustomProfiler_release_objsdir = $(OBJS_DIR)/SnippetCustomProfiler_release +SnippetCustomProfiler_release_cpp_o = $(addprefix $(SnippetCustomProfiler_release_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.o, $(SnippetCustomProfiler_cppfiles))))) +SnippetCustomProfiler_release_cc_o = $(addprefix $(SnippetCustomProfiler_release_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.o, $(SnippetCustomProfiler_ccfiles))))) +SnippetCustomProfiler_release_c_o = $(addprefix $(SnippetCustomProfiler_release_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.o, $(SnippetCustomProfiler_cfiles))))) +SnippetCustomProfiler_release_obj = $(SnippetCustomProfiler_release_cpp_o) $(SnippetCustomProfiler_release_cc_o) $(SnippetCustomProfiler_release_c_o) +SnippetCustomProfiler_release_bin := ./../../../Bin/android16/SnippetCustomProfiler + +clean_SnippetCustomProfiler_release: + @$(ECHO) clean SnippetCustomProfiler release + @$(RMDIR) $(SnippetCustomProfiler_release_objsdir) + @$(RMDIR) $(SnippetCustomProfiler_release_bin) + @$(RMDIR) $(DEPSDIR)/SnippetCustomProfiler/release + +build_SnippetCustomProfiler_release: postbuild_SnippetCustomProfiler_release +postbuild_SnippetCustomProfiler_release: mainbuild_SnippetCustomProfiler_release +mainbuild_SnippetCustomProfiler_release: prebuild_SnippetCustomProfiler_release $(SnippetCustomProfiler_release_bin) +prebuild_SnippetCustomProfiler_release: + +$(SnippetCustomProfiler_release_bin): $(SnippetCustomProfiler_release_obj) build_SnippetUtils_release + mkdir -p `dirname ./../../../Bin/android16/SnippetCustomProfiler` + $(CCLD) $(SnippetCustomProfiler_release_obj) $(SnippetCustomProfiler_release_lflags) -o $(SnippetCustomProfiler_release_bin) + $(ECHO) building $@ complete! + +SnippetCustomProfiler_release_DEPDIR = $(dir $(@))/$(*F) +$(SnippetCustomProfiler_release_cpp_o): $(SnippetCustomProfiler_release_objsdir)/%.o: + $(ECHO) SnippetCustomProfiler: compiling release $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles))... + mkdir -p $(dir $(@)) + $(CXX) $(SnippetCustomProfiler_release_cppflags) -c $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles)) -o $@ + @mkdir -p $(dir $(addprefix $(DEPSDIR)/SnippetCustomProfiler/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles)))))) + cp $(SnippetCustomProfiler_release_DEPDIR).d $(addprefix $(DEPSDIR)/SnippetCustomProfiler/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles))))).P; \ + sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ + -e '/^$$/ d' -e 's/$$/ :/' < $(SnippetCustomProfiler_release_DEPDIR).d >> $(addprefix $(DEPSDIR)/SnippetCustomProfiler/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_cppfiles))))).P; \ + rm -f $(SnippetCustomProfiler_release_DEPDIR).d + +$(SnippetCustomProfiler_release_cc_o): $(SnippetCustomProfiler_release_objsdir)/%.o: + $(ECHO) SnippetCustomProfiler: compiling release $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles))... + mkdir -p $(dir $(@)) + $(CXX) $(SnippetCustomProfiler_release_cppflags) -c $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles)) -o $@ + mkdir -p $(dir $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles)))))) + cp $(SnippetCustomProfiler_release_DEPDIR).d $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles))))).release.P; \ + sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ + -e '/^$$/ d' -e 's/$$/ :/' < $(SnippetCustomProfiler_release_DEPDIR).d >> $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_ccfiles))))).release.P; \ + rm -f $(SnippetCustomProfiler_release_DEPDIR).d + +$(SnippetCustomProfiler_release_c_o): $(SnippetCustomProfiler_release_objsdir)/%.o: + $(ECHO) SnippetCustomProfiler: compiling release $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_cfiles))... + mkdir -p $(dir $(@)) + $(CC) $(SnippetCustomProfiler_release_cflags) -c $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_cfiles)) -o $@ + @mkdir -p $(dir $(addprefix $(DEPSDIR)/SnippetCustomProfiler/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_cfiles)))))) + cp $(SnippetCustomProfiler_release_DEPDIR).d $(addprefix $(DEPSDIR)/SnippetCustomProfiler/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_cfiles))))).P; \ + sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ + -e '/^$$/ d' -e 's/$$/ :/' < $(SnippetCustomProfiler_release_DEPDIR).d >> $(addprefix $(DEPSDIR)/SnippetCustomProfiler/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(SnippetCustomProfiler_release_objsdir),, $@))), $(SnippetCustomProfiler_cfiles))))).P; \ + rm -f $(SnippetCustomProfiler_release_DEPDIR).d + +clean_SnippetCustomProfiler: clean_SnippetCustomProfiler_debug clean_SnippetCustomProfiler_checked clean_SnippetCustomProfiler_profile clean_SnippetCustomProfiler_release + rm -rf $(DEPSDIR) + +export VERBOSE +ifndef VERBOSE +.SILENT: +endif |