Fix compilation of libust-initializer.o
[ust.git] / Makefile.am
... / ...
CommitLineData
1ACLOCAL_AMFLAGS = -I m4
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 = libust . tests libmallocwrap ustd ustctl libinterfork include
9
10EXTRA_DIST = doc libust.ldscript.in libust-initializer.c
11dist_bin_SCRIPTS = usttrace
12
13ldscriptsdir = $(libdir)
14ldscripts_DATA = libust.so libust-initializer.o
15
16CLEANFILES = $(ldscripts_DATA) ./tests/libust-initializer.Po
17
18libust.so: libust.ldscript.in
19 $(SED) -e "s@\@FORMAT\@@$(LIBFORMAT)@" -e "s@\@PATH\@@${libdir}@g" < $< > $@
20
21libust-initializer.o: libust-initializer.c
22 $(CC) $(CFLAGS) -c -I$(top_srcdir)/include -o $@ $<
This page took 0.022632 seconds and 4 git commands to generate.