--- yoda/event/mcmd/Makefile.am 2004/09/21 20:23:58 1.2 +++ yoda/event/mcmd/Makefile.am 2006/09/21 13:10:09 6.2 @@ -2,21 +2,13 @@ INCLUDES = -I@top_srcdir@ @ROOT_INCLUDES@ LDFLAGS = @ROOT_LDFLAGS@ -noinst_LTLIBRARIES = libmcmdevent.la +YODA_HEADER_FILES = McmdEvent.h McmdRecord.h +yodaincdir = $(includedir)/yoda/mcmd +yodainc_HEADERS = ${YODA_HEADER_FILES} -BUILT_SOURCES = McmdDict.cpp McmdDict.h +YODA_SOURCES = McmdEvent.cpp McmdRecord.cpp -DICT_HEADER_FILES = McmdEvent.h McmdRecord.h +noinst_LTLIBRARIES = libmcmdevent.la -SUBPACKET_HEADER_FILES = ${DICT_HEADER_FILES} - -CPP_SOURCES = McmdEvent.cpp McmdRecord.cpp - -libmcmdevent_la_SOURCES = \ - ${BUILT_SOURCES} \ - ${SUBPACKET_HEADER_FILES} \ - ${CPP_SOURCES} \ - LinkDef.h - -McmdDict.cpp: ${DICT_HEADER_FILES} LinkDef.h - rootcint -f $@ -c ${INCLUDES} $^ +libmcmdevent_la_SOURCES = ${YODA_HEADER_FILES} \ + ${YODA_SOURCES}