X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=snprintf%2FMakefile.am;h=7d9e2b647e3df8a0b0d545a70015dcb785bb51a7;hb=cd61d9bfa5fd334b086831dcbdec63da6c0d1a16;hp=1bd33fa429efb6ef9c139a91ff3ec15e8e51a031;hpb=bf0d695d692163edb23b8fbbbd976387dfef232d;p=lttng-ust.git diff --git a/snprintf/Makefile.am b/snprintf/Makefile.am index 1bd33fa4..7d9e2b64 100644 --- a/snprintf/Makefile.am +++ b/snprintf/Makefile.am @@ -1,6 +1,9 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/libustcomm +# SPDX-License-Identifier: LGPL-2.1-only -lib_LTLIBRARIES = libustsnprintf.la +AM_CPPFLAGS += -I$(top_srcdir)/libustcomm +AM_CFLAGS += -fno-strict-aliasing + +noinst_LTLIBRARIES = libustsnprintf.la libustsnprintf_la_SOURCES = \ fflush.c \ fileext.h \ @@ -8,15 +11,16 @@ 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 + wsetup.c \ + core.c \ + patient_write.c + +libustsnprintf_la_LDFLAGS = -no-undefined -static +libustsnprintf_la_CFLAGS = -DUST_COMPONENT="lttng_ust_snprintf" -fPIC $(AM_CFLAGS) -check_PROGRAMS = prog -prog_SOURCES = prog.c -prog_LDADD = libustsnprintf.la -TESTS = prog +EXTRA_DIST = README