]> git.uio.no Git - u/mrichter/AliRoot.git/blame - build/Makefile.macosxicc
pedestal values subtracted
[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
14CXX = icc
15CC = icc
16
17F77 = ifort
18
19# Global optimisation
20OPT = -O -g
21NOOPT = -g
22
23CXXOPT = $(OPT)
24CXXNOOPT = $(NOOPT)
25COPT = $(OPT)
26FOPT = $(OPT)
27
28# CERNLIB defines
29CLIBDEFS = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ -DCERNLIB_PPC
30CLIBCXXOPTS =
31CLIBCOPT =
32CLIBFOPT = $(CLIBDEFS)
33
34# Compiler flags
35CXXFLAGS = $(CXXOPT) -fPIC -wd1476 -I/usr/X11R6/include -I$(FINK_ROOT)/include
36
37CXXFLAGSNO = $(CXXNOOPT)
38
39CFLAGS = $(COPT) -fPIC -restrict -I$(FINK_ROOT)/include
40
41FFLAGS = $(CLIBFOPT) $(FOPT)
42# rmkdepend flags for building dependencies of FORTRAN files
43DEPENDFFLAGS = $(FFLAGS)
44
45# rootcint flags
46CINTFLAGS =
47
48LD = icpc
49LDFLAGS = $(OPT) $(DICTLOAD)
50
51SHLD := $(LD)
52SOFLAGS := $(OPT) -dynamiclib -undefined dynamic_lookup -single_module
53SHLIB :=
54SOEXT := so
55
56DYLD := $(LD)
57DYFLAGS = -dynamiclib -undefined dynamic_lookup -single_module
58DYLIB :=
59DYEXT := dylib
60
61ALLD = ar
62ALFLAGS = cr
63ALLIB =
64AEXT = a
65
66DEPENDCXXFLAGS = $(CXXFLAGS) -I/usr/include/sys
67
68EXEFLAGS := -bind_at_load
69
70#System libraries
71
72SYSLIBS := -L/usr/X11R6/lib -lX11 -lGL $(LIBNOVER) -L/usr/local/lib \
73 -lXt -L$(shell which ifort | sed -e 's|bin/ifort|lib|') \
74 -lifcore -lifport
75
76