7 CXX = echo $*.cxx ; g++
14 # Shared library suffix
19 # starting from root.2.22 on Linux the flags -fno-rtti -fno-exceptions are
20 # not necessary any more
22 CXXOPTS = $(OPT) -Wall -fPIC
24 FOPT = $(OPT) -fno-second-underscore
28 CLIBDEFS = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
33 # Additional directories for dependencies
35 DEPINC = `rm -f /tmp/d_$$$$.cxx; touch /tmp/d_$$$$.cxx ; \
36 g++ -v -c /tmp/d_$$$$.cxx -o /dev/null 2>&1 | \
37 awk 'BEGIN {i=0} {if(substr($$0,1,10)=="End of sea") i=0; \
38 if(i==1) printf "%s",$$sub(" ","-I")" "; \
39 if(substr($$0,1,10) == "\#include <") i=1}' ; \
46 SOFLAGS = -Wl,-soname,$(notdir $@) -shared
50 GLIBS = $(ROOTLIBS) -L/usr/X11R6/lib -lX11 -lg2c -lcrypt