mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
r6474: - added a simple talloc web page at http://talloc.samba.org/
- make it easier to seperataly build talloc for other projects
This commit is contained in:
parent
4f0948dab0
commit
27b987d267
20
source/lib/talloc/Makefile.in
Normal file
20
source/lib/talloc/Makefile.in
Normal file
@ -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
|
@ -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
|
7
source/lib/talloc/autogen.sh
Executable file
7
source/lib/talloc/autogen.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
(autoheader && autoconf) || exit 1
|
||||
|
||||
echo "Now run ./configure and then make."
|
||||
exit 0
|
||||
|
7
source/lib/talloc/configure.in
Normal file
7
source/lib/talloc/configure.in
Normal file
@ -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)
|
47
source/lib/talloc/web/index.html
Normal file
47
source/lib/talloc/web/index.html
Normal file
@ -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>
|
Loading…
Reference in New Issue
Block a user