X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=Makefile.am;h=5132d59fc547db4d80270ca13179e6eb8f625189;hb=fc214788832b93d238449c2b7736a8425b7e5330;hp=c77ef8f03a74154197381465c688fe91d0b63b25;hpb=d6c9f207eca8cda2b30dd5d4a0a6816f25b1b796;p=ust.git diff --git a/Makefile.am b/Makefile.am index c77ef8f..5132d59 100644 --- a/Makefile.am +++ b/Makefile.am @@ -7,7 +7,7 @@ ACLOCAL_AMFLAGS = -I config # the linker script. SUBDIRS = snprintf libustcomm libustcmd libust . tests libustinstr-malloc libustd ustd ustctl libustfork include doc -EXTRA_DIST = libust.ldscript.in libust-initializer.c +EXTRA_DIST = libust.ldscript.in libust-initializer.c libust-initializer.h dist_bin_SCRIPTS = usttrace ldscriptsdir = $(libdir) @@ -21,4 +21,4 @@ libust.so: libust.ldscript.in # It is very important to compile the initializer with PIC otherwise we # may get obscure errors when linking to shared libraries. libust-initializer.o: libust-initializer.c - $(CC) $(CFLAGS) -fno-strict-aliasing -fPIC -c -I$(top_srcdir)/include -o $@ $< + $(CC) $(CFLAGS) -fno-strict-aliasing -fPIC -c -I$(top_srcdir)/include -I$(top_srcdir) -o $@ $<