continue build system
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Mon, 30 Mar 2009 21:25:19 +0000 (17:25 -0400)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Mon, 30 Mar 2009 21:25:19 +0000 (17:25 -0400)
Makefile.am
bootstrap
configure.ac
hello/Makefile.am
libmallocwrap/Makefile [deleted file]
libmallocwrap/run
libmarkers/Makefile.am

index f1ccfcf1497d8411b83bff40f9f90ea179a34040..f8620dfbaee8dd89c56e18f3e96fe3553739dd16 100644 (file)
@@ -1 +1 @@
-SUBDIRS = libmarkers libtracectl libtracing
+SUBDIRS = libmarkers libtracectl libtracing hello libmallocwrap
index ad7f6645cd33fafbc02db0623cc70ddc60f5fc0e..1199ae213af4f46d2d4d346674fc96831ae0394b 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -1,5 +1,9 @@
 #! /bin/sh
 
-aclocal \
-&& automake --gnu --add-missing \
-&& autoconf
+set -x
+aclocal -I config
+libtoolize --force --copy
+autoheader
+automake --add-missing --copy
+autoconf
+
index c44b5655666e4f01cf0d693c27e20064897da3ee..454faac118a4a9e274c8d5069e457681525300d9 100644 (file)
@@ -63,5 +63,5 @@ AC_SUBST(KCOMPAT_PATH)
 #                 ust/Makefile
 #                 ustd/Makefile])
 
-AC_CONFIG_FILES([Makefile libmarkers/Makefile libtracectl/Makefile libtracing/Makefile])
+AC_CONFIG_FILES([Makefile libmarkers/Makefile libtracectl/Makefile libtracing/Makefile hello/Makefile libmallocwrap/Makefile])
 AC_OUTPUT
index 3c96bee3c7b57de66f3af74d9f5013c67b08af14..81b4604e175a7ceb817eb169cc0ccf46651310e6 100644 (file)
@@ -1,7 +1,11 @@
-lib_LTLIBRARIES = libmarkers.la
-libmarkers_la_SOURCES = marker.c tracepoint.c immediate.h jhash.h rcupdate.h marker.h tracepoint.h
+bin_PROGRAMS = hello
+hello_SOURCES = hello.c tp.c tp.h $(top_builddir)/share/kref.c
+hello_LDADD = $(top_builddir)/libmarkers/libmarkers.la $(top_builddir)/libtracectl/libtracectl.la $(top_builddir)/libtracing/libtracing.la @URCU_PATH@/liburcu.so
+##hello_LDFLAGS = -L$(top_builddir)/libmarkers
 
 INCLUDES = -I$(top_builddir)/share
 INCLUDES += -I@URCU_PATH@
 INCLUDES += -I@KCOMPAT_PATH@
 INCLUDES += -I$(top_builddir)/libtracing
+INCLUDES += -I$(top_builddir)/libmarkers
+INCLUDES += -I$(top_builddir)/libtracectl
diff --git a/libmallocwrap/Makefile b/libmallocwrap/Makefile
deleted file mode 100644 (file)
index 834d324..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-all: libmallocwrap.so
-
-libmallocwrap.so: mallocwrap.c
-       gcc -shared -fPIC -g -I../share -I../libmarkers -I../libtracing -I../libtracectl -L../libmarkers -L../libtracing -L../libtracectl $(CFLAGS) -ldl -lmarkers -ltracectl -ltracing -o libmallocwrap.so mallocwrap.c
-
-.PHONY: libmallocwrap.so
index da398d386efbc188f0d63fa810eec68e482d2ec3..7dd6b2923c3f20b9a19970bc86d522421755f5a3 100644 (file)
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-LD_VERBOSE=1 LD_LIBRARY_PATH=.:../libtracing:../libmarkers:../libtracectl LD_PRELOAD=libmallocwrap.so $1
+LD_VERBOSE=1 LD_LIBRARY_PATH=.:../libtracing/.libs:../libmarkers/.libs:../libtracectl/.libs LD_PRELOAD=libmallocwrap.so $1
index 3c96bee3c7b57de66f3af74d9f5013c67b08af14..88643f38d711ae1e377b44063bb97dedca41425b 100644 (file)
@@ -1,5 +1,6 @@
 lib_LTLIBRARIES = libmarkers.la
 libmarkers_la_SOURCES = marker.c tracepoint.c immediate.h jhash.h rcupdate.h marker.h tracepoint.h
+libmarkers_la_LIBADD = @URCU_PATH@/liburcu.so
 
 INCLUDES = -I$(top_builddir)/share
 INCLUDES += -I@URCU_PATH@
This page took 0.028045 seconds and 4 git commands to generate.