]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/make.dict
add methods to retrieve real survey data, and make some analysis (by B. Guerzoni)
[u/mrichter/AliRoot.git] / HLT / make.dict
index a3aa7ec6b30bb20c18055f5ed6cba04803ccdebe..fd361df68072020096828da8f4e9eb239a191237 100644 (file)
@@ -26,7 +26,7 @@ $(DICTCPP:.cxx=.h): $(DICTCPP)
 
 $(DICTCPP): $(DICTHEADERS:%=$(srcdir)/%) $(DICTDEF)
        if [ -x $(ROOTCINT) ]; then $(ROOTCINT) -f $@ -c $(CPPFLAGS) $(AM_CPPFLAGS) $(DEFS) $(foreach i, $(DICTINCLUDE), $(i)) $^ ; fi
-$(DICTDEF): Makefile.am
+$(DICTDEF): Makefile.am $(PKGDEF)
        @echo '//automatically generated ROOT DICT definition' > $@
        @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
        @echo '//add further class definitions to the CLASS_HDRS variable in Makefile.am' >> $@
@@ -35,5 +35,5 @@ $(DICTDEF): Makefile.am
        @echo '#pragma link off all classes;' >> $@
        @echo '#pragma link off all functions;' >> $@
        @$(foreach i, $(DICTHEADERS:.h=), \
-          echo "#pragma link C++ class $(i);" >> $@ ;)
+          echo "#pragma link C++ class "`echo $(i)| sed -e 's|.*/||'`"+;" >> $@ ;)
        @echo '#endif' >> $@