This commit adds missing headers and other files to let make dist and install
work as necessry for packaging of ust.
Signed-off-by: Jan Blunck <jblunck@suse.de>
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = libust tests libmallocwrap ustd ustctl libinterfork
-EXTRA_DIST = share/kernelcompat.h doc
-bin_SCRIPTS = usttrace
+EXTRA_DIST = doc share/kernelcompat.h share/localerr.h share/share.h \
+ share/usterr.h
+dist_bin_SCRIPTS = usttrace
+
+include_HEADERS = share/kernelcompat.h share/localerr.h share/usterr.h
INCLUDES = -I$(top_builddir)/share -I$(top_builddir)/libustcomm
lib_LTLIBRARIES = libust.la
-libust_la_SOURCES = marker.c marker.h tracepoint.c tracepoint.h immediate.h channels.c channels.h marker-control.c marker-control.h relay.c relay.h tracer.c tracer.h tracercore.c tracercore.h serialize.c tracectl.c $(top_builddir)/libustcomm/ustcomm.c $(top_builddir)/share/usterr.h
+libust_la_SOURCES = buffer.h marker.c marker.h tracepoint.c tracepoint.h immediate.h channels.c channels.h marker-control.c marker-control.h relay.c relay.h tracer.c tracer.h tracercore.c tracercore.h serialize.c tracectl.c $(top_builddir)/libustcomm/ustcomm.c $(top_builddir)/share/usterr.h
libust_la_LDFLAGS = -no-undefined -version-info 0:0:0
libust_la_LIBADD = -lpthread
libust_la_CFLAGS = -DUST_COMPONENT="libust"
+
+include_HEADERS = marker.h tracepoint.h immediate.h