X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=ustctl%2FMakefile.am;h=94e8c00ad0bae17d87d3fad5592e66905e380dc6;hb=e7cc3e3415e0092809627e89168e1cba8b5800f6;hp=7ceca548aabcd73f2bf23c989638492b32778a77;hpb=55ad629d916dc8a9e0e8859bd469815dc9ec6ceb;p=ust.git diff --git a/ustctl/Makefile.am b/ustctl/Makefile.am index 7ceca54..94e8c00 100644 --- a/ustctl/Makefile.am +++ b/ustctl/Makefile.am @@ -1,8 +1,16 @@ +AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/libustcomm \ + -I$(top_srcdir)/libustcmd $(KCOMPAT_CFLAGS) +AM_CFLAGS = -fno-strict-aliasing + 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_CFLAGS = -DUST_COMPONENT=ust -INCLUDES = $(KCOMPAT_CFLAGS) -INCLUDES += -I$(top_builddir)/libustcomm -INCLUDES += -I$(top_builddir)/libustcmd -INCLUDES += -I$(top_builddir)/share +ustctl_SOURCES = \ + ustctl.c \ + $(top_srcdir)/libustcmd/ustcmd.c \ + $(top_srcdir)/libustcmd/ustcmd.h + +ustctl_CFLAGS = -DUST_COMPONENT=ustctl -fno-strict-aliasing + +ustctl_LDADD = \ + $(top_builddir)/snprintf/libustsnprintf.la \ + $(top_builddir)/libustcomm/libustcomm.la