1 # Makefile to build AliRoot for Linux
9 CCMAJORV = $(shell $(CC) -dumpversion | cut -d. -f1)
15 CXXOPTS = $(OPT) -W -Wall -fPIC -pipe
17 CXXOPTS = $(OPT) -W -Wall -Werror -fPIC -pipe -fmessage-length=0 -Wno-long-long -pedantic-errors -ansi
20 FOPT = $(OPT) -fno-second-underscore
22 CFLAGS = $(OPT) -Wall -Werror -fPIC -pipe -Wno-long-long -pedantic-errors -ansi
29 CLIBDEFS = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
34 # Common Fortran compilation flags
35 FFLAGS = $(CLIBFOPT) $(CLIBDEFS) $(FOPT)
41 SOFLAGS = $(OPT) -shared -Wl
50 # additional ROOT libraries
53 # rmkdepend flags for building dependencies of FORTRAN files
54 DEPENDFFLAGS = $(FFLAGS)
56 LIBNOVER = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
57 GLIBS = -L/usr/X11R6/lib -lX11 $(LIBNOVER)