--- yoda/event/physics/anticounter/Makefile.am 2004/07/08 12:33:57 1.1 +++ yoda/event/physics/anticounter/Makefile.am 2006/03/08 08:17:06 6.1 @@ -2,11 +2,13 @@ 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 - @ROOTCINT@ -f $@ -c ${INCLUDES} $^ +noinst_LTLIBRARIES = libanticounterevent.la + +libanticounterevent_la_SOURCES = ${YODA_HEADER_FILES} \ + ${YODA_SOURCES}