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/Source/compiler/android16/Makefile.PhysXCooking.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/Source/compiler/android16/Makefile.PhysXCooking.mk')
| -rw-r--r-- | PhysX_3.4/Source/compiler/android16/Makefile.PhysXCooking.mk | 571 |
1 files changed, 571 insertions, 0 deletions
diff --git a/PhysX_3.4/Source/compiler/android16/Makefile.PhysXCooking.mk b/PhysX_3.4/Source/compiler/android16/Makefile.PhysXCooking.mk new file mode 100644 index 00000000..ff179b07 --- /dev/null +++ b/PhysX_3.4/Source/compiler/android16/Makefile.PhysXCooking.mk @@ -0,0 +1,571 @@ +# Makefile generated by XPJ for android16 +-include Makefile.custom +ProjectName = PhysXCooking +PhysXCooking_cppfiles += ./../../PhysXCooking/src/Adjacencies.cpp +PhysXCooking_cppfiles += ./../../PhysXCooking/src/Cooking.cpp +PhysXCooking_cppfiles += ./../../PhysXCooking/src/CookingUtils.cpp +PhysXCooking_cppfiles += ./../../PhysXCooking/src/EdgeList.cpp +PhysXCooking_cppfiles += ./../../PhysXCooking/src/MeshCleaner.cpp +PhysXCooking_cppfiles += ./../../PhysXCooking/src/Quantizer.cpp +PhysXCooking_cppfiles += ./../../PhysXCooking/src/mesh/GrbTriangleMeshCooking.cpp +PhysXCooking_cppfiles += ./../../PhysXCooking/src/mesh/HeightFieldCooking.cpp +PhysXCooking_cppfiles += ./../../PhysXCooking/src/mesh/RTreeCooking.cpp +PhysXCooking_cppfiles += ./../../PhysXCooking/src/mesh/TriangleMeshBuilder.cpp +PhysXCooking_cppfiles += ./../../PhysXCooking/src/convex/BigConvexDataBuilder.cpp +PhysXCooking_cppfiles += ./../../PhysXCooking/src/convex/ConvexHullBuilder.cpp +PhysXCooking_cppfiles += ./../../PhysXCooking/src/convex/ConvexHullLib.cpp +PhysXCooking_cppfiles += ./../../PhysXCooking/src/convex/ConvexHullUtils.cpp +PhysXCooking_cppfiles += ./../../PhysXCooking/src/convex/ConvexMeshBuilder.cpp +PhysXCooking_cppfiles += ./../../PhysXCooking/src/convex/ConvexPolygonsBuilder.cpp +PhysXCooking_cppfiles += ./../../PhysXCooking/src/convex/InflationConvexHullLib.cpp +PhysXCooking_cppfiles += ./../../PhysXCooking/src/convex/QuickHullConvexHullLib.cpp +PhysXCooking_cppfiles += ./../../PhysXCooking/src/convex/VolumeIntegration.cpp + +PhysXCooking_cpp_release_dep = $(addprefix $(DEPSDIR)/PhysXCooking/release/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.P, $(PhysXCooking_cppfiles))))) +PhysXCooking_cc_release_dep = $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.release.P, $(PhysXCooking_ccfiles))))) +PhysXCooking_c_release_dep = $(addprefix $(DEPSDIR)/PhysXCooking/release/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.P, $(PhysXCooking_cfiles))))) +PhysXCooking_release_dep = $(PhysXCooking_cpp_release_dep) $(PhysXCooking_cc_release_dep) $(PhysXCooking_c_release_dep) +-include $(PhysXCooking_release_dep) +PhysXCooking_cpp_debug_dep = $(addprefix $(DEPSDIR)/PhysXCooking/debug/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.P, $(PhysXCooking_cppfiles))))) +PhysXCooking_cc_debug_dep = $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.debug.P, $(PhysXCooking_ccfiles))))) +PhysXCooking_c_debug_dep = $(addprefix $(DEPSDIR)/PhysXCooking/debug/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.P, $(PhysXCooking_cfiles))))) +PhysXCooking_debug_dep = $(PhysXCooking_cpp_debug_dep) $(PhysXCooking_cc_debug_dep) $(PhysXCooking_c_debug_dep) +-include $(PhysXCooking_debug_dep) +PhysXCooking_cpp_checked_dep = $(addprefix $(DEPSDIR)/PhysXCooking/checked/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.P, $(PhysXCooking_cppfiles))))) +PhysXCooking_cc_checked_dep = $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.checked.P, $(PhysXCooking_ccfiles))))) +PhysXCooking_c_checked_dep = $(addprefix $(DEPSDIR)/PhysXCooking/checked/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.P, $(PhysXCooking_cfiles))))) +PhysXCooking_checked_dep = $(PhysXCooking_cpp_checked_dep) $(PhysXCooking_cc_checked_dep) $(PhysXCooking_c_checked_dep) +-include $(PhysXCooking_checked_dep) +PhysXCooking_cpp_profile_dep = $(addprefix $(DEPSDIR)/PhysXCooking/profile/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.P, $(PhysXCooking_cppfiles))))) +PhysXCooking_cc_profile_dep = $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.profile.P, $(PhysXCooking_ccfiles))))) +PhysXCooking_c_profile_dep = $(addprefix $(DEPSDIR)/PhysXCooking/profile/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.P, $(PhysXCooking_cfiles))))) +PhysXCooking_profile_dep = $(PhysXCooking_cpp_profile_dep) $(PhysXCooking_cc_profile_dep) $(PhysXCooking_c_profile_dep) +-include $(PhysXCooking_profile_dep) +PhysXCooking_release_hpaths := +PhysXCooking_release_hpaths += ./../../../../Externals/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/include +PhysXCooking_release_hpaths += ./../../../../Externals/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include +PhysXCooking_release_hpaths += ./../../Common/include +PhysXCooking_release_hpaths += ./../../../../PxShared/include +PhysXCooking_release_hpaths += ./../../../../PxShared/src/foundation/include +PhysXCooking_release_hpaths += ./../../../../PxShared/src/fastxml/include +PhysXCooking_release_hpaths += ./../../../../PxShared/src/pvd/include +PhysXCooking_release_hpaths += ./../../../Include/common +PhysXCooking_release_hpaths += ./../../../Include/geometry +PhysXCooking_release_hpaths += ./../../../Include/GeomUtils +PhysXCooking_release_hpaths += ./../../../Include/cloth +PhysXCooking_release_hpaths += ./../../../Include/cooking +PhysXCooking_release_hpaths += ./../../../Include +PhysXCooking_release_hpaths += ./../../Common/src +PhysXCooking_release_hpaths += ./../../GeomUtils/headers +PhysXCooking_release_hpaths += ./../../GeomUtils/src +PhysXCooking_release_hpaths += ./../../GeomUtils/src/contact +PhysXCooking_release_hpaths += ./../../GeomUtils/src/common +PhysXCooking_release_hpaths += ./../../GeomUtils/src/convex +PhysXCooking_release_hpaths += ./../../GeomUtils/src/distance +PhysXCooking_release_hpaths += ./../../GeomUtils/src/sweep +PhysXCooking_release_hpaths += ./../../GeomUtils/src/gjk +PhysXCooking_release_hpaths += ./../../GeomUtils/src/intersection +PhysXCooking_release_hpaths += ./../../GeomUtils/src/mesh +PhysXCooking_release_hpaths += ./../../GeomUtils/src/hf +PhysXCooking_release_hpaths += ./../../GeomUtils/src/pcm +PhysXCooking_release_hpaths += ./../../GeomUtils/src/ccd +PhysXCooking_release_hpaths += ./../../PhysXCooking/src +PhysXCooking_release_hpaths += ./../../PhysXCooking/src/mesh +PhysXCooking_release_hpaths += ./../../PhysXCooking/src/convex +PhysXCooking_release_hpaths += ./../../PhysXExtensions/src +PhysXCooking_release_hpaths += ./../../PhysXGpu/include +PhysXCooking_release_lpaths := +PhysXCooking_release_lpaths += ./../../../Lib/android16 +PhysXCooking_release_lpaths += ./../../../../PxShared/lib/android16 +PhysXCooking_release_defines := $(PhysXCooking_custom_defines) +PhysXCooking_release_defines += ANDROID +PhysXCooking_release_defines += GLES2 +PhysXCooking_release_defines += __STDC_LIMIT_MACROS +PhysXCooking_release_defines += __ARM_ARCH_5__ +PhysXCooking_release_defines += __ARM_ARCH_5T__ +PhysXCooking_release_defines += __ARM_ARCH_5E__ +PhysXCooking_release_defines += __ARM_ARCH_5TE__ +PhysXCooking_release_defines += PX_PHYSX_STATIC_LIB +PhysXCooking_release_defines += PX_COOKING +PhysXCooking_release_defines += NDEBUG +PhysXCooking_release_defines += PX_SUPPORT_PVD=0 +PhysXCooking_release_libraries := +PhysXCooking_release_libraries += PhysX3Common +PhysXCooking_release_libraries += PhysX3Extensions +PhysXCooking_release_libraries += PxFoundation +PhysXCooking_release_common_cflags := $(PhysXCooking_custom_cflags) +PhysXCooking_release_common_cflags += -MMD +PhysXCooking_release_common_cflags += $(addprefix -D, $(PhysXCooking_release_defines)) +PhysXCooking_release_common_cflags += $(addprefix -I, $(PhysXCooking_release_hpaths)) +PhysXCooking_release_common_cflags += -Werror +PhysXCooking_release_common_cflags += -fpic -fno-exceptions +PhysXCooking_release_common_cflags += -isysroot ../../../../Externals/android-ndk-r9d/platforms/android-16/arch-arm +PhysXCooking_release_common_cflags += -march=armv7-a -mfpu=neon -marm -mfloat-abi=softfp -mthumb-interwork +PhysXCooking_release_common_cflags += -Wall -Wextra -Wpedantic -Wstrict-aliasing=2 +PhysXCooking_release_common_cflags += -Wno-maybe-uninitialized -Wno-unused-variable +PhysXCooking_release_common_cflags += -Wno-variadic-macros +PhysXCooking_release_common_cflags += -O3 -fno-strict-aliasing +PhysXCooking_release_common_cflags += -ffunction-sections -funwind-tables -fstack-protector +PhysXCooking_release_common_cflags += -fomit-frame-pointer -funswitch-loops -finline-limit=300 +PhysXCooking_release_cflags := $(PhysXCooking_release_common_cflags) +PhysXCooking_release_cflags += -std=c99 +PhysXCooking_release_cppflags := $(PhysXCooking_release_common_cflags) +PhysXCooking_release_cppflags += -fno-rtti +PhysXCooking_release_cppflags += -Wno-invalid-offsetof +PhysXCooking_release_lflags := $(PhysXCooking_custom_lflags) +PhysXCooking_release_lflags += $(addprefix -L, $(PhysXCooking_release_lpaths)) +PhysXCooking_release_lflags += -Wl,--start-group $(addprefix -l, $(PhysXCooking_release_libraries)) -Wl,--end-group +PhysXCooking_release_lflags += --sysroot=../../../../Externals/android-ndk-r9d/platforms/android-16/arch-arm +PhysXCooking_release_objsdir = $(OBJS_DIR)/PhysXCooking_release +PhysXCooking_release_cpp_o = $(addprefix $(PhysXCooking_release_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.o, $(PhysXCooking_cppfiles))))) +PhysXCooking_release_cc_o = $(addprefix $(PhysXCooking_release_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.o, $(PhysXCooking_ccfiles))))) +PhysXCooking_release_c_o = $(addprefix $(PhysXCooking_release_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.o, $(PhysXCooking_cfiles))))) +PhysXCooking_release_obj = $(PhysXCooking_release_cpp_o) $(PhysXCooking_release_cc_o) $(PhysXCooking_release_c_o) +PhysXCooking_release_bin := ./../../../Lib/android16/libPhysX3Cooking.a + +clean_PhysXCooking_release: + @$(ECHO) clean PhysXCooking release + @$(RMDIR) $(PhysXCooking_release_objsdir) + @$(RMDIR) $(PhysXCooking_release_bin) + @$(RMDIR) $(DEPSDIR)/PhysXCooking/release + +build_PhysXCooking_release: postbuild_PhysXCooking_release +postbuild_PhysXCooking_release: mainbuild_PhysXCooking_release +mainbuild_PhysXCooking_release: prebuild_PhysXCooking_release $(PhysXCooking_release_bin) +prebuild_PhysXCooking_release: + +$(PhysXCooking_release_bin): $(PhysXCooking_release_obj) build_PhysXCommon_release build_PhysXExtensions_release build_PxFoundation_release + mkdir -p `dirname ./../../../Lib/android16/libPhysX3Cooking.a` + @$(AR) rcs $(PhysXCooking_release_bin) $(PhysXCooking_release_obj) + $(ECHO) building $@ complete! + +PhysXCooking_release_DEPDIR = $(dir $(@))/$(*F) +$(PhysXCooking_release_cpp_o): $(PhysXCooking_release_objsdir)/%.o: + $(ECHO) PhysXCooking: compiling release $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_cppfiles))... + mkdir -p $(dir $(@)) + $(CXX) $(PhysXCooking_release_cppflags) -c $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_cppfiles)) -o $@ + @mkdir -p $(dir $(addprefix $(DEPSDIR)/PhysXCooking/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_cppfiles)))))) + cp $(PhysXCooking_release_DEPDIR).d $(addprefix $(DEPSDIR)/PhysXCooking/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_cppfiles))))).P; \ + sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ + -e '/^$$/ d' -e 's/$$/ :/' < $(PhysXCooking_release_DEPDIR).d >> $(addprefix $(DEPSDIR)/PhysXCooking/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_cppfiles))))).P; \ + rm -f $(PhysXCooking_release_DEPDIR).d + +$(PhysXCooking_release_cc_o): $(PhysXCooking_release_objsdir)/%.o: + $(ECHO) PhysXCooking: compiling release $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_ccfiles))... + mkdir -p $(dir $(@)) + $(CXX) $(PhysXCooking_release_cppflags) -c $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_ccfiles)) -o $@ + mkdir -p $(dir $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_ccfiles)))))) + cp $(PhysXCooking_release_DEPDIR).d $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_ccfiles))))).release.P; \ + sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ + -e '/^$$/ d' -e 's/$$/ :/' < $(PhysXCooking_release_DEPDIR).d >> $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_ccfiles))))).release.P; \ + rm -f $(PhysXCooking_release_DEPDIR).d + +$(PhysXCooking_release_c_o): $(PhysXCooking_release_objsdir)/%.o: + $(ECHO) PhysXCooking: compiling release $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_cfiles))... + mkdir -p $(dir $(@)) + $(CC) $(PhysXCooking_release_cflags) -c $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_cfiles)) -o $@ + @mkdir -p $(dir $(addprefix $(DEPSDIR)/PhysXCooking/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_cfiles)))))) + cp $(PhysXCooking_release_DEPDIR).d $(addprefix $(DEPSDIR)/PhysXCooking/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_cfiles))))).P; \ + sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ + -e '/^$$/ d' -e 's/$$/ :/' < $(PhysXCooking_release_DEPDIR).d >> $(addprefix $(DEPSDIR)/PhysXCooking/release/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_release_objsdir),, $@))), $(PhysXCooking_cfiles))))).P; \ + rm -f $(PhysXCooking_release_DEPDIR).d + +PhysXCooking_debug_hpaths := +PhysXCooking_debug_hpaths += ./../../../../Externals/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/include +PhysXCooking_debug_hpaths += ./../../../../Externals/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include +PhysXCooking_debug_hpaths += ./../../Common/include +PhysXCooking_debug_hpaths += ./../../../../PxShared/include +PhysXCooking_debug_hpaths += ./../../../../PxShared/src/foundation/include +PhysXCooking_debug_hpaths += ./../../../../PxShared/src/fastxml/include +PhysXCooking_debug_hpaths += ./../../../../PxShared/src/pvd/include +PhysXCooking_debug_hpaths += ./../../../Include/common +PhysXCooking_debug_hpaths += ./../../../Include/geometry +PhysXCooking_debug_hpaths += ./../../../Include/GeomUtils +PhysXCooking_debug_hpaths += ./../../../Include/cloth +PhysXCooking_debug_hpaths += ./../../../Include/cooking +PhysXCooking_debug_hpaths += ./../../../Include +PhysXCooking_debug_hpaths += ./../../Common/src +PhysXCooking_debug_hpaths += ./../../GeomUtils/headers +PhysXCooking_debug_hpaths += ./../../GeomUtils/src +PhysXCooking_debug_hpaths += ./../../GeomUtils/src/contact +PhysXCooking_debug_hpaths += ./../../GeomUtils/src/common +PhysXCooking_debug_hpaths += ./../../GeomUtils/src/convex +PhysXCooking_debug_hpaths += ./../../GeomUtils/src/distance +PhysXCooking_debug_hpaths += ./../../GeomUtils/src/sweep +PhysXCooking_debug_hpaths += ./../../GeomUtils/src/gjk +PhysXCooking_debug_hpaths += ./../../GeomUtils/src/intersection +PhysXCooking_debug_hpaths += ./../../GeomUtils/src/mesh +PhysXCooking_debug_hpaths += ./../../GeomUtils/src/hf +PhysXCooking_debug_hpaths += ./../../GeomUtils/src/pcm +PhysXCooking_debug_hpaths += ./../../GeomUtils/src/ccd +PhysXCooking_debug_hpaths += ./../../PhysXCooking/src +PhysXCooking_debug_hpaths += ./../../PhysXCooking/src/mesh +PhysXCooking_debug_hpaths += ./../../PhysXCooking/src/convex +PhysXCooking_debug_hpaths += ./../../PhysXExtensions/src +PhysXCooking_debug_hpaths += ./../../PhysXGpu/include +PhysXCooking_debug_lpaths := +PhysXCooking_debug_lpaths += ./../../../Lib/android16 +PhysXCooking_debug_lpaths += ./../../../../PxShared/lib/android16 +PhysXCooking_debug_defines := $(PhysXCooking_custom_defines) +PhysXCooking_debug_defines += ANDROID +PhysXCooking_debug_defines += GLES2 +PhysXCooking_debug_defines += __STDC_LIMIT_MACROS +PhysXCooking_debug_defines += __ARM_ARCH_5__ +PhysXCooking_debug_defines += __ARM_ARCH_5T__ +PhysXCooking_debug_defines += __ARM_ARCH_5E__ +PhysXCooking_debug_defines += __ARM_ARCH_5TE__ +PhysXCooking_debug_defines += PX_PHYSX_STATIC_LIB +PhysXCooking_debug_defines += PX_COOKING +PhysXCooking_debug_defines += _DEBUG +PhysXCooking_debug_defines += PX_DEBUG=1 +PhysXCooking_debug_defines += PX_CHECKED=1 +PhysXCooking_debug_defines += PX_SUPPORT_PVD=1 +PhysXCooking_debug_defines += PX_NVTX=1 +PhysXCooking_debug_libraries := +PhysXCooking_debug_libraries += PhysX3CommonDEBUG +PhysXCooking_debug_libraries += PhysX3ExtensionsDEBUG +PhysXCooking_debug_libraries += PxFoundationDEBUG +PhysXCooking_debug_common_cflags := $(PhysXCooking_custom_cflags) +PhysXCooking_debug_common_cflags += -MMD +PhysXCooking_debug_common_cflags += $(addprefix -D, $(PhysXCooking_debug_defines)) +PhysXCooking_debug_common_cflags += $(addprefix -I, $(PhysXCooking_debug_hpaths)) +PhysXCooking_debug_common_cflags += -Werror +PhysXCooking_debug_common_cflags += -fpic -fno-exceptions +PhysXCooking_debug_common_cflags += -isysroot ../../../../Externals/android-ndk-r9d/platforms/android-16/arch-arm +PhysXCooking_debug_common_cflags += -march=armv7-a -mfpu=neon -marm -mfloat-abi=softfp -mthumb-interwork +PhysXCooking_debug_common_cflags += -Wall -Wextra -Wpedantic -Wstrict-aliasing=2 +PhysXCooking_debug_common_cflags += -Wno-maybe-uninitialized -Wno-unused-variable +PhysXCooking_debug_common_cflags += -Wno-variadic-macros +PhysXCooking_debug_common_cflags += -g3 -gdwarf-2 +PhysXCooking_debug_cflags := $(PhysXCooking_debug_common_cflags) +PhysXCooking_debug_cflags += -std=c99 +PhysXCooking_debug_cppflags := $(PhysXCooking_debug_common_cflags) +PhysXCooking_debug_cppflags += -fno-rtti +PhysXCooking_debug_cppflags += -Wno-invalid-offsetof +PhysXCooking_debug_lflags := $(PhysXCooking_custom_lflags) +PhysXCooking_debug_lflags += $(addprefix -L, $(PhysXCooking_debug_lpaths)) +PhysXCooking_debug_lflags += -Wl,--start-group $(addprefix -l, $(PhysXCooking_debug_libraries)) -Wl,--end-group +PhysXCooking_debug_lflags += --sysroot=../../../../Externals/android-ndk-r9d/platforms/android-16/arch-arm +PhysXCooking_debug_objsdir = $(OBJS_DIR)/PhysXCooking_debug +PhysXCooking_debug_cpp_o = $(addprefix $(PhysXCooking_debug_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.o, $(PhysXCooking_cppfiles))))) +PhysXCooking_debug_cc_o = $(addprefix $(PhysXCooking_debug_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.o, $(PhysXCooking_ccfiles))))) +PhysXCooking_debug_c_o = $(addprefix $(PhysXCooking_debug_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.o, $(PhysXCooking_cfiles))))) +PhysXCooking_debug_obj = $(PhysXCooking_debug_cpp_o) $(PhysXCooking_debug_cc_o) $(PhysXCooking_debug_c_o) +PhysXCooking_debug_bin := ./../../../Lib/android16/libPhysX3CookingDEBUG.a + +clean_PhysXCooking_debug: + @$(ECHO) clean PhysXCooking debug + @$(RMDIR) $(PhysXCooking_debug_objsdir) + @$(RMDIR) $(PhysXCooking_debug_bin) + @$(RMDIR) $(DEPSDIR)/PhysXCooking/debug + +build_PhysXCooking_debug: postbuild_PhysXCooking_debug +postbuild_PhysXCooking_debug: mainbuild_PhysXCooking_debug +mainbuild_PhysXCooking_debug: prebuild_PhysXCooking_debug $(PhysXCooking_debug_bin) +prebuild_PhysXCooking_debug: + +$(PhysXCooking_debug_bin): $(PhysXCooking_debug_obj) build_PhysXCommon_debug build_PhysXExtensions_debug build_PxFoundation_debug + mkdir -p `dirname ./../../../Lib/android16/libPhysX3CookingDEBUG.a` + @$(AR) rcs $(PhysXCooking_debug_bin) $(PhysXCooking_debug_obj) + $(ECHO) building $@ complete! + +PhysXCooking_debug_DEPDIR = $(dir $(@))/$(*F) +$(PhysXCooking_debug_cpp_o): $(PhysXCooking_debug_objsdir)/%.o: + $(ECHO) PhysXCooking: compiling debug $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_cppfiles))... + mkdir -p $(dir $(@)) + $(CXX) $(PhysXCooking_debug_cppflags) -c $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_cppfiles)) -o $@ + @mkdir -p $(dir $(addprefix $(DEPSDIR)/PhysXCooking/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_cppfiles)))))) + cp $(PhysXCooking_debug_DEPDIR).d $(addprefix $(DEPSDIR)/PhysXCooking/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_cppfiles))))).P; \ + sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ + -e '/^$$/ d' -e 's/$$/ :/' < $(PhysXCooking_debug_DEPDIR).d >> $(addprefix $(DEPSDIR)/PhysXCooking/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_cppfiles))))).P; \ + rm -f $(PhysXCooking_debug_DEPDIR).d + +$(PhysXCooking_debug_cc_o): $(PhysXCooking_debug_objsdir)/%.o: + $(ECHO) PhysXCooking: compiling debug $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_ccfiles))... + mkdir -p $(dir $(@)) + $(CXX) $(PhysXCooking_debug_cppflags) -c $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_ccfiles)) -o $@ + mkdir -p $(dir $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_ccfiles)))))) + cp $(PhysXCooking_debug_DEPDIR).d $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_ccfiles))))).debug.P; \ + sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ + -e '/^$$/ d' -e 's/$$/ :/' < $(PhysXCooking_debug_DEPDIR).d >> $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_ccfiles))))).debug.P; \ + rm -f $(PhysXCooking_debug_DEPDIR).d + +$(PhysXCooking_debug_c_o): $(PhysXCooking_debug_objsdir)/%.o: + $(ECHO) PhysXCooking: compiling debug $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_cfiles))... + mkdir -p $(dir $(@)) + $(CC) $(PhysXCooking_debug_cflags) -c $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_cfiles)) -o $@ + @mkdir -p $(dir $(addprefix $(DEPSDIR)/PhysXCooking/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_cfiles)))))) + cp $(PhysXCooking_debug_DEPDIR).d $(addprefix $(DEPSDIR)/PhysXCooking/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_cfiles))))).P; \ + sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ + -e '/^$$/ d' -e 's/$$/ :/' < $(PhysXCooking_debug_DEPDIR).d >> $(addprefix $(DEPSDIR)/PhysXCooking/debug/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_debug_objsdir),, $@))), $(PhysXCooking_cfiles))))).P; \ + rm -f $(PhysXCooking_debug_DEPDIR).d + +PhysXCooking_checked_hpaths := +PhysXCooking_checked_hpaths += ./../../../../Externals/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/include +PhysXCooking_checked_hpaths += ./../../../../Externals/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include +PhysXCooking_checked_hpaths += ./../../Common/include +PhysXCooking_checked_hpaths += ./../../../../PxShared/include +PhysXCooking_checked_hpaths += ./../../../../PxShared/src/foundation/include +PhysXCooking_checked_hpaths += ./../../../../PxShared/src/fastxml/include +PhysXCooking_checked_hpaths += ./../../../../PxShared/src/pvd/include +PhysXCooking_checked_hpaths += ./../../../Include/common +PhysXCooking_checked_hpaths += ./../../../Include/geometry +PhysXCooking_checked_hpaths += ./../../../Include/GeomUtils +PhysXCooking_checked_hpaths += ./../../../Include/cloth +PhysXCooking_checked_hpaths += ./../../../Include/cooking +PhysXCooking_checked_hpaths += ./../../../Include +PhysXCooking_checked_hpaths += ./../../Common/src +PhysXCooking_checked_hpaths += ./../../GeomUtils/headers +PhysXCooking_checked_hpaths += ./../../GeomUtils/src +PhysXCooking_checked_hpaths += ./../../GeomUtils/src/contact +PhysXCooking_checked_hpaths += ./../../GeomUtils/src/common +PhysXCooking_checked_hpaths += ./../../GeomUtils/src/convex +PhysXCooking_checked_hpaths += ./../../GeomUtils/src/distance +PhysXCooking_checked_hpaths += ./../../GeomUtils/src/sweep +PhysXCooking_checked_hpaths += ./../../GeomUtils/src/gjk +PhysXCooking_checked_hpaths += ./../../GeomUtils/src/intersection +PhysXCooking_checked_hpaths += ./../../GeomUtils/src/mesh +PhysXCooking_checked_hpaths += ./../../GeomUtils/src/hf +PhysXCooking_checked_hpaths += ./../../GeomUtils/src/pcm +PhysXCooking_checked_hpaths += ./../../GeomUtils/src/ccd +PhysXCooking_checked_hpaths += ./../../PhysXCooking/src +PhysXCooking_checked_hpaths += ./../../PhysXCooking/src/mesh +PhysXCooking_checked_hpaths += ./../../PhysXCooking/src/convex +PhysXCooking_checked_hpaths += ./../../PhysXExtensions/src +PhysXCooking_checked_hpaths += ./../../PhysXGpu/include +PhysXCooking_checked_lpaths := +PhysXCooking_checked_lpaths += ./../../../Lib/android16 +PhysXCooking_checked_lpaths += ./../../../../PxShared/lib/android16 +PhysXCooking_checked_defines := $(PhysXCooking_custom_defines) +PhysXCooking_checked_defines += ANDROID +PhysXCooking_checked_defines += GLES2 +PhysXCooking_checked_defines += __STDC_LIMIT_MACROS +PhysXCooking_checked_defines += __ARM_ARCH_5__ +PhysXCooking_checked_defines += __ARM_ARCH_5T__ +PhysXCooking_checked_defines += __ARM_ARCH_5E__ +PhysXCooking_checked_defines += __ARM_ARCH_5TE__ +PhysXCooking_checked_defines += PX_PHYSX_STATIC_LIB +PhysXCooking_checked_defines += PX_COOKING +PhysXCooking_checked_defines += NDEBUG +PhysXCooking_checked_defines += PX_CHECKED=1 +PhysXCooking_checked_defines += PX_SUPPORT_PVD=1 +PhysXCooking_checked_defines += PX_NVTX=1 +PhysXCooking_checked_libraries := +PhysXCooking_checked_libraries += PhysX3CommonCHECKED +PhysXCooking_checked_libraries += PhysX3ExtensionsCHECKED +PhysXCooking_checked_libraries += PxFoundationCHECKED +PhysXCooking_checked_common_cflags := $(PhysXCooking_custom_cflags) +PhysXCooking_checked_common_cflags += -MMD +PhysXCooking_checked_common_cflags += $(addprefix -D, $(PhysXCooking_checked_defines)) +PhysXCooking_checked_common_cflags += $(addprefix -I, $(PhysXCooking_checked_hpaths)) +PhysXCooking_checked_common_cflags += -Werror +PhysXCooking_checked_common_cflags += -fpic -fno-exceptions +PhysXCooking_checked_common_cflags += -isysroot ../../../../Externals/android-ndk-r9d/platforms/android-16/arch-arm +PhysXCooking_checked_common_cflags += -march=armv7-a -mfpu=neon -marm -mfloat-abi=softfp -mthumb-interwork +PhysXCooking_checked_common_cflags += -Wall -Wextra -Wpedantic -Wstrict-aliasing=2 +PhysXCooking_checked_common_cflags += -Wno-maybe-uninitialized -Wno-unused-variable +PhysXCooking_checked_common_cflags += -Wno-variadic-macros +PhysXCooking_checked_common_cflags += -g3 -gdwarf-2 -O3 -fno-strict-aliasing +PhysXCooking_checked_common_cflags += -ffunction-sections -funwind-tables -fstack-protector +PhysXCooking_checked_common_cflags += -fomit-frame-pointer -funswitch-loops -finline-limit=300 +PhysXCooking_checked_cflags := $(PhysXCooking_checked_common_cflags) +PhysXCooking_checked_cflags += -std=c99 +PhysXCooking_checked_cppflags := $(PhysXCooking_checked_common_cflags) +PhysXCooking_checked_cppflags += -fno-rtti +PhysXCooking_checked_cppflags += -Wno-invalid-offsetof +PhysXCooking_checked_lflags := $(PhysXCooking_custom_lflags) +PhysXCooking_checked_lflags += $(addprefix -L, $(PhysXCooking_checked_lpaths)) +PhysXCooking_checked_lflags += -Wl,--start-group $(addprefix -l, $(PhysXCooking_checked_libraries)) -Wl,--end-group +PhysXCooking_checked_lflags += --sysroot=../../../../Externals/android-ndk-r9d/platforms/android-16/arch-arm +PhysXCooking_checked_objsdir = $(OBJS_DIR)/PhysXCooking_checked +PhysXCooking_checked_cpp_o = $(addprefix $(PhysXCooking_checked_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.o, $(PhysXCooking_cppfiles))))) +PhysXCooking_checked_cc_o = $(addprefix $(PhysXCooking_checked_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.o, $(PhysXCooking_ccfiles))))) +PhysXCooking_checked_c_o = $(addprefix $(PhysXCooking_checked_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.o, $(PhysXCooking_cfiles))))) +PhysXCooking_checked_obj = $(PhysXCooking_checked_cpp_o) $(PhysXCooking_checked_cc_o) $(PhysXCooking_checked_c_o) +PhysXCooking_checked_bin := ./../../../Lib/android16/libPhysX3CookingCHECKED.a + +clean_PhysXCooking_checked: + @$(ECHO) clean PhysXCooking checked + @$(RMDIR) $(PhysXCooking_checked_objsdir) + @$(RMDIR) $(PhysXCooking_checked_bin) + @$(RMDIR) $(DEPSDIR)/PhysXCooking/checked + +build_PhysXCooking_checked: postbuild_PhysXCooking_checked +postbuild_PhysXCooking_checked: mainbuild_PhysXCooking_checked +mainbuild_PhysXCooking_checked: prebuild_PhysXCooking_checked $(PhysXCooking_checked_bin) +prebuild_PhysXCooking_checked: + +$(PhysXCooking_checked_bin): $(PhysXCooking_checked_obj) build_PhysXCommon_checked build_PhysXExtensions_checked build_PxFoundation_checked + mkdir -p `dirname ./../../../Lib/android16/libPhysX3CookingCHECKED.a` + @$(AR) rcs $(PhysXCooking_checked_bin) $(PhysXCooking_checked_obj) + $(ECHO) building $@ complete! + +PhysXCooking_checked_DEPDIR = $(dir $(@))/$(*F) +$(PhysXCooking_checked_cpp_o): $(PhysXCooking_checked_objsdir)/%.o: + $(ECHO) PhysXCooking: compiling checked $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_cppfiles))... + mkdir -p $(dir $(@)) + $(CXX) $(PhysXCooking_checked_cppflags) -c $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_cppfiles)) -o $@ + @mkdir -p $(dir $(addprefix $(DEPSDIR)/PhysXCooking/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_cppfiles)))))) + cp $(PhysXCooking_checked_DEPDIR).d $(addprefix $(DEPSDIR)/PhysXCooking/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_cppfiles))))).P; \ + sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ + -e '/^$$/ d' -e 's/$$/ :/' < $(PhysXCooking_checked_DEPDIR).d >> $(addprefix $(DEPSDIR)/PhysXCooking/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_cppfiles))))).P; \ + rm -f $(PhysXCooking_checked_DEPDIR).d + +$(PhysXCooking_checked_cc_o): $(PhysXCooking_checked_objsdir)/%.o: + $(ECHO) PhysXCooking: compiling checked $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_ccfiles))... + mkdir -p $(dir $(@)) + $(CXX) $(PhysXCooking_checked_cppflags) -c $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_ccfiles)) -o $@ + mkdir -p $(dir $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_ccfiles)))))) + cp $(PhysXCooking_checked_DEPDIR).d $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_ccfiles))))).checked.P; \ + sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ + -e '/^$$/ d' -e 's/$$/ :/' < $(PhysXCooking_checked_DEPDIR).d >> $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_ccfiles))))).checked.P; \ + rm -f $(PhysXCooking_checked_DEPDIR).d + +$(PhysXCooking_checked_c_o): $(PhysXCooking_checked_objsdir)/%.o: + $(ECHO) PhysXCooking: compiling checked $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_cfiles))... + mkdir -p $(dir $(@)) + $(CC) $(PhysXCooking_checked_cflags) -c $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_cfiles)) -o $@ + @mkdir -p $(dir $(addprefix $(DEPSDIR)/PhysXCooking/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_cfiles)))))) + cp $(PhysXCooking_checked_DEPDIR).d $(addprefix $(DEPSDIR)/PhysXCooking/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_cfiles))))).P; \ + sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ + -e '/^$$/ d' -e 's/$$/ :/' < $(PhysXCooking_checked_DEPDIR).d >> $(addprefix $(DEPSDIR)/PhysXCooking/checked/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_checked_objsdir),, $@))), $(PhysXCooking_cfiles))))).P; \ + rm -f $(PhysXCooking_checked_DEPDIR).d + +PhysXCooking_profile_hpaths := +PhysXCooking_profile_hpaths += ./../../../../Externals/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/include +PhysXCooking_profile_hpaths += ./../../../../Externals/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include +PhysXCooking_profile_hpaths += ./../../Common/include +PhysXCooking_profile_hpaths += ./../../../../PxShared/include +PhysXCooking_profile_hpaths += ./../../../../PxShared/src/foundation/include +PhysXCooking_profile_hpaths += ./../../../../PxShared/src/fastxml/include +PhysXCooking_profile_hpaths += ./../../../../PxShared/src/pvd/include +PhysXCooking_profile_hpaths += ./../../../Include/common +PhysXCooking_profile_hpaths += ./../../../Include/geometry +PhysXCooking_profile_hpaths += ./../../../Include/GeomUtils +PhysXCooking_profile_hpaths += ./../../../Include/cloth +PhysXCooking_profile_hpaths += ./../../../Include/cooking +PhysXCooking_profile_hpaths += ./../../../Include +PhysXCooking_profile_hpaths += ./../../Common/src +PhysXCooking_profile_hpaths += ./../../GeomUtils/headers +PhysXCooking_profile_hpaths += ./../../GeomUtils/src +PhysXCooking_profile_hpaths += ./../../GeomUtils/src/contact +PhysXCooking_profile_hpaths += ./../../GeomUtils/src/common +PhysXCooking_profile_hpaths += ./../../GeomUtils/src/convex +PhysXCooking_profile_hpaths += ./../../GeomUtils/src/distance +PhysXCooking_profile_hpaths += ./../../GeomUtils/src/sweep +PhysXCooking_profile_hpaths += ./../../GeomUtils/src/gjk +PhysXCooking_profile_hpaths += ./../../GeomUtils/src/intersection +PhysXCooking_profile_hpaths += ./../../GeomUtils/src/mesh +PhysXCooking_profile_hpaths += ./../../GeomUtils/src/hf +PhysXCooking_profile_hpaths += ./../../GeomUtils/src/pcm +PhysXCooking_profile_hpaths += ./../../GeomUtils/src/ccd +PhysXCooking_profile_hpaths += ./../../PhysXCooking/src +PhysXCooking_profile_hpaths += ./../../PhysXCooking/src/mesh +PhysXCooking_profile_hpaths += ./../../PhysXCooking/src/convex +PhysXCooking_profile_hpaths += ./../../PhysXExtensions/src +PhysXCooking_profile_hpaths += ./../../PhysXGpu/include +PhysXCooking_profile_lpaths := +PhysXCooking_profile_lpaths += ./../../../Lib/android16 +PhysXCooking_profile_lpaths += ./../../../../PxShared/lib/android16 +PhysXCooking_profile_defines := $(PhysXCooking_custom_defines) +PhysXCooking_profile_defines += ANDROID +PhysXCooking_profile_defines += GLES2 +PhysXCooking_profile_defines += __STDC_LIMIT_MACROS +PhysXCooking_profile_defines += __ARM_ARCH_5__ +PhysXCooking_profile_defines += __ARM_ARCH_5T__ +PhysXCooking_profile_defines += __ARM_ARCH_5E__ +PhysXCooking_profile_defines += __ARM_ARCH_5TE__ +PhysXCooking_profile_defines += PX_PHYSX_STATIC_LIB +PhysXCooking_profile_defines += PX_COOKING +PhysXCooking_profile_defines += NDEBUG +PhysXCooking_profile_defines += PX_PROFILE=1 +PhysXCooking_profile_defines += PX_SUPPORT_PVD=1 +PhysXCooking_profile_defines += PX_NVTX=1 +PhysXCooking_profile_libraries := +PhysXCooking_profile_libraries += PhysX3CommonPROFILE +PhysXCooking_profile_libraries += PhysX3ExtensionsPROFILE +PhysXCooking_profile_libraries += PxFoundationPROFILE +PhysXCooking_profile_common_cflags := $(PhysXCooking_custom_cflags) +PhysXCooking_profile_common_cflags += -MMD +PhysXCooking_profile_common_cflags += $(addprefix -D, $(PhysXCooking_profile_defines)) +PhysXCooking_profile_common_cflags += $(addprefix -I, $(PhysXCooking_profile_hpaths)) +PhysXCooking_profile_common_cflags += -Werror +PhysXCooking_profile_common_cflags += -fpic -fno-exceptions +PhysXCooking_profile_common_cflags += -isysroot ../../../../Externals/android-ndk-r9d/platforms/android-16/arch-arm +PhysXCooking_profile_common_cflags += -march=armv7-a -mfpu=neon -marm -mfloat-abi=softfp -mthumb-interwork +PhysXCooking_profile_common_cflags += -Wall -Wextra -Wpedantic -Wstrict-aliasing=2 +PhysXCooking_profile_common_cflags += -Wno-maybe-uninitialized -Wno-unused-variable +PhysXCooking_profile_common_cflags += -Wno-variadic-macros +PhysXCooking_profile_common_cflags += -O3 -fno-strict-aliasing +PhysXCooking_profile_common_cflags += -ffunction-sections -funwind-tables -fstack-protector +PhysXCooking_profile_common_cflags += -fno-omit-frame-pointer -funswitch-loops -finline-limit=300 +PhysXCooking_profile_cflags := $(PhysXCooking_profile_common_cflags) +PhysXCooking_profile_cflags += -std=c99 +PhysXCooking_profile_cppflags := $(PhysXCooking_profile_common_cflags) +PhysXCooking_profile_cppflags += -fno-rtti +PhysXCooking_profile_cppflags += -Wno-invalid-offsetof +PhysXCooking_profile_lflags := $(PhysXCooking_custom_lflags) +PhysXCooking_profile_lflags += $(addprefix -L, $(PhysXCooking_profile_lpaths)) +PhysXCooking_profile_lflags += -Wl,--start-group $(addprefix -l, $(PhysXCooking_profile_libraries)) -Wl,--end-group +PhysXCooking_profile_lflags += --sysroot=../../../../Externals/android-ndk-r9d/platforms/android-16/arch-arm +PhysXCooking_profile_objsdir = $(OBJS_DIR)/PhysXCooking_profile +PhysXCooking_profile_cpp_o = $(addprefix $(PhysXCooking_profile_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cpp, %.cpp.o, $(PhysXCooking_cppfiles))))) +PhysXCooking_profile_cc_o = $(addprefix $(PhysXCooking_profile_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.cc, %.cc.o, $(PhysXCooking_ccfiles))))) +PhysXCooking_profile_c_o = $(addprefix $(PhysXCooking_profile_objsdir)/, $(subst ./, , $(subst ../, , $(patsubst %.c, %.c.o, $(PhysXCooking_cfiles))))) +PhysXCooking_profile_obj = $(PhysXCooking_profile_cpp_o) $(PhysXCooking_profile_cc_o) $(PhysXCooking_profile_c_o) +PhysXCooking_profile_bin := ./../../../Lib/android16/libPhysX3CookingPROFILE.a + +clean_PhysXCooking_profile: + @$(ECHO) clean PhysXCooking profile + @$(RMDIR) $(PhysXCooking_profile_objsdir) + @$(RMDIR) $(PhysXCooking_profile_bin) + @$(RMDIR) $(DEPSDIR)/PhysXCooking/profile + +build_PhysXCooking_profile: postbuild_PhysXCooking_profile +postbuild_PhysXCooking_profile: mainbuild_PhysXCooking_profile +mainbuild_PhysXCooking_profile: prebuild_PhysXCooking_profile $(PhysXCooking_profile_bin) +prebuild_PhysXCooking_profile: + +$(PhysXCooking_profile_bin): $(PhysXCooking_profile_obj) build_PhysXCommon_profile build_PhysXExtensions_profile build_PxFoundation_profile + mkdir -p `dirname ./../../../Lib/android16/libPhysX3CookingPROFILE.a` + @$(AR) rcs $(PhysXCooking_profile_bin) $(PhysXCooking_profile_obj) + $(ECHO) building $@ complete! + +PhysXCooking_profile_DEPDIR = $(dir $(@))/$(*F) +$(PhysXCooking_profile_cpp_o): $(PhysXCooking_profile_objsdir)/%.o: + $(ECHO) PhysXCooking: compiling profile $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_cppfiles))... + mkdir -p $(dir $(@)) + $(CXX) $(PhysXCooking_profile_cppflags) -c $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_cppfiles)) -o $@ + @mkdir -p $(dir $(addprefix $(DEPSDIR)/PhysXCooking/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_cppfiles)))))) + cp $(PhysXCooking_profile_DEPDIR).d $(addprefix $(DEPSDIR)/PhysXCooking/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_cppfiles))))).P; \ + sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ + -e '/^$$/ d' -e 's/$$/ :/' < $(PhysXCooking_profile_DEPDIR).d >> $(addprefix $(DEPSDIR)/PhysXCooking/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cpp.o,.cpp, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_cppfiles))))).P; \ + rm -f $(PhysXCooking_profile_DEPDIR).d + +$(PhysXCooking_profile_cc_o): $(PhysXCooking_profile_objsdir)/%.o: + $(ECHO) PhysXCooking: compiling profile $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_ccfiles))... + mkdir -p $(dir $(@)) + $(CXX) $(PhysXCooking_profile_cppflags) -c $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_ccfiles)) -o $@ + mkdir -p $(dir $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_ccfiles)))))) + cp $(PhysXCooking_profile_DEPDIR).d $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_ccfiles))))).profile.P; \ + sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ + -e '/^$$/ d' -e 's/$$/ :/' < $(PhysXCooking_profile_DEPDIR).d >> $(addprefix $(DEPSDIR)/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .cc.o,.cc, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_ccfiles))))).profile.P; \ + rm -f $(PhysXCooking_profile_DEPDIR).d + +$(PhysXCooking_profile_c_o): $(PhysXCooking_profile_objsdir)/%.o: + $(ECHO) PhysXCooking: compiling profile $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_cfiles))... + mkdir -p $(dir $(@)) + $(CC) $(PhysXCooking_profile_cflags) -c $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_cfiles)) -o $@ + @mkdir -p $(dir $(addprefix $(DEPSDIR)/PhysXCooking/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_cfiles)))))) + cp $(PhysXCooking_profile_DEPDIR).d $(addprefix $(DEPSDIR)/PhysXCooking/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_cfiles))))).P; \ + sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ + -e '/^$$/ d' -e 's/$$/ :/' < $(PhysXCooking_profile_DEPDIR).d >> $(addprefix $(DEPSDIR)/PhysXCooking/profile/, $(subst ./, , $(subst ../, , $(filter %$(strip $(subst .c.o,.c, $(subst $(PhysXCooking_profile_objsdir),, $@))), $(PhysXCooking_cfiles))))).P; \ + rm -f $(PhysXCooking_profile_DEPDIR).d + +clean_PhysXCooking: clean_PhysXCooking_release clean_PhysXCooking_debug clean_PhysXCooking_checked clean_PhysXCooking_profile + rm -rf $(DEPSDIR) + +export VERBOSE +ifndef VERBOSE +.SILENT: +endif |