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