summaryrefslogtreecommitdiff
path: root/source4/lib/talloc/Makefile.talloc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-01-02 07:47:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:55 -0500
commit65f96eba32b93ced0717c2639007bba59da55fa4 (patch)
treedc691fb43c8d1d0261497e53502a0e0b93ffd31c /source4/lib/talloc/Makefile.talloc
parent68460ee88caadefea2adbd4f24755e3dd1cb0a47 (diff)
downloadsamba-65f96eba32b93ced0717c2639007bba59da55fa4.tar.gz
samba-65f96eba32b93ced0717c2639007bba59da55fa4.tar.bz2
samba-65f96eba32b93ced0717c2639007bba59da55fa4.zip
r4473: - moved talloc into its own lib/talloc/ area
- added gcov flags to Makefile.talloc - expanded talloc testsuite to add a test for realloc with a child ptr - fixed a bug in talloc_realloc() with realloc of a ptr that has child ptrs (This used to be commit 98b5f73c1ba34d7576c5995069b485c1c5ede324)
Diffstat (limited to 'source4/lib/talloc/Makefile.talloc')
-rw-r--r--source4/lib/talloc/Makefile.talloc16
1 files changed, 16 insertions, 0 deletions
diff --git a/source4/lib/talloc/Makefile.talloc b/source4/lib/talloc/Makefile.talloc
new file mode 100644
index 0000000000..88cb0e7159
--- /dev/null
+++ b/source4/lib/talloc/Makefile.talloc
@@ -0,0 +1,16 @@
+OPT = -g -ftest-coverage -fprofile-arcs
+LIBS = -lgcov
+#OPT = -g
+
+CFLAGS = $(OPT) -Wall
+
+all: testsuite
+
+testsuite: talloc.o testsuite.o
+ $(CC) $(CFLAGS) -o testsuite testsuite.o talloc.o $(LIBS)
+
+clean:
+ rm -f *~ *.o testsuite *.gc??
+
+gcov:
+ gcov talloc.c