X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=HLT%2Fmake.dict;h=7ba1f3f809942bd05ebc9a4c1f8e48aae4956c15;hb=47791468b84db3988e4115a27693750a86b571b6;hp=c9f6e8eed00dd662fadea3fe5dae3491b29171ba;hpb=4386ebdbf1757687b605eedc1885405d86ba2860;p=u%2Fmrichter%2FAliRoot.git diff --git a/HLT/make.dict b/HLT/make.dict index c9f6e8eed00..7ba1f3f8099 100644 --- a/HLT/make.dict +++ b/HLT/make.dict @@ -35,7 +35,9 @@ EXTRA_DIST += $(MODULE_DHDR) # the rootcint buffer for macros is limited to 1024 characters # we have to filter out some of the defines -DEFFILTER = -DPACKAGE* +# The asterisk at the end is important even for defines which +# are not wildcards. But otherwise the case does not pick them. +DEFFILTER = -DPACKAGE* -DHAVE_STDLIB_H=1* -DHAVE_STRING_H=1* -DHAVE_MEMORY_H=1* -DHAVE_STRINGS_H=1* -DHAVE_INTTYPES_H=1* -DHAVE_STDINT_H=1* -DHAVE_UNISTD_H=1* -DHAVE_DLFCN_H=1* -DHAVE_NOT_ALIMAGF30848* -DHAVE_NOT_ALTRORAWSTREAMV3* -DHAVE_NOT_ALIRUNLOADER30859* -DHAVE_NOT_ESD_COPY* -DHAVE_NOT_MUON_DIGITMAKER_GETRAWSTREAM* -DHAVE_NOT_ALITPCCALIBPULSER* -DHAVE_NOT_ALIRAWREADERMEMORY_ADDBUFFER* -DHAVE_NOT_TPCOFFLINE_REC* $(DICTCPP:.cxx=.h): $(DICTCPP) if test $@ ; then : ; else rm -f $< ; $(MAKE) $(MAKEFLAGS) $< ; fi @@ -55,5 +57,7 @@ $(DICTAUTODEF): Makefile.am $(PKGDEF) @echo '#pragma link off all classes;' >> $@ @echo '#pragma link off all functions;' >> $@ @$(foreach i, $(DICTHEADERS:.h=), \ - echo "#pragma link C++ class "`echo $(i)| sed -e 's|.*/||'`"+;" >> $@ ;) + attribute='+' ;\ + cat $(srcdir)/$(i).cxx | grep -e $(i)::Streamer | grep TBuffer > /dev/null && attribute='-' ;\ + echo "#pragma link C++ class "`echo $(i)| sed -e 's|.*/||'`"$$attribute;" >> $@ ;) @echo '#endif' >> $@