diff options
author | Stefan Gartner <stefang@aon.at> | 2010-01-10 12:11:48 +0300 |
---|---|---|
committer | Stefan Gartner <stefang@aon.at> | 2010-01-10 12:11:48 +0300 |
commit | 9da2c0c6c2507e16a6c38361f423c9eb35d40546 (patch) | |
tree | 1f2af86fab8d5341d5a678eec2ca2f9a8c71dd74 /source/nan_definitions.mk | |
parent | 08c9ecb3b043322f34e55f335f76dc2657c187ef (diff) |
add OpenCOLLADA support to Makefiles
add "export WITH_OPENCOLLADA=true" to user-def.mk to enable it
Diffstat (limited to 'source/nan_definitions.mk')
-rw-r--r-- | source/nan_definitions.mk | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/source/nan_definitions.mk b/source/nan_definitions.mk index 952b57601b7..24fe489a26c 100644 --- a/source/nan_definitions.mk +++ b/source/nan_definitions.mk @@ -150,8 +150,17 @@ ifndef CONFIG_GUESS export NAN_FFMPEGCFLAGS = $(shell pkg-config --cflags libavcodec libavdevice libavformat libswscale libavutil) endif - # Compare recreated .mo files with committed ones - export BF_VERIFY_MO_FILES ?= true + ifeq ($(WITH_OPENCOLLADA), true) + export BF_OPENCOLLADA ?= $(LCGDIR)/opencollada + export BF_OPENCOLLADA_INC ?= $(BF_OPENCOLLADA)/include + export BF_OPENCOLLADA_LIBS ?= $(BF_OPENCOLLADA)/lib/libOpenCOLLADASaxFrameworkLoader.a $(BF_OPENCOLLADA)/lib/libOpenCOLLADAFramework.a $(BF_OPENCOLLADA)/lib/libOpenCOLLADABaseUtils.a $(BF_OPENCOLLADA)/lib/libOpenCOLLADAStreamWriter.a $(BF_OPENCOLLADA)/lib/libMathMLSolver.a $(BF_OPENCOLLADA)/lib/libGeneratedSaxParser.a $(BF_OPENCOLLADA)/lib/libUTF.a -lxml2 + export BF_PCRE ?= $(LCGDIR)/pcre + export BF_PCRE_LIBS ?= $(NAN_PCRE)/lib/libpcre.a + endif + + + # Compare recreated .mo files with committed ones + export BF_VERIFY_MO_FILES ?= true # Platform Dependent settings go below: ifeq ($(OS),darwin) @@ -265,6 +274,8 @@ ifndef CONFIG_GUESS export USE_QTKIT = true endif + export NAN_PCRE = $(LCGDIR)/opencollada + else ifeq ($(OS),freebsd) |