MODULE_TOPDIR = ../..

LIB_NAME = $(NVIZ_LIBNAME)

EXTRA_LIBS = $(GISLIB) $(BITMAPLIB) $(VECTLIB) $(TIFFLIBPATH) $(TIFFLIB) $(FFMPEGLIBPATH) $(FFMPEGLIB) $(SITESLIB) $(G3DLIB) $(OGSFLIB) $(MATHLIB)

include $(MODULE_TOPDIR)/include/Make/Lib.make
include $(MODULE_TOPDIR)/include/Make/Doxygen.make

EXTRA_CFLAGS = $(VECT_CFLAGS)

ifeq ($(OPENGL_WINDOWS),1)
EXTRA_LIBS += $(OPENGLLIB) $(OPENGLULIB) -lgdi32
else
ifeq ($(OPENGL_X11),1)
EXTRA_LIBS += $(XLIBPATH) $(XLIB) $(OPENGLLIB) $(OPENGLULIB)
EXTRA_CFLAGS += $(XCFLAGS)
else
EXTRA_LIBS += $(OPENGLLIB) $(OPENGLULIB)
endif
endif

EXTRA_INC = $(VECT_INC) $(OPENGLINC) $(TIFFINCPATH) $(FFMPEGINCPATH)

default: lib

# doxygen
DOXNAME=nviz
