X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=snprintf%2FMakefile.am;h=17e698c47f0cdfab445bc8eb6193f7c197a8375c;hb=fb54defd7e47e106bdf3b7eb07d53f0aba0525ec;hp=04148b71aeece6b46b0d1a4312d86ee894567710;hpb=e5bc3b0f4d6c0407492ebdea863483925393e1bc;p=lttng-ust.git diff --git a/snprintf/Makefile.am b/snprintf/Makefile.am index 04148b71..17e698c4 100644 --- a/snprintf/Makefile.am +++ b/snprintf/Makefile.am @@ -1,6 +1,7 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/libustcomm +AM_CPPFLAGS += -I$(top_srcdir)/libustcomm +AM_CFLAGS += -fno-strict-aliasing -lib_LTLIBRARIES = libustsnprintf.la +noinst_LTLIBRARIES = libustsnprintf.la libustsnprintf_la_SOURCES = \ fflush.c \ fileext.h \ @@ -13,11 +14,11 @@ libustsnprintf_la_SOURCES = \ various.h \ vfprintf.c \ wcio.h \ - wsetup.c -libustsnprintf_la_LDFLAGS = -no-undefined -version-info 0:0:0 -static -libustsnprintf_la_CFLAGS = -DUST_COMPONENT="ust_snprintf" -fPIC + wsetup.c \ + core.c \ + patient_write.c -check_PROGRAMS = prog -prog_SOURCES = prog.c -prog_LDADD = libustsnprintf.la -TESTS = prog +libustsnprintf_la_LDFLAGS = -no-undefined -static +libustsnprintf_la_CFLAGS = -DUST_COMPONENT="lttng_ust_snprintf" -fPIC $(AM_CFLAGS) + +EXTRA_DIST = README