libust 2.0 + ringbuffer + TRACEPOINT_EVENT builds and runs
[lttng-ust.git] / Makefile.am
... / ...
CommitLineData
1ACLOCAL_AMFLAGS = -I config
2
3# The order here is tricky. SUBDIRS applies both to compilation and
4# installation. Programs depending on the libs must be built after
5# libust and '.' (that contains the linker script). However, '.'
6# must be installed after libust so it can overwrite libust.so with
7# the linker script.
8SUBDIRS = snprintf libringbuffer libust include doc tests
9
10#temporarily disabled
11# . libustinstr-malloc libustfork
12
13EXTRA_DIST = libust.ldscript.in libust-initializer.c libust-initializer.h
14
15ldscriptsdir = $(libdir)
16ldscripts_DATA = libust.so libust-initializer.o
17
18CLEANFILES = $(ldscripts_DATA) ./tests/libust-initializer.Po
19
20libust.so: libust.ldscript.in
21 $(SED) -e $(if $(LIBFORMAT),"s@\@FORMAT\@@$(LIBFORMAT)@","s@.*\@FORMAT\@.*@@") < $< > $@
22
23# It is very important to compile the initializer with PIC otherwise we
24# may get obscure errors when linking to shared libraries.
25libust-initializer.o: libust-initializer.c
26 $(CC) $(CFLAGS) -fno-strict-aliasing -fPIC -c -I$(top_srcdir)/include -I$(top_srcdir) -o $@ $<
27
28pkgconfigdir = $(libdir)/pkgconfig
29pkgconfig_DATA = ust.pc
This page took 0.024692 seconds and 4 git commands to generate.