1 # Makefile for AliRoot for Itanium/Linux with gcc
3 # System dependent commands
11 CCMAJORV = $(shell $(CC) -dumpversion | cut -d. -f1)
12 CCMINORV = $(shell $(CC) -dumpversion | cut -d. -f2)
24 CLIBDEFS = -DCERNLIB_LXIA64 -DCERNLIB_BLDLIB -DCERNLIB_CZ
27 CLIBFOPT = $(CLIBDEFS)
31 CXXFLAGS = $(CXXOPT) -W -Wall -Weffc++ -Woverloaded-virtual -fPIC -pipe -fmessage-length=0 -Wno-long-long -pedantic-errors -ansi
32 CXXFLAGSNO = $(CXXNOOPT) -W -Wall -Weffc++ -fPIC -pipe -fmessage-length=0 -Wno-long-long -pedantic-errors -ansi
34 CXXFLAGS = $(CXXOPT) -Wall -fPIC -pipe
35 CXXFLAGSNO = $(CXXNOOPT) -Wall -fPIC -pipe
37 CFLAGS = -Wall -fPIC -pipe
38 FFLAGS = $(CLIBFOPT) $(FOPT) -fno-second-underscore -fPIC
39 # rmkdepend flags for building dependencies of FORTRAN files
40 DEPENDFFLAGS = $(FFLAGS)
46 LDFLAGS = $(OPT) -Wl,-Map -Wl,$@.map
49 SOFLAGS = -shared -Wl -O2
57 # additional ROOT libraries
59 LIBNOVER = `find /lib64 -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib64/ -l/'`
62 SYSLIBS := -ldl -lcrypt -L/usr/X11R6/lib64 -lX11 $(LIBNOVER)