1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r6478: Add 'make install' and a pkg-config file

(This used to be commit c8e1b75427)
This commit is contained in:
Jelmer Vernooij 2005-04-26 03:59:59 +00:00 committed by Gerald (Jerry) Carter
parent 26a625e857
commit 9ced235dab
3 changed files with 20 additions and 1 deletions

View File

@ -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??

View File

@ -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)

View File

@ -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@