Reading muon trigger scalers with the DA of the muon trigger and transfer
[u/mrichter/AliRoot.git] / PHOS / Makefile
CommitLineData
f17e1fe1 1PACKAGE = invalid-only-for-proof
2
41f671ab 3include Makefile.arch
84d4333f 4
958d9d26 5SRCS = $(wildcard *.cxx)
6HDRS = $(SRCS:.cxx=.h)
7DHDR = $(PACKAGE)LinkDef.h
f17e1fe1 8
9ifndef PACKCXXFLAGS
10 PACKCXXFLAGS = $(CXXFLAGS)
11endif
12
13ALICEINC = -I.
14
15### define include dir for local case and par case
16
d8c66d16 17ifneq ($(STEERBase_INCLUDE),)
18 ALICEINC += -I../$(STEERBase_INCLUDE)
19endif
f17e1fe1 20
21# only if no par file was loaded before
41f671ab 22#ifeq ($(ALICEINC),-I.)
f17e1fe1 23 ifneq ($(ALICE_ROOT),)
24 ALICEINC += -I$(ALICE_ROOT)/include
25 endif
41f671ab 26#endif
f17e1fe1 27
28CXXFLAGS += $(ALICEINC) -g
29
30SRCS += G__$(PACKAGE).cxx
31OBJS = $(SRCS:.cxx=.o)
32
33lib$(PACKAGE).so: $(OBJS)
34 @echo "Linking" $@ ...
35 @/bin/rm -f $@
41f671ab 36 $(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS)
f17e1fe1 37 @chmod a+x $@
38 @echo "done"
39
40%.o: %.cxx %.h
41 $(CXX) $(PACKCXXFLAGS) -c $< -o $@
42
43clean:
44 @rm -f $(OBJS) *.so G__$(PACKAGE).*
45
46G__$(PACKAGE).cxx G__$(PACKAGE).h: $(HDRS) $(DHDR)
47 @echo "Generating dictionaries ..." $(ALICEINC)
48 rootcint -f $@ -c $(CINTFLAGS) $(ALICEINC) $^
49