runtests: add a ustd/valgrind check
[ust.git] / ustctl / Makefile.am
index a27880a03404ae3dd7642ac77ab9a4b3fd552720..4b8100f77f2a4c65f00d64cff67c750836902c59 100644 (file)
@@ -1,8 +1,15 @@
+AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/libustcomm \
+       -I$(top_srcdir)/libustcmd $(KCOMPAT_CFLAGS)
+
 bin_PROGRAMS = ustctl
-ustctl_SOURCES = ustctl.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
+
+ustctl_SOURCES = \
+       ustctl.c \
+       $(top_srcdir)/libustcmd/ustcmd.c \
+       $(top_srcdir)/libustcmd/ustcmd.h
+
 ustctl_CFLAGS = -DUST_COMPONENT=ustctl
 
-INCLUDES = $(KCOMPAT_CFLAGS)
-INCLUDES += -I$(top_builddir)/libustcomm
-INCLUDES += -I$(top_builddir)/libustcmd
-INCLUDES += -I$(top_builddir)/share
+ustctl_LDADD = \
+       $(top_builddir)/snprintf/libustsnprintf.la \
+       $(top_builddir)/libustcomm/libustcomm.la
This page took 0.022665 seconds and 4 git commands to generate.