replace hardcoded value with define
[lttng-ust.git] / Makefile.am
CommitLineData
e14a34e0 1ACLOCAL_AMFLAGS = -I m4
89edbbc3
PMF
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.
d169a27d 8SUBDIRS = snprintf libustcomm libust . tests libustinstr-malloc ustd ustctl libustfork include
e14a34e0 9
25123621 10EXTRA_DIST = doc libust.ldscript.in libust-initializer.c
5f118a1c 11dist_bin_SCRIPTS = usttrace
25123621
JB
12
13ldscriptsdir = $(libdir)
14ldscripts_DATA = libust.so libust-initializer.o
15
7b92d97d 16CLEANFILES = $(ldscripts_DATA) ./tests/libust-initializer.Po
25123621 17
25123621 18libust.so: libust.ldscript.in
23ae9ca8 19 $(SED) -e "s@\@FORMAT\@@$(LIBFORMAT)@" < $< > $@
25123621 20
ec96d08c
PMF
21# It is very important to compile the initializer with PIC otherwise we
22# may get obscure errors when linking to shared libraries.
25123621 23libust-initializer.o: libust-initializer.c
ec96d08c 24 $(CC) $(CFLAGS) -fPIC -c -I$(top_srcdir)/include -o $@ $<
This page took 0.027415 seconds and 5 git commands to generate.