could you please commit the attached TPC PID files to the OADB:
[u/mrichter/AliRoot.git] / OADB / Makefile
CommitLineData
1297834e 1PACKAGE = invalid-only-for-proof
2
41f671ab 3include Makefile.arch
1297834e 4
958d9d26 5SRCS = $(wildcard *.cxx */*.cxx)
6HDRS = $(SRCS:.cxx=.h)
7DHDR = $(PACKAGE)LinkDef.h
1297834e 8
9
10ifndef PACKCXXFLAGS
11 PACKCXXFLAGS = $(CXXFLAGS)
12endif
13
14ALICEINC = -I.
15
a18817ac 16ifneq ($(STEERBase_INCLUDE),)
17 ALICEINC += -I../$(STEERBase_INCLUDE)
18endif
19
cc615d26 20ifneq ($(ANALYSIS_INCLUDE),)
21 ALICEINC += -I../$(ANALYSIS_INCLUDE)
22endif
23
1297834e 24ifneq ($(OADB_INCLUDE),)
25 ALICEINC += -I../$(OADB_INCLUDE)
26endif
27
28# only if no par file was loaded before
41f671ab 29#ifeq ($(ALICEINC),-I.)
1297834e 30 ifneq ($(ALICE_ROOT),)
31 ALICEINC += -I$(ALICE_ROOT)/include
32 endif
41f671ab 33#endif
1297834e 34
35
36
8bfe3849 37ifeq ($(PLATFORM),macosx)
38ROOTLIBDIR := $(shell $(RC) --libdir)
39ifeq ($(PACKAGE),OADB)
40 PACKLDFLAGS = $(STEERBase_LIBS) $(ESD_LIBS) $(AOD_LIBS) $(ANALYSIS_LIBS) -L$(ROOTLIBDIR) -lVMC -lMinuit -lEG -lGeom
41endif
42endif
43
1297834e 44
45CXXFLAGS += $(ALICEINC) -g
46
47SRCS += G__$(PACKAGE).cxx
48OBJS = $(SRCS:.cxx=.o)
49
50lib$(PACKAGE).so: $(OBJS)
51 @echo "Linking" $@ ...
52 @/bin/rm -f $@
8bfe3849 53ifeq ($(PLATFORM),macosx)
54 $(LD) $(SOFLAGS)$@ $(LDFLAGS) $^ $(OutPutOpt) $@ $(PACKLDFLAGS) $(EXPLLINKLIBS)
55else
56 $(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(PACKLDFLAGS) $(EXPLLINKLIBS)
57endif
1297834e 58 @chmod a+x $@
59 @echo "done"
60
61%.o: %.cxx %.h
62 $(CXX) $(PACKCXXFLAGS) -c $< -o $@
63
64clean:
65 @rm -f $(OBJS) *.so G__$(PACKAGE).*
66
67G__$(PACKAGE).cxx G__$(PACKAGE).h: $(HDRS) $(DHDR)
68 @echo "Generating dictionaries ..." $(ALICEINC)
69 rootcint -f $@ -c $(CINTFLAGS) $(ALICEINC) $^
70