--- yoda/event/mcmd/Makefile.am 2004/07/06 12:20:23 1.1 +++ yoda/event/mcmd/Makefile.am 2006/09/21 13:10:09 6.2 @@ -1,22 +1,14 @@ AUTOMAKE_OPTIONS = foreign no-dependencies no-installinfo INCLUDES = -I@top_srcdir@ @ROOT_INCLUDES@ -LDFLAGS = @ROOT_LDFLAGS@ -llog4cpp +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}