summaryrefslogtreecommitdiff
path: root/source4/lib/talloc
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/talloc')
-rw-r--r--source4/lib/talloc/Makefile.in20
-rw-r--r--source4/lib/talloc/Makefile.talloc16
-rwxr-xr-xsource4/lib/talloc/autogen.sh7
-rw-r--r--source4/lib/talloc/configure.in7
-rw-r--r--source4/lib/talloc/web/index.html47
5 files changed, 81 insertions, 16 deletions
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 @@
+<!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>