1 # -*- mode: makefile -*-
2 # Makefile to build AliRoot for Linux on alpha
4 # System dependent commands
8 CCMAJORV = $(shell $(CC) -dumpversion | cut -d. -f1)
9 CCMINORV = $(shell $(CC) -dumpversion | cut -d. -f2)
12 OPT = -O -g -mieee -mno-soft-float
13 NOOPT = -g -mieee -mno-soft-float
21 CLIBDEFS = -DCERNLIB_UNIX -DCERNLIB_DECS -DCERNLIB_BLDLIB -DCERNLIB_CZ
24 CLIBFOPT = $(CLIBDEFS)
28 CXXFLAGS = $(OPT) -Wall -fPIC -pipe
29 CXXFLAGSNO = $(NOOPT) -Wall -fPIC -pipe
30 CFLAGS = $(OPT) -Wall -fPIC -pipe -ansi
31 FFLAGS = $(CLIBFOPT) $(FOPT) -Wall -fPIC -pipe -fno-second-underscore
32 # rmkdepend flags for building dependencies of FORTRAN files
33 DEPENDFFLAGS = $(FFLAGS)
38 LD = $(shell root-config --ld)
42 SOFLAGS = $(OPT) -Wall -fPIC -pipe -shared -Wl
52 SYSLIBS := -ldl -lg2c -lcrypt -L/usr/X11R6/lib -lX11