diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 | 
1 files changed, 8 insertions, 1 deletions
| @@ -59,6 +59,8 @@ LDFLAGS_GL = -lGLU -lGL  STRIP = strip --strip-unneeded  endif +HAVE_ORACLE=$(shell [ -d /usr/local/instantclient ] || [ -e /usr/include/oracle/11.1/client/occi.h ] || [ -e /usr/bin/sqlplus ] && echo true || echo false) +  INCLUDES = \  -I../mogltk/include \  -I../Baltisot/include \ @@ -189,9 +191,14 @@ cdutils.cpp \  dvdabstract.cpp \  isobuilder.cpp \  yazedc.cpp \ +plugin-luaiup.cc \ + +ifeq ($(HAVE_ORACLE),true) +DEBUG_MODULES += \  LuaOCCI.cpp \  plugin-luaocci.cc \ -plugin-luaiup.cc \ + +endif  WHOLE_SOURCES = $(BALTISOT_SOURCES) $(LUAINTERFACE_SOURCES) $(GL_GLUE)  DEBUG_SOURCES = $(DEBUG_MODULES) | 
