# Copyright (C) 2005 Florian Uhlig # # This file is free software; as a special exception the author gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. INCLUDES = $(ROOTCFLAGS) INCLUDES += -I$(top_srcdir)/geobase INCLUDES += -I$(top_srcdir)/parbase INCLUDES += -I$(top_srcdir)/field INCLUDES += -I$(top_srcdir)/base INCLUDES += -I$(top_srcdir)/mcstack INCLUDES += $(GEANT3INC) lib_LTLIBRARIES = libStt.la libStt_la_LDFLAGS = -version-info 0:0:0 libStt_la_LIBADD = -L$(ROOTLIBDIR) $(ROOTLIBS) -L$(top_srcdir)/base/ sources = CbmSttMatchTracks.cxx \ CbmGeoStt.cxx \ CbmSttPoint.cxx \ CbmSttTrack.cxx \ CbmStt.cxx \ CbmGeoSttPar.cxx \ CbmSttContFact.cxx \ CbmSttDigiPar.cxx \ CbmSttParRootFileIo.cxx \ CbmSttParAsciiFileIo.cxx \ CbmSttTrackFinder.cxx \ CbmSttFindTracks.cxx \ CbmSttTrackFinderIdeal.cxx \ CbmSttTrackFitter.cxx \ CbmSttFitTracks.cxx \ CbmSttTrackMatch.cxx \ CbmSttHit.cxx \ CbmSttHitInfo.cxx \ CbmSttHitProducerIdeal.cxx \ TStraw.cxx \ CbmSttHitProducerReal.cxx \ CbmSttHelixTrackFitter.cxx \ CbmSttGeomPoint.cxx include_HEADERS = $(patsubst %.cxx,%.h,$(sources)) noinst_HEADERS = SttLinkDef.h libStt_la_SOURCES = $(sources) CbmSttDict.cxx CLEANFILES = CbmSttDict.cxx CbmSttDict.h *~ libStt.la CbmSttDict.cxx: $(include_HEADERS) SttLinkDef.h $(ROOTCINT) -f $@ -c -DHAVE_CONFIG_H $(INCLUDES) $^