7 CXX = echo $*.cxx ; g++
14 # Shared library suffix
22 # starting from root.2.22 on Linux the flags -fno-rtti -fno-exceptions are
23 # not necessary any more
25 CXXOPTS = $(OPT) -Wall -fPIC -pipe
27 FOPT = $(OPT) -fno-second-underscore
31 CLIBDEFS = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
36 # Additional directories for dependencies
38 DEPINC = `rm -f /tmp/d_$$$$.cxx; touch /tmp/d_$$$$.cxx ; \
39 g++ -v -c /tmp/d_$$$$.cxx -o /dev/null 2>&1 | \
40 awk 'BEGIN {i=0} {if(substr($$0,1,10)=="End of sea") i=0; \
41 if(i==1) printf "%s",$$sub(" ","-I")" "; \
42 if(substr($$0,1,10) == "\#include <") i=1}' ; \
49 SOFLAGS = -Wl,-soname,$(notdir $@) -shared
53 LIBNOVER = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
54 GLIBS = $(ROOTLIBS) -L/usr/X11R6/lib -lX11 -lg2c -lcrypt $(LIBNOVER)