X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust-python-agent%2FMakefile.am;h=2c6668ae766c2549b39d05414c24aa1aa772a076;hb=a211b293bc6a610bed73a60006967663a30e4931;hp=f80b8a3f04a026cb7eba5ee2d2747c930477ab8a;hpb=bf2618561a5a5124663afa5d0be493793544d773;p=lttng-ust.git diff --git a/liblttng-ust-python-agent/Makefile.am b/liblttng-ust-python-agent/Makefile.am index f80b8a3f..2c6668ae 100644 --- a/liblttng-ust-python-agent/Makefile.am +++ b/liblttng-ust-python-agent/Makefile.am @@ -1,34 +1,8 @@ -# tracepoint provider -AM_CPPFLAGS = $(PYTHON_INCLUDE) -I$(top_srcdir)/include/ \ +# 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 += -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 - -# Use setup.py for the installation instead of Autoconf. -# This ease the installation process and assure a *pythonic* -# installation. -agent_path=lttngust -all-local: - $(PYTHON) setup.py build --verbose - -install-exec-local: - if [ "$(DESTDIR)" = "" ]; then \ - $(PYTHON) setup.py install --prefix=$(prefix) --record install_files.txt --verbose --no-compile $(DISTSETUPOPTS); \ - else \ - $(PYTHON) setup.py install --root=$(DESTDIR) --verbose install_files.txt --prefix=$(prefix) --no-compile $(DISTSETUPOPTS); \ - fi -clean-local: - rm -rf build - -uninstall-local: - cat install_files.txt | xargs rm -rf - rm -rf $(DESTDIR)$(pkgpythondir) - -EXTRA_DIST=$(agent_path) - -# Remove automake generated file before dist -dist-hook: - rm -rf $(distdir)/$(agent_path)/__init__.py