]> git.uio.no Git - u/mrichter/AliRoot.git/blob - build/Makefile.macosxicc
Access to the file analyzed available now in analysis classes through the reader...
[u/mrichter/AliRoot.git] / build / Makefile.macosxicc
1 # -*- mode: makefile -*-
2 # Makefile for AliRoot for MacOS X with gcc
3
4 XARGS = xargs
5
6 # fink directories
7 FINK_ROOT := $(shell which fink | sed -e 's?/bin/fink??')
8 ifeq (,$(FINK_ROOT))
9 # No fink, build will probably fail, but we try a guess
10 FINK_ROOT=/usr/local
11 endif
12
13 # The compilers
14 CXX           = $(shell root-config --cxx) 
15 CC            = $(shell root-config --cc)
16 F77           = $(shell root-config --f77)
17
18 # Global optimisation
19 OPT           = -O -g
20 NOOPT         = -g
21
22 CXXOPT        = $(OPT) 
23 CXXNOOPT      = $(NOOPT) 
24 COPT          = $(OPT)
25 FOPT          = $(OPT)
26
27 # CERNLIB defines
28 CLIBDEFS      = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ -DCERNLIB_PPC
29 CLIBCXXOPTS   =
30 CLIBCOPT      =
31 CLIBFOPT      = $(CLIBDEFS)
32
33 # Compiler flags
34 CXXFLAGS      = $(CXXOPT) -fPIC -wd1476 -I/usr/X11R6/include -I$(FINK_ROOT)/include 
35
36 CXXFLAGSNO    = $(CXXNOOPT) 
37
38 CFLAGS        = $(COPT) -fPIC -restrict -I$(FINK_ROOT)/include
39
40 FFLAGS        = $(CLIBFOPT) $(FOPT)
41 # rmkdepend flags for building dependencies of FORTRAN files
42 DEPENDFFLAGS  = $(FFLAGS)
43
44 # rootcint flags
45 CINTFLAGS     = 
46
47 LD            = $(shell root-config --ld)
48 LDFLAGS       = $(OPT) $(DICTLOAD)
49
50 SHLD         := $(LD)
51 SOFLAGS      := $(OPT) -dynamiclib -undefined dynamic_lookup -single_module
52 SHLIB        := 
53 SOEXT        := so
54
55 DYLD         := $(LD)
56 DYFLAGS       = -dynamiclib -undefined dynamic_lookup -single_module
57 DYLIB        := 
58 DYEXT        := dylib
59
60 ALLD          = ar
61 ALFLAGS       = cr
62 ALLIB         = 
63 AEXT          = a
64
65 DEPENDCXXFLAGS = $(CXXFLAGS) -I/usr/include/sys
66
67 EXEFLAGS     := -bind_at_load 
68
69 #System libraries
70
71 SYSLIBS      := -L/usr/X11R6/lib -lX11 -lGL $(LIBNOVER) -L/usr/local/lib \
72                 -lXt -L$(shell which ifort | sed -e 's|bin/ifort|lib|') \
73                 -lifcore -lifport
74
75