7 CCMAJORV = $(shell $(CC) -dumpversion | cut -d. -f1)
13 CXXOPTS = $(OPT) -W -Wall -fPIC -pipe
15 CXXOPTS = $(OPT) -W -Wall -Werror -fPIC -pipe -fmessage-length=0 -Wno-long-long -pedantic-errors -ansi
18 FOPT = $(OPT) -fno-second-underscore
20 CFLAGS = $(OPT) -Wall -Werror -fPIC -pipe -Wno-long-long -pedantic-errors -ansi
27 CLIBDEFS = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
32 # Common Fortran compilation flags
33 FFLAGS = $(CLIBFOPT) $(CLIBDEFS) $(FOPT)
39 SOFLAGS = $(OPT) -shared -Wl
48 # additional ROOT libraries
51 # rmkdepend flags for building dependencies of FORTRAN files
52 DEPENDFFLAGS = $(FFLAGS)
54 LIBNOVER = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
55 GLIBS = -L/usr/X11R6/lib -lX11 $(LIBNOVER)