summaryrefslogtreecommitdiff
path: root/source3/lib/talloc/talloc.mk
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-16 14:36:41 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-16 14:36:41 +0200
commit80a5da73e9a9ed148314be3fa071181c82fc7c64 (patch)
treec561200c7b7ff8e9bf6e44be0ad9f093789a3b72 /source3/lib/talloc/talloc.mk
parentec1c854f2175823bd1ad39c2e272d1b3fab80bf1 (diff)
downloadsamba-80a5da73e9a9ed148314be3fa071181c82fc7c64.tar.gz
samba-80a5da73e9a9ed148314be3fa071181c82fc7c64.tar.bz2
samba-80a5da73e9a9ed148314be3fa071181c82fc7c64.zip
Share talloc source code between Samba 3 and Samba 4.
Diffstat (limited to 'source3/lib/talloc/talloc.mk')
-rw-r--r--source3/lib/talloc/talloc.mk37
1 files changed, 0 insertions, 37 deletions
diff --git a/source3/lib/talloc/talloc.mk b/source3/lib/talloc/talloc.mk
deleted file mode 100644
index e1fe88c84b..0000000000
--- a/source3/lib/talloc/talloc.mk
+++ /dev/null
@@ -1,37 +0,0 @@
-TALLOC_OBJ = $(tallocdir)/talloc.o
-
-TALLOC_SOLIB = libtalloc.$(SHLIBEXT).$(PACKAGE_VERSION)
-TALLOC_SONAME = libtalloc.$(SHLIBEXT).1
-
-all:: libtalloc.a $(TALLOC_SOLIB) testsuite
-
-testsuite:: $(LIBOBJ) testsuite.o
- $(CC) $(CFLAGS) -o testsuite testsuite.o $(LIBOBJ) $(LIBS)
-
-libtalloc.a: $(LIBOBJ)
- ar -rv $@ $(LIBOBJ)
- @-ranlib $@
-
-install:: all
- ${INSTALLCMD} -d $(DESTDIR)$(libdir)
- ${INSTALLCMD} -d $(DESTDIR)$(libdir)/pkgconfig
- ${INSTALLCMD} -m 755 libtalloc.a $(DESTDIR)$(libdir)
- ${INSTALLCMD} -m 755 $(TALLOC_SOLIB) $(DESTDIR)$(libdir)
- ${INSTALLCMD} -d $(DESTDIR)${includedir}
- ${INSTALLCMD} -m 644 $(srcdir)/talloc.h $(DESTDIR)$(includedir)
- ${INSTALLCMD} -m 644 talloc.pc $(DESTDIR)$(libdir)/pkgconfig
- if [ -f talloc.3 ];then ${INSTALLCMD} -d $(DESTDIR)$(mandir)/man3; fi
- if [ -f talloc.3 ];then ${INSTALLCMD} -m 644 talloc.3 $(DESTDIR)$(mandir)/man3; fi
- which swig >/dev/null 2>&1 && ${INSTALLCMD} -d $(DESTDIR)`swig -swiglib` || true
- which swig >/dev/null 2>&1 && ${INSTALLCMD} -m 644 talloc.i $(DESTDIR)`swig -swiglib` || true
-
-doc:: talloc.3 talloc.3.html
-
-clean::
- rm -f *~ $(LIBOBJ) $(TALLOC_SOLIB) libtalloc.a testsuite testsuite.o *.gc?? talloc.3 talloc.3.html
-
-test:: testsuite
- ./testsuite
-
-gcov::
- gcov talloc.c