5 CXX = echo $*.cxx ; g++
13 # Shared library suffix
18 # starting from root.2.22 on Linux the flags -fno-rtti -fno-exceptions are
19 # not necessary any more
21 CXXOPTS = $(OPT) -Wall -fPIC
23 FOPT = $(OPT) -fno-second-underscore
27 CLIBDEFS = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
32 # Additional directories for dependencies
34 DEPINC = `rm -f /tmp/d.cxx; touch /tmp/d.cxx ; \
35 g++ -v -c /tmp/d.cxx -o /dev/null 2>&1 | \
36 awk 'BEGIN {i=0} {if(substr($$0,1,10)=="End of sea") i=0; \
37 if(i==1) printf "%s",$$sub(" ","-I")" "; \
38 if(substr($$0,1,10) == "\#include <") i=1}' ; rm /tmp/d.cxx`
44 SOFLAGS = -Wl,-soname,$(notdir $@) -shared
47 LIBS = $(ROOTLIBS) -lm -ldl -rdynamic
48 GLIBS = $(ROOTLIBS) $(ROOTGLIBS) -L/usr/X11R6/lib -lX11 -lg2c -ldl -lcrypt -rdynamic