1. Adding ARVersion.h as a prerequisite for the DA targets, allows to build the DA...
[u/mrichter/AliRoot.git] / build / Makefile.win32gcc
CommitLineData
d95a3ef8 1# -*- mode: makefile -*-
5c0f7251 2# Makefile to build AliRoot for Linux
3
4# System dependent commands
5
6XARGS = xargs -r
7
8# The compilers
5f30d16c 9CXX = $(shell root-config --cxx)
10F77 = $(shell root-config --f77)
11CC = $(shell root-config --cc)
5c0f7251 12CCMAJORV = $(shell $(CC) -dumpversion | cut -d. -f1)
13CCMINORV = $(shell $(CC) -dumpversion | cut -d. -f2)
14
15# Global optimisation
16OPT = -O -g
17NOOPT = -g
18
19CXXOPT = $(OPT)
20CXXNOOPT = $(NOOPT)
21COPT = $(OPT)
22FOPT = $(OPT)
23
24# CERNLIB defines
25CLIBDEFS = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
26CLIBCXXOPTS =
27CLIBCOPT =
28CLIBFOPT = $(CLIBDEFS)
29
30# Compiler flags
ad2f2da2 31CXXFLAGS = $(OPT) -Wall -pipe -Woverloaded-virtual -Weffc++ -D_DLL
32CXXFLAGSNO = $(NOOPT) -Wall -pipe -Woverloaded-virtual -Weffc++ -D_DLL
5c0f7251 33CFLAGS = $(OPT) -Wall -D_DLL
34FFLAGS = $(CLIBFOPT) $(FOPT) -fno-second-underscore
35# rmkdepend flags for building dependencies of FORTRAN files
36DEPENDFFLAGS = $(FFLAGS)
37
38# rootcint flags
39CINTFLAGS =
40
5f30d16c 41LD = $(shell root-config --ld)
5c0f7251 42LDFLAGS = $(OPT)
43
44SHLD = $(LD)
45SOFLAGS = $(OPT) -shared -Wl,--export-all-symbols -Wl,-soname=$$TMPLIB -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc
46SHLIB = $(shell root-config --libs) -lg2c
47SOEXT = dll
48
49ALLD = ar
50ALFLAGS = cr
51ALLIB =
52AEXT = a
53
54# additional ROOT libraries
55
56#System libraries
57SYSLIBS := -ldl -lg2c -lcrypt -L/usr/X11R6/lib -lX11
58
59
60
61
62