--- yoda/event/physics/neutronDetector/Makefile.am 2004/08/19 15:24:33 1.1 +++ yoda/event/physics/neutronDetector/Makefile.am 2006/02/07 17:11:08 6.0 @@ -1,22 +1,21 @@ AUTOMAKE_OPTIONS = foreign no-dependencies no-installinfo INCLUDES = -I@top_srcdir@ @ROOT_INCLUDES@ -LDFLAGS = @ROOT_LDFLAGS@ -llog4cpp +LDFLAGS = @ROOT_LDFLAGS@ -noinst_LTLIBRARIES = libneutronevent.la +YODA_HEADER_FILES = NeutronEvent.h NeutronRecord.h +yodaincdir = $(includedir)/yoda/event/physics/neutronDetector +yodainc_HEADERS = ${YODA_HEADER_FILES} -BUILT_SOURCES = NeutronDict.cpp NeutronDict.h +YODA_SOURCES = NeutronEvent.cpp NeutronRecord.cpp -DICT_HEADER_FILES = NeutronEvent.h NeutronRecord.h +BUILT_SOURCES = NeutronDict.cpp NeutronDict.h -SUBPACKET_HEADER_FILES = ${DICT_HEADER_FILES} +noinst_LTLIBRARIES = libneutronevent.la -CPP_SOURCES = NeutronEvent.cpp NeutronRecord.cpp +libneutronevent_la_SOURCES = ${YODA_HEADER_FILES} \ + ${YODA_SOURCES} \ + ${BUILT_SOURCES} \ + LinkDef.h -libneutronevent_la_SOURCES = \ - ${BUILT_SOURCES} \ - ${SUBPACKET_HEADER_FILES} \ - ${CPP_SOURCES} \ - LinkDef.h - -NeutronDict.cpp: ${DICT_HEADER_FILES} LinkDef.h - rootcint -f $@ -c ${INCLUDES} $^ +NeutronDict.cpp: ${YODA_HEADER_FILES} LinkDef.h + @ROOTCINT@ -f $@ -c ${INCLUDES} $^