X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=snprintf%2FMakefile.am;h=b01d13ead1aa6c6a75f3b5e7ffeb174c8ef39f31;hb=ef1a13e0de71e01d19a9d1b2d4abdac5e34eb9bc;hp=04148b71aeece6b46b0d1a4312d86ee894567710;hpb=e5bc3b0f4d6c0407492ebdea863483925393e1bc;p=lttng-ust.git diff --git a/snprintf/Makefile.am b/snprintf/Makefile.am index 04148b71..b01d13ea 100644 --- a/snprintf/Makefile.am +++ b/snprintf/Makefile.am @@ -1,6 +1,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -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,9 @@ 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)