r6474: - added a simple talloc web page at http://talloc.samba.org/
authorAndrew Tridgell <tridge@samba.org>
Tue, 26 Apr 2005 03:03:54 +0000 (03:03 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:11:40 +0000 (13:11 -0500)
- make it easier to seperataly build talloc for other projects

source/lib/talloc/Makefile.in [new file with mode: 0644]
source/lib/talloc/Makefile.talloc [deleted file]
source/lib/talloc/autogen.sh [new file with mode: 0755]
source/lib/talloc/configure.in [new file with mode: 0644]
source/lib/talloc/web/index.html [new file with mode: 0644]

diff --git a/source/lib/talloc/Makefile.in b/source/lib/talloc/Makefile.in
new file mode 100644 (file)
index 0000000..ff4fc7f
--- /dev/null
@@ -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/source/lib/talloc/Makefile.talloc b/source/lib/talloc/Makefile.talloc
deleted file mode 100644 (file)
index a19b4ce..0000000
+++ /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/source/lib/talloc/autogen.sh b/source/lib/talloc/autogen.sh
new file mode 100755 (executable)
index 0000000..cdd7fd2
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+(autoheader && autoconf) || exit 1
+
+echo "Now run ./configure and then make."
+exit 0
+
diff --git a/source/lib/talloc/configure.in b/source/lib/talloc/configure.in
new file mode 100644 (file)
index 0000000..5c30200
--- /dev/null
@@ -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/source/lib/talloc/web/index.html b/source/lib/talloc/web/index.html
new file mode 100644 (file)
index 0000000..2a6c2d0
--- /dev/null
@@ -0,0 +1,47 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+<HEAD>
+<TITLE>talloc</TITLE>
+</HEAD>
+<BODY BGCOLOR="#ffffff" TEXT="#000000" VLINK="#292555" LINK="#292555" ALINK="#cc0033">
+
+<h1>talloc</h1>
+
+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.<p>
+
+To get started with talloc, I would recommend you read the <a
+href="http://samba.org/ftp/unpacked/samba4/source/lib/talloc/talloc_guide.txt">talloc guide</a>.
+
+<h2>Discussion and bug reports</h2>
+
+talloc does not currently have its own mailing list or bug tracking
+system. For now, please use the <a
+href="https://lists.samba.org/mailman/listinfo/samba-technical">samba-technical</a>
+mailing list, and the <a href="http://bugzilla.samba.org/">Samba
+bugzilla</a> bug tracking system.
+
+<h2>Download</h2>
+
+You can download the latest release either via rsync or anonymous
+svn. To fetch via svn use the following command:
+
+<pre>
+  svn co svn://svnanon.samba.org/samba/branches/SAMBA_4_0/source/lib/talloc talloc
+</pre>
+
+To fetch via rsync use this command:
+
+<pre>
+  rsync -Pavz samba.org::ftp/unpacked/samba4/source/lib/talloc .
+</pre>
+
+<hr>
+<tiny>
+<a href="http://samba.org/~tridge/">Andrew Tridgell</a><br>
+talloc AT tridgell.net
+</tiny>
+
+</BODY>
+</HTML>