Move away headers that will be deprecated
[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 libust . tests libustinstr-malloc libustfork include doc
9
10EXTRA_DIST = libust.ldscript.in libust-initializer.c libust-initializer.h
11
12ldscriptsdir = $(libdir)
13ldscripts_DATA = libust.so libust-initializer.o
14
15CLEANFILES = $(ldscripts_DATA) ./tests/libust-initializer.Po
16
17libust.so: libust.ldscript.in
18 $(SED) -e $(if $(LIBFORMAT),"s@\@FORMAT\@@$(LIBFORMAT)@","s@.*\@FORMAT\@.*@@") < $< > $@
19
20# It is very important to compile the initializer with PIC otherwise we
21# may get obscure errors when linking to shared libraries.
22libust-initializer.o: libust-initializer.c
23 $(CC) $(CFLAGS) -fno-strict-aliasing -fPIC -c -I$(top_srcdir)/include -I$(top_srcdir) -o $@ $<
24
25pkgconfigdir = $(libdir)/pkgconfig
26pkgconfig_DATA = ust.pc
This page took 0.026321 seconds and 5 git commands to generate.