Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:58:17

0001 
0002 # XDAQ_ROOT should be defined 
0003 # define XDAQ_OS amd XDAQ_PLATRFORM
0004 include $(XDAQ_ROOT)/config/mfAutoconf.rules
0005 include $(XDAQ_ROOT)/config/mfDefs.$(XDAQ_OS)
0006 
0007 PACKAGE=pixel
0008 
0009 CC_OPTIM=-fPIC -DLINUX 
0010 #ADDED_CFLAGS=-g -DDEBUG
0011 ADDED_CFLAGS=-DNDEBUG 
0012 
0013 IncludeDirs = \
0014         -I$(BUILD_HOME)/$(PACKAGE) \
0015         -I$(XDAQ_ROOT)/include
0016 
0017 
0018 LibraryDirs = \
0019         -L$(BUILD_HOME)/pixel/lib \
0020         -L$(XDAQ_ROOT)/lib 
0021 
0022 
0023 Libraries= -l SiPixelObjects -l PixelTestStandUtilities
0024 
0025 
0026 HAL = -L$(XDAQ_ROOT)/daq/hal/lib/$(XDAQ_OS)/$(XDAQ_PLATFORM)  -lGenericHAL -lHALUtilities -lCAENVME -lconfig
0027 
0028 
0029 LIBS = $(LibraryDirs) $(Libraries)  
0030 
0031 PIXEL_INCLUDE = $(XDAQ_ROOT)/pixel/ 
0032 INC = -I.  $(IncludeDirs) -I$(PIXEL_INCLUDE) 
0033 
0034 CFLAGS=$(CC_OPTIM) $(ADDED_CFLAGS) -Wall -Wstrict-prototypes $(INC)
0035 
0036 
0037 testPixelCalib: testPixelCalib.cc
0038         g++ -o testPixelCalib -I$(XDAQ_ROOT)/pixel $(IncludeDirs) testPixelCalib.cc $(LIBS) 
0039 
0040