--- yoda/event/physics/calorimeter/Makefile.am 2004/07/06 12:20:23 1.1.1.1 +++ yoda/event/physics/calorimeter/Makefile.am 2006/09/21 13:10:12 6.2 @@ -1,12 +1,14 @@ AUTOMAKE_OPTIONS = foreign no-dependencies no-installinfo -INCLUDES = -I@top_srcdir@ @ROOT_INCLUDES@ +INCLUDES = -I@top_srcdir@ @ROOT_INCLUDES@ LDFLAGS = @ROOT_LDFLAGS@ -noinst_LTLIBRARIES = libcalorimeterevent.la -libcalorimeterevent_la_SOURCES = CalorimeterEvent.cpp CalorimeterEvent.h \ - CalorimeterEventDict.cpp CalorimeterEventDict.h LinkDef.h +YODA_HEADER_FILES = CalorimeterEvent.h +yodaincdir = $(includedir)/yoda/physics/calorimeter +yodainc_HEADERS = ${YODA_HEADER_FILES} -BUILT_SOURCES = CalorimeterEventDict.cpp CalorimeterEventDict.h +YODA_SOURCES = CalorimeterEvent.cpp -CalorimeterEventDict.cpp: CalorimeterEvent.h LinkDef.h - @ROOTCINT@ -f $@ -c ${INCLUDES} $^ +noinst_LTLIBRARIES = libcalorimeterevent.la + +libcalorimeterevent_la_SOURCES = ${YODA_HEADER_FILES} \ + ${YODA_SOURCES}