TOP = ../../.. PROGRAM = UnitTests # This line includes default values for the variables below include $(TOP)/build/defaults.cfg # whether to use double (1) or float (0) for TData CLAM_DOUBLE = 0 # whether to compile XML dependant code, and link agains Xerces CLAM_USE_XML = 0 # whether to disable all the CLAM checks, both debug and normal #CLAM_DISABLE_CHECKS = 0 # whether to simulate release checks being in debug mode #CLAM_USE_RELEASE_ASSERTS = 0 # external library dependency indicators USE_ALSA = 1 USE_FFTW = 1 #USE_FLTK = 0 USE_QT = 1 #USE_DIRECTX = $(HAS_DIRECTX) #USE_PORTAUDIO = 0 #USE_PORTMIDI = 0 #USE_RTAUDIO = 0 USE_PTHREADS = 1 USE_CPPUNIT = 1 USE_SNDFILE = 1 USE_OGGVORBIS = 1 USE_MAD = 1 USE_ID3 = 1 ############### #USE_FFTW = 1 #USE_SFFTW = 1 #USE_XERCES = 1 #USE_FLTK = 1 #USE_QT = 1 #USE_SNDFILE = 1 #USE_OGGVORBIS = 1 #USE_LADSPA = 1 #USE_ALSA = 1 #USE_MAD = 1 #USE_ID3 = 1 #USE_RTAUDIO = 1 #USE_PTHREADS = 1 #USE_LIBSNDFILE = 1 ############### PRJ_SEARCH_INCLUDES = PRJ_SEARCH_RECURSE_INCLUDES = \ $(CLAM_PATH)/test/UnitTests \ $(TOP)/src/ \ $(TOP)/../common/src/ \ include $(TOP)/build/system.cfg # for avoiding the nasty bug of Factories being instantiated more than once over the same # memory address INLINE_VC6_FIX_FLAGS_RELEASE = \ /nologo /MD /W3 /GR /GX /O2 /Ob0 /FD /c /Zm1000 # for avoiding the possible bug in gcc-3.2.2 (RedHat patch) code optimizer and usage of # fomit-frame-pointer CXXFLAGS_RELEASE_SAFE= -O3 #APPLE_CXXFLAGS_RELEASE_SAFE= -O3 -fno-inline -fcoalesce -fcoalesce-templates CXXFLAGS_RELEASE = $(OS_WINDOWS? $(INLINE_VC6_FIX_FLAGS_RELEASE) : $(CXXFLAGS_RELEASE) ) CXXFLAGS_RELEASE = $(OS_LINUX? $(CXXFLAGS_RELEASE_SAFE) : $(CXXFLAGS_RELEASE) ) #CXXFLAGS_RELEASE = $(OS_MACOSX? $(APPLE_CXXFLAGS_RELEASE_SAFE) : $(CXXFLAGS_RELEASE) ) CXXFLAGS_RELEASE = $(CXXFLAGS_RELEASE) \ -D_REENTRANT \ -DQT_THREAD_SUPPORT \ -DQT_SHARED \ CXXFLAGS_DEBUG = $(CXXFLAGS_DEBUG) \ -D_REENTRANT \ -DQT_THREAD_SUPPORT \ -DQT_SHARED \ #add here the path to the ui files from designer UI_FILES = SOURCES = \ $(TOP)/src/test/UnitTest/AnnotatorDataFacadeTest.cxx \ $(TOP)/src/test/UnitTest/AnnotatorDataFacadeDataInFileTest.cxx \ $(TEST_RUNNER) \