From 1772a0a62f86268f01540d4a3692c2bb4c7e6432 Mon Sep 17 00:00:00 2001 From: Diego Borghetti Date: Thu, 20 Aug 2009 18:34:14 +0000 Subject: Add unsigned char buffer to BLF_draw_buffer and update makefiles for lzo and lzma. I rename the original makefile of lzo (Makefile.bak) and a new one. Also four new option for user-def.mk: WITH_LZO, default true WITH_LZMA, default true NAN_LZO, default extern/lzo NAN_LZMA, default extern/lzma It's easy add support for system libs (using lzo and lzma from OS) but I don't know if it have much sense. Note that I can't test the "unsigned char" buffer because the OGL animation is not working (right ?), but is the same code that for float also the new Makefile work fine here (Linux), but maybe need some tweak on other OS. --- source/nan_definitions.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/nan_definitions.mk') diff --git a/source/nan_definitions.mk b/source/nan_definitions.mk index b3f36dd3b5c..7fab61d5247 100644 --- a/source/nan_definitions.mk +++ b/source/nan_definitions.mk @@ -113,7 +113,10 @@ ifndef CONFIG_GUESS export WITH_OPENEXR ?= true export WITH_DDS ?= true export WITH_OPENJPEG ?= true - + export WITH_LZO ?= true + export WITH_LZMA ?= true + export NAN_LZO ?= $(LCGDIR)/lzo + export NAN_LZMA ?= $(LCGDIR)/lzma ifeq ($(NAN_USE_FFMPEG_CONFIG), true) export NAN_FFMPEG ?= $(shell ffmpeg-config --prefix) -- cgit v1.2.3