SOURCEDIR = extern
DIR = $(OCGDIR)/extern
-DIRS = qhull/src solid glew/src
+DIRS = glew/src
-ifeq ($(WITH_FREETYPE2), true)
- DIRS += bFTGL/src
+# Cloth requires it
+ifeq ($(NAN_USE_BULLET), true)
+ DIRS += bullet2
endif
-ifeq ($(WITH_FFMPEG), true)
-ifeq ($(NAN_FFMPEG), $(LCGDIR)/ffmpeg)
- DIRS += ffmpeg
-endif
-ifeq ($(NAN_FFMPEG), $(LCGDIR)/gcc/ffmpeg)
- DIRS += ffmpeg
-endif
+ifeq ($(WITH_BINRELOC), true)
+ DIRS += binreloc
endif
-ifeq ($(WITH_VERSE), true)
- DIRS += verse
+ifeq ($(WITH_OPENJPEG), true)
+ ifndef BF_OPENJPEG
+ DIRS += libopenjpeg
+ endif
endif
-ifneq ($(NAN_NO_KETSJI), true)
- DIRS += bullet2
+ifeq ($(WITH_LZO), true)
+ DIRS += lzo/minilzo
endif
-ifeq ($(WITH_BINRELOC), true)
- DIRS += binreloc
+ifeq ($(WITH_LZMA), true)
+ DIRS += lzma
endif
TARGET = solid