diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-04-26 03:59:59 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:16:18 -0500 |
commit | 9ced235daba8cb6b516eedb857569de8da1aeb5c (patch) | |
tree | 74bbf5f59edf3fd36a9de4f8ac07541261c24cf3 /source4/lib/talloc | |
parent | 26a625e85738b37e5323c4612916ccce89ebb0fa (diff) | |
download | samba-9ced235daba8cb6b516eedb857569de8da1aeb5c.tar.gz samba-9ced235daba8cb6b516eedb857569de8da1aeb5c.tar.bz2 samba-9ced235daba8cb6b516eedb857569de8da1aeb5c.zip |
r6478: Add 'make install' and a pkg-config file
(This used to be commit c8e1b7542736bd674b8407872dbbe3a9941fce59)
Diffstat (limited to 'source4/lib/talloc')
-rw-r--r-- | source4/lib/talloc/Makefile.in | 9 | ||||
-rw-r--r-- | source4/lib/talloc/configure.in | 2 | ||||
-rw-r--r-- | source4/lib/talloc/talloc.pc.in | 10 |
3 files changed, 20 insertions, 1 deletions
diff --git a/source4/lib/talloc/Makefile.in b/source4/lib/talloc/Makefile.in index ff4fc7f561..a3dd3f3e0b 100644 --- a/source4/lib/talloc/Makefile.in +++ b/source4/lib/talloc/Makefile.in @@ -1,6 +1,10 @@ #OPT = -g -ftest-coverage -fprofile-arcs #LIBS = -lgcov OPT = -O +prefix = @prefix@ +exec_prefix = @exec_prefix@ +includedir = @includedir@ +libdir = @libdir@ CFLAGS = $(OPT) -Wall @@ -13,6 +17,11 @@ testsuite: $(LIBOBJ) testsuite.o libtalloc.a: libtalloc.a($(LIBOBJ)) +install: + cp libtalloc.a $(libdir) + cp talloc.h $(includedir) + cp talloc.pc $(libdir)/pkgconfig + clean: rm -f *~ *.o testsuite *.gc?? diff --git a/source4/lib/talloc/configure.in b/source4/lib/talloc/configure.in index 5c30200118..0ebbde9fcf 100644 --- a/source4/lib/talloc/configure.in +++ b/source4/lib/talloc/configure.in @@ -4,4 +4,4 @@ AC_INIT(talloc.h) AC_PROG_CC AC_PATH_PROG(GCOV,gcov) sinclude(config.m4) -AC_OUTPUT(Makefile) +AC_OUTPUT(Makefile talloc.pc) diff --git a/source4/lib/talloc/talloc.pc.in b/source4/lib/talloc/talloc.pc.in new file mode 100644 index 0000000000..7f9ef754cb --- /dev/null +++ b/source4/lib/talloc/talloc.pc.in @@ -0,0 +1,10 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: talloc +Description: A hierarchical pool based memory system with destructors +Version: 4.0 +Libs: @LIBS@ -L${libdir} -ltalloc +Cflags: -I${includedir} @CFLAGS@ |