SUBDIRS = libust tests libmallocwrap ustd ust libinterfork
EXTRA_DIST = share/kernelcompat.h doc
+bin_SCRIPTS = usttrace
tests/hello2/Makefile
tests/basic/Makefile
tests/basic_long/Makefile
+ tests/fork/Makefile
libmallocwrap/Makefile
libinterfork/Makefile
ustd/Makefile
$(KCOMPAT_CFLAGS) $(URCU_CFLAGS)
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 localerr.h
+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_LDFLAGS = -no-undefined -version-info 0:0:0
libust_la_LIBADD = $(URCU_LIBS) -lpthread
libust_la_CFLAGS = -DUST_COMPONENT="libust"
-SUBDIRS = hello hello2 basic basic_long
+SUBDIRS = hello hello2 basic basic_long fork
bin_PROGRAMS = ust
-ust_SOURCES = ust.c $(top_builddir)/libustcomm/ustcomm.c $(top_builddir)/libustcomm/ustcomm.h $(top_builddir)/libustcmd/ustcmd.c $(top_builddir)/libustcmd/ustcmd.h localerr.h
+ust_SOURCES = ust.c $(top_builddir)/libustcomm/ustcomm.c $(top_builddir)/libustcomm/ustcomm.h $(top_builddir)/libustcmd/ustcmd.c $(top_builddir)/libustcmd/ustcmd.h $(top_builddir)/share/usterr.h
ust_CFLAGS = -DUST_COMPONENT=ust
INCLUDES = $(KCOMPAT_CFLAGS)
-I$(top_builddir)/libustcomm $(KCOMPAT_CFLAGS)
bin_PROGRAMS = ustd
-ustd_SOURCES = lowlevel.c localerr.h ustd.c ustd.h $(top_builddir)/libustcomm/ustcomm.c $(top_builddir)/libustcomm/ustcomm.h
+ustd_SOURCES = lowlevel.c ustd.c ustd.h $(top_builddir)/libustcomm/ustcomm.c $(top_builddir)/libustcomm/ustcomm.h $(top_builddir)/share/usterr.h
ustd_LDFLAGS = -lpthread
ustd_CFLAGS = -DUST_COMPONENT=ustd