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