Add SHLD variable required by general macros
[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)
6e490f95 10 @$(SHLD) -o $@ $^ -lcxxstd -lcxx -lexc -lots -lc
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
44macroclean:
45 @rm -f $(TOCLEAN) *~ \#*
46