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:
parent
26a625e857
commit
9ced235dab
@ -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??
|
||||
|
||||
|
@ -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)
|
||||
|
10
source4/lib/talloc/talloc.pc.in
Normal file
10
source4/lib/talloc/talloc.pc.in
Normal 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@
|
Loading…
Reference in New Issue
Block a user