cleanup: function attribute 'hidden'
[lttng-ust.git] / liblttng-ust-python-agent / Makefile.am
index 726ffe4e6d88a55cca00ea112bff989a179f9d8d..e5de2e0b73f4e79e7333205dd73cded8e5ed4e6f 100644 (file)
@@ -1,8 +1,13 @@
+# SPDX-License-Identifier: LGPL-2.1-only
+
 # tracepoint provider: always built/installed (does not depend on Python per se)
-AM_CPPFLAGS = -I$(top_srcdir)/include/ \
-       -I$(top_builddir)/include/
-AM_CFLAGS = -fno-strict-aliasing
+AM_CFLAGS += -I$(srcdir) -fno-strict-aliasing
+
 lib_LTLIBRARIES = liblttng-ust-python-agent.la
+
 liblttng_ust_python_agent_la_SOURCES = lttng_ust_python.c lttng_ust_python.h
-liblttng_ust_python_agent_la_LIBADD = -lc -llttng-ust \
-       -L$(top_builddir)/liblttng-ust/.libs
+liblttng_ust_python_agent_la_LIBADD = -lc \
+       $(top_builddir)/liblttng-ust/liblttng-ust.la
+
+# Follow the main library soname for co-installability
+liblttng_ust_python_agent_la_LDFLAGS = -version-info $(LTTNG_UST_LIBRARY_VERSION)
This page took 0.023767 seconds and 4 git commands to generate.