]> git.uio.no Git - u/mrichter/AliRoot.git/blob - build/Makefile.win32gcc
Adding a energy calib object for ZPs
[u/mrichter/AliRoot.git] / build / Makefile.win32gcc
1 # -*- mode: makefile -*-
2 # Makefile to build AliRoot for Linux
3
4 # System dependent commands
5
6 XARGS = xargs -r
7
8 # Global optimisation
9 OPT           = -O -g
10 NOOPT         = -g
11
12 CXXOPT        = $(OPT)
13 CXXNOOPT      = $(NOOPT)
14 COPT          = $(OPT)
15 FOPT          = $(OPT)
16
17 # CERNLIB defines
18 CLIBDEFS      = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
19 CLIBCXXOPTS   =
20 CLIBCOPT      =
21 CLIBFOPT      = $(CLIBDEFS)
22
23 # Compiler flags
24 CXXFLAGS       = $(OPT) -Wall -pipe -Woverloaded-virtual -Weffc++ -D_DLL
25 CXXFLAGSNO     = $(NOOPT) -Wall -pipe -Woverloaded-virtual -Weffc++ -D_DLL
26 CFLAGS         = $(OPT) -Wall -D_DLL
27 FFLAGS         = $(CLIBFOPT) $(FOPT) -fno-second-underscore
28 # rmkdepend flags for building dependencies of FORTRAN files
29 DEPENDFFLAGS   = $(FFLAGS)
30
31 # rootcint flags
32 CINTFLAGS     = 
33
34 LD            = $(shell root-config --ld)
35 LDFLAGS       = $(OPT) 
36
37 SHLD          = $(LD)
38 SOFLAGS       = $(OPT) -shared -Wl,--export-all-symbols -Wl,-soname=$$TMPLIB -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc
39 SHLIB         = $(shell root-config --libs) -lg2c
40 SOEXT         = dll
41
42 ALLD          = ar
43 ALFLAGS       = cr
44 ALLIB         = 
45 AEXT          = a
46
47 # additional ROOT libraries
48
49 #System libraries
50 SYSLIBS      := -ldl -lg2c -lcrypt -L/usr/X11R6/lib -lX11
51
52
53
54
55