5 CCMAJORV = $(shell $(CC) -dumpversion | cut -d. -f1)
11 CXXOPTS = $(OPT) -W -Wall -fPIC -pipe
13 CXXOPTS = $(OPT) -W -Wall -Werror -fPIC -pipe -fmessage-length=0 -Wno-long-long -pedantic-errors -ansi
16 FOPT = $(OPT) -fno-second-underscore
18 CFLAGS = $(OPT) -Wall -Werror -fPIC -pipe -Wno-long-long -pedantic-errors -ansi
25 CLIBDEFS = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
30 # Common Fortran compilation flags
31 FFLAGS = $(CLIBFOPT) $(CLIBDEFS) $(FOPT)
37 SOFLAGS = $(OPT) -shared -Wl
46 # additional ROOT libraries
49 # rmkdepend flags for building dependencies of FORTRAN files
50 DEPENDFFLAGS = $(FFLAGS)
52 LIBNOVER = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
53 GLIBS = -L/usr/X11R6/lib -lX11 $(LIBNOVER)