1 # -*- mode: makefile -*-
2 # Makefile to build AliRoot for Linux
4 # System dependent commands
18 CLIBDEFS = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
21 CLIBFOPT = $(CLIBDEFS)
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)
34 LD = $(shell root-config --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
47 # additional ROOT libraries
50 SYSLIBS := -ldl -lg2c -lcrypt -L/usr/X11R6/lib -lX11