# -*-mode: Makefile;-*- ;; Have EMACS always use makefile-mode for this file. # # makeVar # # Don't change anything between the '####' lines! ############################################################################### -include ${_DOT_DOT}makeRoot ifneq "${MAKEROOT_DEFINED}" "TRUE" _DOT_DOT:= ../${_DOT_DOT} -include ${_DOT_DOT}makeVar else ifeq "${_DOT_DOT}" "" _DOT_DOT=. endif SRC_ROOT=${_DOT_DOT} PACKAGES=$(SRC_ROOT)/packages endif ############################################################################### # Add here your project settings, plese specify each entry in a separated # line (use backslash to continue the lines). # Please specify here the name of the root project # (! Very important for the install routine !) PROJECT_ROOT_NAME:=ICL # Please specify the current version subdivided in: # TARGET_MAJVERSION the major version number (e.g. 1 for version 1.0) # TARGET_MINVERSION the minor version number (e.g. 0 for version 1.0) TARGET_MAJVERSION:= 3 TARGET_MINVERSION:= 0 # Please include here the inherited projects # (e.g. include ${AGNI_GLOBAL_ROOT}/Basics/Base/1.0/packageVar) # This variable sets the inclusion modality for packageVar # Values are: DYNAMIC (for the inclusion of shared object) and # STATIC (for the inclusion of static libraries) AGNI_INHERIT_MODE:= DYNAMIC # Please add here all the directories with absolute path # (e.g. -I/usr/local/include) that contain include files needed by the sources. ABS_INCLUDES:= ${ABS_INCLUDES} # Please add here all the directories with relative path # (e.g. -I../MyModule/src) that contain include files needed by the sources. REL_INCLUDES:= $(REL_INCLUDES:-I%=-I../%) # Please add here all the directories with absolute path # (e.g. -L/usr/local/lib) and libraries (e.g. -lsvs) needed by the executables. ABS_LIBRARIES:= ${ABS_LIBRARIES} # Please add here all the directories with relative path # (e.g. -L../MyLib/lib) REL_LIBRARIES:= $(REL_LIBRARIES:-L%=-L../%) # Please add here all the objects with absolute path # that are needed by the executables. ABS_OBJECTS:= ${ABS_OBJECTS} # Please add here all the objects with relative path # that are needed by the executables. REL_OBJECTS:= $(REL_OBJECTS:%=../%) # Debug status (This variable takes two values: TRUE or FALSE) DEBUG_ON:=$(DEBUG_ON) # Debugging flags DEBUG:=-O0 -g3 # Non-Debugging flags ifeq "${OS_TYPE}" "linux" # For linux OS NODEBUG:=-O4 -DNDEBUG -mfpmath=sse -march=native ${ICL_OPTIMIZATION} endif ifeq "${OS_TYPE}" "macosx" # For mac OS NODEBUG:=-O4 -DNDEBUG ${ICL_OPTIMIZATION} endif # Compilation defines for C (e.g. -DASSERT, -DEXCEPTION, -DREENTRANT) CDEFINES:= ${CDEFINES} # Flags for C compiler CFLAGS:= ${CFLAGS} # Compilation defines for C++ (e.g. -DASSERT, -DEXCEPTION, -DREENTRANT) CPPDEFINES:= ${CPPDEFINES} # Flags for C++ compiler CPPFLAGS:= ${CPPFLAGS} # Flags for archive ARFLAGS:= ${ARFLAGS} # Flags for static library linker LDFLAGS:= ${LDFLAGS} # Flags for dynamic library linker LDDYNFLAGS:= ${LDDYNFLAGS} # Change the linker to g++ CMD_LD=g++ ######################################################################### # Dependency checks ######################################################################### include ${SRC_ROOT}/make/dependencyChecks # now we include the config file (never mind build yet or earlier) include ${SRC_ROOT}/config # Exclude the folowing folder or files ifeq "$(HAVE_QT)" "" SKIP_DIRECTORIES += ICLQt SKIP_DIRECTORIES += ICLGeom endif ifeq "$(HAVE_SVS)" "" SKIP_DIRECTORIES += ICLSVS endif ######################################################################### # Set the priority level ######################################################################### DIR_PRIORITY:=ICLUtils ICLCore ICLCC DIR_LOWPRIORITY:=ICLGeom ICLAlgorithms examples ######################################################################### # Exclude the folowing folder or files ######################################################################### SKIP_DIRECTORIES +=