
INCLUDES = -I/atlas/daq/daq-1/installed/include
INCLUDES += -I/atlas/daq/daq-1/installed/i686-rh72-gcc295/include
#JINCLUDES = -i /atlas/daq/daq-1/installed/include

#INCLUDES += -I/atlas/daq/test/include
LIBS = -L/atlas/daq/daq-1/installed/i686-rh72-gcc295/lib -lcmdline -loh -lis -lipc -lilu-c++ -lilu -lowl -lpthread

#ROOTCFLAGS   := $(shell root-config --cflags)
#ROOTLIBS     := $(shell root-config --libs)
#ROOTGLIBS    := $(shell root-config --glibs)

CXXFLAGS = -g -fPIC -D_GNU_SOURCE $(INCLUDES) $(ROOTCFLAGS)
#CXXFLAGS = -g -ansi  $(INCLUDES)
LIBS += $(ROOTLIBS)

all:    issend isretrieve pipesend piperetrieve

issend: ISSend.cpp TestInfo.h
	gcc $(CXXFLAGS) $(LIBS) -o issend ISSend.cpp

isretrieve: ISRetrieve.cpp TestInfo.h
	gcc $(CXXFLAGS) $(LIBS) -o isretrieve ISRetrieve.cpp

pipesend: PipeSend.cpp TestInfo.h
	gcc $(CXXFLAGS) $(LIBS) -o pipesend PipeSend.cpp

piperetrieve: PipeRetrieve.cpp TestInfo.h
	gcc $(CXXFLAGS) $(LIBS) -o piperetrieve PipeRetrieve.cpp


