--- yoda/event/physics/calorimeter/Makefile.am 2004/09/21 20:50:29 2.0 +++ yoda/event/physics/calorimeter/Makefile.am 2004/12/03 22:04:38 2.1 @@ -1,12 +1,22 @@ 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/event/physics/calorimeter +yodainc_HEADERS = ${YODA_HEADER_FILES} -BUILT_SOURCES = CalorimeterEventDict.cpp CalorimeterEventDict.h +YODA_SOURCES = CalorimeterEvent.cpp -CalorimeterEventDict.cpp: CalorimeterEvent.h LinkDef.h +BUILT_SOURCES = CalorimeterEventDict.cpp CalorimeterEventDict.h + +noinst_LTLIBRARIES = libcalorimeterevent.la + +libcalorimeterevent_la_SOURCES = ${YODA_HEADER_FILES} \ + ${YODA_SOURCES} \ + ${BUILT_SOURCES} \ + LinkDef.h + +CalorimeterEventDict.cpp: ${YODA_HEADER_FILES} LinkDef.h @ROOTCINT@ -f $@ -c ${INCLUDES} $^ +