From acb6110d5ddfdf9c6301d12ae0cc2fe710618b04 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 26 Apr 2005 03:03:54 +0000 Subject: r6474: - added a simple talloc web page at http://talloc.samba.org/ - make it easier to seperataly build talloc for other projects (This used to be commit 27b987d267603977be8798e7e5412b91e18a316b) --- source4/lib/talloc/Makefile.in | 20 ++++++++++++++++ source4/lib/talloc/Makefile.talloc | 16 ------------- source4/lib/talloc/autogen.sh | 7 ++++++ source4/lib/talloc/configure.in | 7 ++++++ source4/lib/talloc/web/index.html | 47 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 81 insertions(+), 16 deletions(-) create mode 100644 source4/lib/talloc/Makefile.in delete mode 100644 source4/lib/talloc/Makefile.talloc create mode 100755 source4/lib/talloc/autogen.sh create mode 100644 source4/lib/talloc/configure.in create mode 100644 source4/lib/talloc/web/index.html (limited to 'source4/lib') diff --git a/source4/lib/talloc/Makefile.in b/source4/lib/talloc/Makefile.in new file mode 100644 index 0000000000..ff4fc7f561 --- /dev/null +++ b/source4/lib/talloc/Makefile.in @@ -0,0 +1,20 @@ +#OPT = -g -ftest-coverage -fprofile-arcs +#LIBS = -lgcov +OPT = -O + +CFLAGS = $(OPT) -Wall + +LIBOBJ = talloc.o + +all: libtalloc.a testsuite + +testsuite: $(LIBOBJ) testsuite.o + $(CC) $(CFLAGS) -o testsuite testsuite.o $(LIBOBJ) $(LIBS) + +libtalloc.a: libtalloc.a($(LIBOBJ)) + +clean: + rm -f *~ *.o testsuite *.gc?? + +gcov: + gcov talloc.c diff --git a/source4/lib/talloc/Makefile.talloc b/source4/lib/talloc/Makefile.talloc deleted file mode 100644 index a19b4ce311..0000000000 --- a/source4/lib/talloc/Makefile.talloc +++ /dev/null @@ -1,16 +0,0 @@ -#OPT = -g -ftest-coverage -fprofile-arcs -#LIBS = -lgcov -OPT = -O - -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 diff --git a/source4/lib/talloc/autogen.sh b/source4/lib/talloc/autogen.sh new file mode 100755 index 0000000000..cdd7fd2e04 --- /dev/null +++ b/source4/lib/talloc/autogen.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +(autoheader && autoconf) || exit 1 + +echo "Now run ./configure and then make." +exit 0 + diff --git a/source4/lib/talloc/configure.in b/source4/lib/talloc/configure.in new file mode 100644 index 0000000000..5c30200118 --- /dev/null +++ b/source4/lib/talloc/configure.in @@ -0,0 +1,7 @@ +AC_DEFUN([SMB_MODULE_DEFAULT], [echo -n ""]) +AC_DEFUN([SMB_LIBRARY_ENABLE], [echo -n ""]) +AC_INIT(talloc.h) +AC_PROG_CC +AC_PATH_PROG(GCOV,gcov) +sinclude(config.m4) +AC_OUTPUT(Makefile) diff --git a/source4/lib/talloc/web/index.html b/source4/lib/talloc/web/index.html new file mode 100644 index 0000000000..2a6c2d0768 --- /dev/null +++ b/source4/lib/talloc/web/index.html @@ -0,0 +1,47 @@ + + + +talloc + + + +

talloc

+ +talloc is a hierarchical pool based memory allocator with +destructors. It is the core memory allocator used in Samba4, and has +made a huge difference in many aspects of Samba4 development.

+ +To get started with talloc, I would recommend you read the talloc guide. + +

Discussion and bug reports

+ +talloc does not currently have its own mailing list or bug tracking +system. For now, please use the samba-technical +mailing list, and the Samba +bugzilla bug tracking system. + +

Download

+ +You can download the latest release either via rsync or anonymous +svn. To fetch via svn use the following command: + +
+  svn co svn://svnanon.samba.org/samba/branches/SAMBA_4_0/source/lib/talloc talloc
+
+ +To fetch via rsync use this command: + +
+  rsync -Pavz samba.org::ftp/unpacked/samba4/source/lib/talloc .
+
+ +
+ +Andrew Tridgell
+talloc AT tridgell.net +
+ + + -- cgit