Commit | Line | Data |
---|---|---|
c3e14096 DG |
1 | |
2 | AM_CPPFLAGS = $(PYTHON_INCLUDE) -I$(top_srcdir)/include/ | |
3 | AM_CFLAGS = -fno-strict-aliasing | |
4 | ||
091ea976 | 5 | EXTRA_DIST = lttng_agent.py.in |
c3e14096 | 6 | |
091ea976 | 7 | nodist_lttng_agent_PYTHON = lttng_agent.py |
c3e14096 DG |
8 | lttng_agentdir = $(pythondir) |
9 | ||
10 | lib_LTLIBRARIES = liblttng-ust-python-agent.la | |
11 | ||
12 | nodist_liblttng_ust_python_agent_la_SOURCES = lttng_agent.py | |
13 | liblttng_ust_python_agent_la_SOURCES = lttng_ust_python.c lttng_ust_python.h | |
14 | liblttng_ust_python_agent_la_LIBADD = -lc -llttng-ust \ | |
15 | -L$(top_builddir)/liblttng-ust/.libs | |
16 | ||
17 | all: | |
bf70766b | 18 | $(SED) 's|LIBDIR_STR|$(libdir)|g' < $(srcdir)/lttng_agent.py.in > lttng_agent.py |
c3e14096 DG |
19 | |
20 | CLEANFILES = lttng_agent.py |