X-Git-Url: https://git.lttng.org/?p=ust.git;a=blobdiff_plain;f=snprintf%2FMakefile.am;h=efa35340540df66972ddb829daa46594a72dde3a;hp=1bd33fa429efb6ef9c139a91ff3ec15e8e51a031;hb=HEAD;hpb=bf0d695d692163edb23b8fbbbd976387dfef232d diff --git a/snprintf/Makefile.am b/snprintf/Makefile.am index 1bd33fa..efa3534 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 \ @@ -8,15 +9,11 @@ libustsnprintf_la_SOURCES = \ fvwrite.c \ fvwrite.h \ local.h \ + mbrtowc_sb.c \ snprintf.c \ 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 - -check_PROGRAMS = prog -prog_SOURCES = prog.c -prog_LDADD = libustsnprintf.la -TESTS = prog +libustsnprintf_la_LDFLAGS = -no-undefined -static +libustsnprintf_la_CFLAGS = -DUST_COMPONENT="ust_snprintf" -fPIC -fno-strict-aliasing