Fix installation of dcerpc_atsvc and registry as required by samba-gtk.
authorJelmer Vernooij <jelmer@samba.org>
Wed, 2 Apr 2008 23:36:03 +0000 (01:36 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Wed, 2 Apr 2008 23:36:03 +0000 (01:36 +0200)
source/configure.ac
source/lib/registry/registry.pc.in
source/librpc/config.mk
source/librpc/dcerpc_atsvc.pc.in [new file with mode: 0644]

index 0e264d3..01f514e 100644 (file)
@@ -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,
        [],
index 98943a0..d981a45 100644 (file)
@@ -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
index 9b91ba1..e53e512 100644 (file)
@@ -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 (file)
index 0000000..c410223
--- /dev/null
@@ -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