From 64a6887ecddc1599bde5dcb06d0b74ffea1def0c Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 3 Apr 2008 01:36:03 +0200 Subject: [PATCH] Fix installation of dcerpc_atsvc and registry as required by samba-gtk. --- source/configure.ac | 1 + source/lib/registry/registry.pc.in | 4 ++-- source/librpc/config.mk | 7 +++++-- source/librpc/dcerpc_atsvc.pc.in | 11 +++++++++++ 4 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 source/librpc/dcerpc_atsvc.pc.in diff --git a/source/configure.ac b/source/configure.ac index 0e264d347..01f514e85 100644 --- a/source/configure.ac +++ b/source/configure.ac @@ -34,6 +34,7 @@ AC_CONFIG_FILES(torture/torture.pc) AC_CONFIG_FILES(auth/gensec/gensec.pc) AC_CONFIG_FILES(param/samba-hostconfig.pc) AC_CONFIG_FILES(librpc/dcerpc_samr.pc) +AC_CONFIG_FILES(librpc/dcerpc_atsvc.pc) SMB_EXT_LIB_FROM_PKGCONFIG(LIBTALLOC, talloc >= 1.2.0, [], diff --git a/source/lib/registry/registry.pc.in b/source/lib/registry/registry.pc.in index 98943a073..d981a45b2 100644 --- a/source/lib/registry/registry.pc.in +++ b/source/lib/registry/registry.pc.in @@ -5,8 +5,8 @@ includedir=@includedir@ Name: registry Description: Windows-style registry library -Requires: ldb -Requires.private: +Requires: talloc +Requires.private: ldb Version: 0.0.1 Libs: -L${libdir} -lregistry Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1 diff --git a/source/librpc/config.mk b/source/librpc/config.mk index 9b91ba111..e53e512bc 100644 --- a/source/librpc/config.mk +++ b/source/librpc/config.mk @@ -362,8 +362,8 @@ PUBLIC_DEPENDENCIES = dcerpc NDR_UNIXINFO [LIBRARY::dcerpc_samr] OBJ_FILES = gen_ndr/ndr_samr_c.o -PC_FILE = dcerpc_samr.pc PUBLIC_DEPENDENCIES = dcerpc NDR_SAMR +PC_FILE = dcerpc_samr.pc VERSION = 0.0.1 SO_VERSION = 0 @@ -385,9 +385,12 @@ PUBLIC_DEPENDENCIES = dcerpc NDR_SVCCTL PUBLIC_HEADERS += librpc/gen_ndr/ndr_svcctl_c.h -[SUBSYSTEM::dcerpc_atsvc] +[LIBRARY::dcerpc_atsvc] OBJ_FILES = gen_ndr/ndr_atsvc_c.o PUBLIC_DEPENDENCIES = dcerpc NDR_ATSVC +PC_FILE = dcerpc_atsvc.pc +VERSION = 0.0.1 +SO_VERSION = 0 PUBLIC_HEADERS += librpc/gen_ndr/ndr_atsvc_c.h diff --git a/source/librpc/dcerpc_atsvc.pc.in b/source/librpc/dcerpc_atsvc.pc.in new file mode 100644 index 000000000..c4102237d --- /dev/null +++ b/source/librpc/dcerpc_atsvc.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: dcerpc_samr +Description: DCE/RPC client library - SAMR +Requires.private: dcerpc ndr +Version: 0.0.1 +Libs: -L${libdir} -ldcerpc_samr +Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1 -- 2.34.1