X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=snprintf%2FMakefile.am;h=7d9e2b647e3df8a0b0d545a70015dcb785bb51a7;hb=c0c0989ab70574e09b2f7e8b48c2da6af664a849;hp=04148b71aeece6b46b0d1a4312d86ee894567710;hpb=e5bc3b0f4d6c0407492ebdea863483925393e1bc;p=lttng-ust.git diff --git a/snprintf/Makefile.am b/snprintf/Makefile.am index 04148b71..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 \ @@ -13,11 +16,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 + +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