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