X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=Makefile.am;h=5132d59fc547db4d80270ca13179e6eb8f625189;hb=3c6eae02c4bd3cea00113ca9dbccf753113ffc6d;hp=c77ef8f03a74154197381465c688fe91d0b63b25;hpb=0c0686eefbf60682c54bc4b3c0bc593250deedc1;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 $@ $<