--- yoda/event/physics/tracker/Makefile.am 2004/09/21 20:50:36 2.0 +++ yoda/event/physics/tracker/Makefile.am 2005/03/04 15:54:11 3.0 @@ -2,11 +2,20 @@ INCLUDES = -I@top_srcdir@ @ROOT_INCLUDES@ LDFLAGS = @ROOT_LDFLAGS@ -noinst_LTLIBRARIES = libtrackerevent.la -libtrackerevent_la_SOURCES = TrackerEvent.cpp TrackerEvent.h \ - TrackerEventDict.cpp TrackerEventDict.h LinkDef.h +YODA_HEADER_FILES = TrackerEvent.h +yodaincdir = $(includedir)/yoda/event/physics/tracker +yodainc_HEADERS = ${YODA_HEADER_FILES} -BUILT_SOURCES = TrackerEventDict.cpp TrackerEventDict.h +YODA_SOURCES = TrackerEvent.cpp -TrackerEventDict.cpp: TrackerEvent.h LinkDef.h +BUILT_SOURCES = TrackerEventDict.cpp TrackerEventDict.h + +noinst_LTLIBRARIES = libtrackerevent.la + +libtrackerevent_la_SOURCES = ${YODA_HEADER_FILES} \ + ${YODA_SOURCES} \ + ${BUILT_SOURCES} \ + LinkDef.h + +TrackerEventDict.cpp: ${YODA_HEADER_FILES} LinkDef.h @ROOTCINT@ -f $@ -c ${INCLUDES} $^