Moved from AliTransbit to AliL3Transbit.
[u/mrichter/AliRoot.git] / PDF / Makefile
CommitLineData
bc9555b4 1############################### PDF Makefile ##################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = PDF
9
10PDFDIRS = spdf npdf
11
12# C++ sources
13
14SRCS =
15
16FSRCS = $(wildcard $(patsubst %,%/*.F,$(PDFDIRS)))
17
18FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
19
20SRCS = $(FSRCS)
21OBJS = $(FOBJS)
22
23# C++ compilation flags
24
25CXXFLAGS = $(CXXOPTS) $(CLIBCXXOPTS) $(CLIBDEFS) -I.
e22fdcea 26
bc9555b4 27# C compilation flags
28
29CFLAGS = $(COPT) $(CLIBCOPT) $(CLIBDEFS) -I.
e22fdcea 30
bc9555b4 31# FORTRAN compilation flags
32
e22fdcea 33FFLAGS = $(FOPT) $(CLIBFOPT) $(CLIBDEFS) -DCERNLIB_DOUBLE -I. -Ipdf
34
bc9555b4 35# Target
36
37SLIBRARY = $(LIBDIR)/libpdf.$(SL)
38ALIBRARY = $(LIBDIR)/libpdf.a
39
40default: $(SLIBRARY)
41
42$(LIBDIR)/libpdf.$(SL): $(OBJS)
43
44depend: $(SRCS)
45
46TOCLEAN = $(OBJS)
47
48############################### General Macros ################################
49
50include $(ALICE_ROOT)/conf/GeneralMacros
51
52############################ Dependencies #####################################
53
54-include tgt_$(ALICE_TARGET)/Make-depend