PACKAGE = invalid-only-for-proof include Makefile.arch SRCS = $(wildcard *.cxx) HDRS = $(SRCS:.cxx=.h) DHDR = $(PACKAGE)LinkDef.h ifndef PACKCXXFLAGS PACKCXXFLAGS = $(CXXFLAGS) endif ALICEINC = -I. ALICEINC += -I./$(PACKAGE)/ ifneq ($(PWGCFebye_INCLUDE),) ALICEINC += -I../$(PWGCFebye_INCLUDE) -I../$(PWGCFebye_INCLUDE)/LRC else ALICEINC += -I$(ALICE_ROOT)/PWGCF/EBYE -I$(ALICE_ROOT)/PWGCF/EBYE/LRC endif ifneq ($(PWGCFfemtoscopy_INCLUDE),) ALICEINC += -I../$(PWGCFfemtoscopy_INCLUDE) -I../$(PWGCFfemtoscopy_INCLUDE)/AliFemto else ALICEINC += -I$(ALICE_ROOT)/PWGCF/FEMTOSCOPY -I$(ALICE_ROOT)/PWGCF/FEMTOSCOPY/AliFemto endif ifneq ($(PWGCFfemtoscopyUser_INCLUDE),) ALICEINC += -I../$(PWGCFfemtoscopyUser_INCLUDE) endif ifneq ($(PWGCFunicor_INCLUDE),) ALICEINC += -I../$(PWGCFunicor_INCLUDE) endif # only if no par file was loaded before #ifeq ($(ALICEINC),-I.) ifneq ($(ALICE_ROOT),) ALICEINC += -I$(ALICE_ROOT)/include endif #endif CXXFLAGS += $(ALICEINC) -g SRCS += G__$(PACKAGE).cxx OBJS = $(SRCS:.cxx=.o) lib$(PACKAGE).so: $(OBJS) @echo "Linking" $@ ... @/bin/rm -f $@ $(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS) @chmod a+x $@ @echo "done" %.o: %.cxx %.h $(CXX) $(PACKCXXFLAGS) -c $< -o $@ clean: @rm -f $(OBJS) *.so G__$(PACKAGE).* G__$(PACKAGE).cxx G__$(PACKAGE).h: $(HDRS) $(DHDR) @echo "Generating dictionaries ..." $(ALICEINC) rootcint -f $@ -c $(CINTFLAGS) $(ALICEINC) $^