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