Modifications for alpha OSF1.
[u/mrichter/AliRoot.git] / conf / GeneralMacros
CommitLineData
fe4da5cc 1########################## General Macros #####################################
2
3$(SLIBRARY):
4 @echo "Generating $@ for $(PACKAGE)..."
5 @rm -f $@
6 ifeq ($(PLATFORM),aix)
7 @$(SHLD) -o $@ $(LIBS) -p 0 $^
8 else
9 ifeq ($(PLATFORM),alpha)
617b19ae 10 @$(SHLD) $(SOFLAGS) $(LDFLAGS) $^ $(SHLIB) -o $@
fe4da5cc 11 else
12 @$(LD) $(SOFLAGS) $(LDFLAGS) $^ $(SHLIB) -o $@
13 endif
14 endif
15 @chmod 555 $@
16 @echo "$@ done"
17
18
19$(ALIBRARY):
20 @echo "Generating $@ for $(PACKAGE)..."
21 @rm -f $@
22 @ar rv $@ $^
23 @echo "$@ done"
24
25$(PROGRAM):
26 @echo "Generating $@ for $(PACKAGE)..."
27 @rm -f $@
28 @$(LD) $(LDFLAGS) $^ $(LIBS) -o $@
29 @echo "$@ done"
30
31headers: $(patsubst %,$(ALICE_ROOT)/include/%,$(HEADERS))
32
33$(patsubst %,$(ALICE_ROOT)/include/%,$(HEADERS)) : $(ALICE_ROOT)/include/% : %
34 @cp -p $^ $@
35
36$(DICT):
37 @echo "Generating $@ for $(PACKAGE)..."
38 @rootcint -f $@ -c -I$(ALICE_ROOT)/include $^
39 @echo "$@ done"
40
41depend:
42 @$(MAKEDEPEND) -fMake-depend -- $(CXXFLAGS) $(DEPINC) -- $^
43
9f84158c 44Make-depend:
5c74b91b 45 @cp $(ALICE_ROOT)/conf/Makedepend ./Make-depend
9f84158c 46
fe4da5cc 47macroclean:
48 @rm -f $(TOCLEAN) *~ \#*
49