From 9da2c0c6c2507e16a6c38361f423c9eb35d40546 Mon Sep 17 00:00:00 2001 From: Stefan Gartner Date: Sun, 10 Jan 2010 09:11:48 +0000 Subject: add OpenCOLLADA support to Makefiles add "export WITH_OPENCOLLADA=true" to user-def.mk to enable it --- source/nan_definitions.mk | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'source/nan_definitions.mk') 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) -- cgit v1.2.3