[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha2-526-g91d7ba5

Jelmer Vernooij jelmer at samba.org
Tue Jan 22 18:06:18 GMT 2008


The branch, v4-0-test has been updated
       via  91d7ba5202e6c375456a42c2c6861f63c7fcfc20 (commit)
       via  e9f99732677f46d599c270cfcb5042c11d34d338 (commit)
       via  4b83dc06471818089790c42157b972964d8d02e2 (commit)
       via  c0165aab47b4948b8767517b7795c6ec28fb6b6b (commit)
       via  96a5ac9db2399019518e134a00c564ec1066f536 (commit)
       via  d43b18cc5e8b58ca965205cccfe25f8a120d2ca7 (commit)
       via  676fd18fa2914b7b5530014a944a11ea1d6f631d (commit)
       via  5c64d4adaf50215ec2645f76e6c0335572147614 (commit)
       via  c8947fda23eb874a7694bdee1b4de605744c2769 (commit)
       via  8104907c5222ee72d78272ab81583d25c3132d0d (commit)
       via  2fc26c09026a0f2f74e5c7c86002e662b559d265 (commit)
      from  da0952bdd6196b23200063cadd866b1d5551a65c (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit 91d7ba5202e6c375456a42c2c6861f63c7fcfc20
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Tue Jan 22 18:49:51 2008 +0100

    build: Remove support for DESCRIPTION setting that is now unused.

commit e9f99732677f46d599c270cfcb5042c11d34d338
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Tue Jan 22 18:47:18 2008 +0100

    build: remove support for automatically building .pc files.

commit 4b83dc06471818089790c42157b972964d8d02e2
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Tue Jan 22 18:43:07 2008 +0100

    dcerpc_samr: Use manually written .pc file.

commit c0165aab47b4948b8767517b7795c6ec28fb6b6b
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Tue Jan 22 18:41:30 2008 +0100

    param: Use manually written .pc file.

commit 96a5ac9db2399019518e134a00c564ec1066f536
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Tue Jan 22 18:39:54 2008 +0100

    gensec: Use manually written .pc file.

commit d43b18cc5e8b58ca965205cccfe25f8a120d2ca7
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Tue Jan 22 18:38:14 2008 +0100

    torture: Use manually written .pc file.

commit 676fd18fa2914b7b5530014a944a11ea1d6f631d
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Tue Jan 22 18:36:14 2008 +0100

    dcerpc: Use manually written .pc files for dcerpc and ndr.

commit 5c64d4adaf50215ec2645f76e6c0335572147614
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Tue Jan 22 18:28:51 2008 +0100

    registry: Use manually written .pc file.

commit c8947fda23eb874a7694bdee1b4de605744c2769
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Tue Jan 22 18:24:00 2008 +0100

    ldb/talloc/tdb: Use manually written pc file.

commit 8104907c5222ee72d78272ab81583d25c3132d0d
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Tue Jan 22 18:21:48 2008 +0100

    build: Allow manually written pkg-config files.

commit 2fc26c09026a0f2f74e5c7c86002e662b559d265
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Tue Jan 22 18:14:12 2008 +0100

    tdb: Add URL in pc file.

-----------------------------------------------------------------------

Summary of changes:
 source/auth/gensec/config.mk        |    2 +-
 source/auth/gensec/gensec.pc.in     |   11 ++++
 source/build/m4/public.m4           |   17 +++---
 source/build/smb_build/config_mk.pm |    3 +-
 source/build/smb_build/env.pm       |   36 ------------
 source/build/smb_build/main.pl      |    5 +-
 source/build/smb_build/makefile.pm  |  109 -----------------------------------
 source/configure.ac                 |   11 ++++
 source/lib/ldb/config.mk            |    2 +-
 source/lib/registry/config.mk       |    2 +-
 source/lib/registry/registry.pc.in  |   12 ++++
 source/lib/talloc/config.mk         |    2 +-
 source/lib/tdb/config.mk            |    2 +-
 source/lib/tdb/tdb.pc.in            |    1 +
 source/lib/util/config.mk           |    1 -
 source/libcli/config.mk             |    1 -
 source/librpc/config.mk             |    6 +-
 source/librpc/dcerpc.pc.in          |   11 ++++
 source/librpc/dcerpc_samr.pc.in     |   11 ++++
 source/librpc/ndr.pc.in             |   11 ++++
 source/nsswitch/config.m4           |    1 -
 source/param/config.mk              |    2 +-
 source/param/samba-config.pc.in     |   10 +++
 source/torture/config.mk            |    2 +-
 source/torture/torture.pc.in        |   12 ++++
 25 files changed, 112 insertions(+), 171 deletions(-)
 create mode 100644 source/auth/gensec/gensec.pc.in
 create mode 100644 source/lib/registry/registry.pc.in
 create mode 100644 source/librpc/dcerpc.pc.in
 create mode 100644 source/librpc/dcerpc_samr.pc.in
 create mode 100644 source/librpc/ndr.pc.in
 create mode 100644 source/param/samba-config.pc.in
 create mode 100644 source/torture/torture.pc.in


Changeset truncated at 500 lines:

diff --git a/source/auth/gensec/config.mk b/source/auth/gensec/config.mk
index fea157c..a53dff8 100644
--- a/source/auth/gensec/config.mk
+++ b/source/auth/gensec/config.mk
@@ -1,9 +1,9 @@
 #################################
 # Start SUBSYSTEM gensec
 [LIBRARY::gensec]
+PC_FILE = gensec.pc
 VERSION = 0.0.1
 SO_VERSION = 0
-DESCRIPTION = Generic Security Library
 PUBLIC_HEADERS = gensec.h spnego.h
 PUBLIC_PROTO_HEADER = gensec_proto.h
 OBJ_FILES = gensec.o socket.o
diff --git a/source/auth/gensec/gensec.pc.in b/source/auth/gensec/gensec.pc.in
new file mode 100644
index 0000000..faf772a
--- /dev/null
+++ b/source/auth/gensec/gensec.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+modulesdir=${prefix}/modules/gensec
+
+Name: gensec
+Description: Generic Security Library
+Version: 0.0.1
+Libs: -L${libdir} -lgensec 
+Cflags: -I${includedir}  -DHAVE_IMMEDIATE_STRUCTURES=1
diff --git a/source/build/m4/public.m4 b/source/build/m4/public.m4
index 6d693ea..81da34d 100644
--- a/source/build/m4/public.m4
+++ b/source/build/m4/public.m4
@@ -34,21 +34,20 @@ ENABLE = YES
 "
 ])
 
-dnl SMB_LIBRARY(name,description,obj_files,required_subsystems,version,so_version,cflags,ldflags,pcname)
+dnl SMB_LIBRARY(name,obj_files,required_subsystems,version,so_version,cflags,ldflags,pcname)
 AC_DEFUN([SMB_LIBRARY],
 [
 SMB_INFO_LIBRARIES="$SMB_INFO_LIBRARIES
 ###################################
 # Start Library $1
 @<:@LIBRARY::$1@:>@
-DESCRIPTION = $2
-OBJ_FILES = $3
-PRIVATE_DEPENDENCIES = $4
-VERSION = $5
-SO_VERSION = $6 
-CFLAGS = $7
-LDFLAGS = $8
-PC_NAME = $9
+OBJ_FILES = $2
+PRIVATE_DEPENDENCIES = $3
+VERSION = $4
+SO_VERSION = $5 
+CFLAGS = $6
+LDFLAGS = $7
+PC_NAME = $8
 ENABLE = YES
 # End Library $1
 ###################################
diff --git a/source/build/smb_build/config_mk.pm b/source/build/smb_build/config_mk.pm
index d07660b..aa07549 100644
--- a/source/build/smb_build/config_mk.pm
+++ b/source/build/smb_build/config_mk.pm
@@ -91,6 +91,7 @@ my $section_types = {
 		"LIBRARY_REALNAME" => "string",
 
 		"PC_NAME" => "string",
+		"PC_FILE" => "string",
 		
 		"INIT_FUNCTION_TYPE"	=> "string",
 		"INIT_FUNCTION_SENTINEL" => "string",
@@ -98,8 +99,6 @@ my $section_types = {
 
 		"OBJ_FILES"		=> "list",
 
-		"DESCRIPTION"		=> "string",
-
 		"PRIVATE_DEPENDENCIES"	=> "list",
 		"PUBLIC_DEPENDENCIES"	=> "list",
 
diff --git a/source/build/smb_build/env.pm b/source/build/smb_build/env.pm
index 8fbbe9c..bbb72b5 100644
--- a/source/build/smb_build/env.pm
+++ b/source/build/smb_build/env.pm
@@ -54,42 +54,6 @@ sub _set_config($$)
 	$self->{automatic_deps} = ($self->{config}->{automatic_dependencies} eq "yes");
 }
 
-sub PkgConfig($$$$$$$$$$$$)
-{
-	my ($self,$path,$name,$libs,$privlibs,$cflags,$version,$desc,$hasmodules,$pubdep,$privdep,$dirs) = @_;
-
-	print __FILE__.": creating $path\n";
-
-	if ($self->{config}->{libreplace_cv_immediate_structures} eq "yes") {
-		$cflags .= " -DHAVE_IMMEDIATE_STRUCTURES=1";
-	}
-
-	mkpath(dirname($path),0,0755);
-	open(OUT, ">$path") or die("Can't open $path: $!");
-
-	foreach (@$dirs) {
-		print OUT "$_\n";
-	}
-	if ($hasmodules) {
-		print OUT "modulesdir=$self->{config}->{modulesdir}/$name\n" ;
-	}
-
-	print OUT "\n";
-
-	print OUT "Name: $name\n";
-	if (defined($desc)) {
-		print OUT "Description: $desc\n";
-	}
-	print OUT "Requires: $pubdep\n" if defined($pubdep);
-	print OUT "Requires.private: $privdep\n" if defined($privdep);
-	print OUT "Version: $version\n";
-	print OUT "Libs: $libs\n";
-	print OUT "Libs.private: $privlibs\n" if (defined($privlibs));
-	print OUT "Cflags: -I\${includedir} $cflags\n";
-
-	close(OUT);
-}
-
 sub Import($$)
 {
 	my ($self,$items) = @_;
diff --git a/source/build/smb_build/main.pl b/source/build/smb_build/main.pl
index e084d48..fb76910 100644
--- a/source/build/smb_build/main.pl
+++ b/source/build/smb_build/main.pl
@@ -60,8 +60,9 @@ foreach my $key (values %$OUTPUT) {
 	next unless defined $key->{OUTPUT_TYPE};
 
 	$mkenv->StaticLibrary($key) if grep(/STATIC_LIBRARY/, @{$key->{OUTPUT_TYPE}});
-	$mkenv->PkgConfig($key, $OUTPUT) if $key->{TYPE} eq "LIBRARY" 
-		                    and defined($key->{VERSION});
+	if (defined($key->{PC_FILE})) {
+		push(@{$mkenv->{pc_files}}, "$key->{BASEDIR}/$key->{PC_FILE}");
+	} 
 	$mkenv->SharedLibrary($key) if ($key->{TYPE} eq "LIBRARY") and
 					grep(/SHARED_LIBRARY/, @{$key->{OUTPUT_TYPE}});
 	if ($key->{TYPE} eq "LIBRARY" and 
diff --git a/source/build/smb_build/makefile.pm b/source/build/smb_build/makefile.pm
index 7e715b4..452e425 100644
--- a/source/build/smb_build/makefile.pm
+++ b/source/build/smb_build/makefile.pm
@@ -552,115 +552,6 @@ sub Manpage($$)
 	push (@{$self->{manpages}}, $path);
 }
 
-sub PkgConfig($$$)
-{
-	my ($self,$ctx,$other) = @_;
-	
-	my $link_name = $ctx->{NAME};
-
-	$link_name =~ s/^LIB//g;
-	$link_name = lc($link_name);
-
-	return if (not defined($ctx->{DESCRIPTION}));
-
-	my $path = output::add_dir_str($ctx->{BASEDIR}, "$link_name.pc");
-
-	push (@{$self->{pc_files}}, $path);
-
-	my $pubs;
-	my $privs;
-	my $privlibs;
-	my $publibs = "";
-
-	if (defined($ctx->{PUBLIC_DEPENDENCIES})) {
-		foreach (@{$ctx->{PUBLIC_DEPENDENCIES}}) {
-			next if ($other->{$_}->{ENABLE} eq "NO");
-			if (defined($other->{$_}->{PC_NAME})) {
-				$pubs .= "$other->{$_}->{PC_NAME} ";
-			} elsif ($other->{$_}->{TYPE} eq "EXT_LIB") {
-				my $e = $other->{$_};
-				my $ldflags = join(" ", @{$e->{LDFLAGS}});
-				$ldflags .= " " unless $ldflags eq "";
-				my $libs = join(" ", @{$e->{LIBS}});
-				$libs .= " " unless $libs eq "";
-
-				$publibs .= $ldflags.$libs;
-			} else {
-				s/^LIB//g;
-				$_ = lc($_);
-
-				$privlibs .= "-l$_ ";
-			}
-		}
-	}
-
-	if (defined($ctx->{PRIVATE_DEPENDENCIES})) {
-		foreach (@{$ctx->{PRIVATE_DEPENDENCIES}}) {
-			next if ($other->{$_}->{ENABLE} eq "NO");
-			if ($other->{$_}->{TYPE} eq "EXT_LIB") {
-				my $e = $other->{$_};
-
-				my $ldflags = join(" ", @{$e->{LDFLAGS}});
-				$ldflags .= " " unless $ldflags eq "";
-				my $libs = join(" ", @{$e->{LIBS}});
-				$libs .= " " unless $libs eq "";
-
-				$privlibs .= $ldflags.$libs;
-			} elsif ($other->{$_}->{TYPE} eq "LIBRARY") {
-				s/^LIB//g;
-				$_ = lc($_);
-
-				$privs .= "$_ ";
-			} else {
-				s/^LIB//g;
-				$_ = lc($_);
-
-				$privlibs .= "-l$_ ";
-			}
-		}
-	}
-
-	smb_build::env::PkgConfig($self,
-		$path,
-		$link_name,
-		"-L\${libdir} -l$link_name $publibs",
-		$privlibs,
-		"",
-		"$ctx->{VERSION}",
-		$ctx->{DESCRIPTION},
-		defined($ctx->{INIT_FUNCTIONS}),
-		$pubs,
-		"",
-		[
-			"prefix=$self->{config}->{prefix}",
-			"exec_prefix=$self->{config}->{exec_prefix}",
-			"libdir=$self->{config}->{libdir}",
-			"includedir=$self->{config}->{includedir}"
-		]
-	); 
-	my $abs_srcdir = abs_path($self->{config}->{srcdir});
-	smb_build::env::PkgConfig($self,
-		"bin/pkgconfig/$link_name-uninstalled.pc",
-		$link_name,
-		"-Lbin/shared -Lbin/static -l$link_name",
-		$privlibs,
-		join(' ', 
-			"-I$abs_srcdir",
-			"-I$abs_srcdir/include",
-			"-I$abs_srcdir/lib",
-			"-I$abs_srcdir/lib/replace"),
-		"$ctx->{VERSION}",
-		$ctx->{DESCRIPTION},
-		defined($ctx->{INIT_FUNCTIONS}),
-		$pubs,
-		$privs,
-		[
-			"prefix=bin/",
-			"includedir=$ctx->{BASEDIR}"
-		]
-	); 
-}
-
 sub ProtoHeader($$)
 {
 	my ($self,$ctx) = @_;
diff --git a/source/configure.ac b/source/configure.ac
index 164a21e..23fc102 100644
--- a/source/configure.ac
+++ b/source/configure.ac
@@ -27,11 +27,20 @@ m4_include(lib/charset/config.m4)
 m4_include(lib/socket/config.m4)
 m4_include(nsswitch/nsstest.m4)
 
+AC_OUTPUT(lib/registry/registry.pc)
+AC_OUTPUT(librpc/dcerpc.pc)
+AC_OUTPUT(librpc/ndr.pc)
+AC_OUTPUT(torture/torture.pc)
+AC_OUTPUT(auth/gensec/gensec.pc)
+AC_OUTPUT(param/samba-config.pc)
+AC_OUTPUT(librpc/dcerpc_samr.pc)
+
 SMB_EXT_LIB_FROM_PKGCONFIG(LIBTALLOC, talloc >= 1.1.0,
 	[],
 	[
 		m4_include(lib/talloc/libtalloc.m4)
 		SMB_INCLUDE_MK(lib/talloc/config.mk)
+		AC_OUTPUT(lib/talloc/talloc.pc)
 	]
 )
 
@@ -40,6 +49,7 @@ SMB_EXT_LIB_FROM_PKGCONFIG(LIBTDB, tdb >= 1.1.0,
 	[
 		m4_include(lib/tdb/libtdb.m4)
 		SMB_INCLUDE_MK(lib/tdb/config.mk)
+		AC_OUTPUT(lib/tdb/tdb.pc)
 	]
 )
 
@@ -50,6 +60,7 @@ SMB_EXT_LIB_FROM_PKGCONFIG(LIBLDB, ldb >= 0.9.1,
 		SMB_INCLUDE_MK(lib/ldb/ldb_ildap/config.mk)
 		SMB_INCLUDE_MK(lib/ldb/tools/config.mk)
 		SMB_SUBSYSTEM(ldb_map, [], [LIBLDB])
+		AC_OUTPUT(lib/ldb/ldb.pc)
 		define_ldb_modulesdir=no
 	],
 	[
diff --git a/source/lib/ldb/config.mk b/source/lib/ldb/config.mk
index a3b10a2..75ce89d 100644
--- a/source/lib/ldb/config.mk
+++ b/source/lib/ldb/config.mk
@@ -130,7 +130,7 @@ VERSION = 0.0.1
 SO_VERSION = 0
 OUTPUT_TYPE = SHARED_LIBRARY
 CFLAGS = -Ilib/ldb/include
-DESCRIPTION = LDAP-like embedded database library
+PC_FILE = ldb.pc
 INIT_FUNCTION_TYPE = int (*) (void)
 OBJ_FILES = \
 		common/ldb.o \
diff --git a/source/lib/registry/config.mk b/source/lib/registry/config.mk
index f1f5047..7a9c8fc 100644
--- a/source/lib/registry/config.mk
+++ b/source/lib/registry/config.mk
@@ -18,8 +18,8 @@ clean::
 # Start SUBSYSTEM registry
 [LIBRARY::registry]
 VERSION = 0.0.1
+PC_FILE = registry.pc
 SO_VERSION = 0
-DESCRIPTION = Windows-style registry library
 OBJ_FILES = \
 		interface.o \
 		util.o \
diff --git a/source/lib/registry/registry.pc.in b/source/lib/registry/registry.pc.in
new file mode 100644
index 0000000..98943a0
--- /dev/null
+++ b/source/lib/registry/registry.pc.in
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: registry
+Description: Windows-style registry library
+Requires: ldb
+Requires.private: 
+Version: 0.0.1
+Libs: -L${libdir} -lregistry 
+Cflags: -I${includedir}  -DHAVE_IMMEDIATE_STRUCTURES=1
diff --git a/source/lib/talloc/config.mk b/source/lib/talloc/config.mk
index 942ced6..16b5063 100644
--- a/source/lib/talloc/config.mk
+++ b/source/lib/talloc/config.mk
@@ -2,7 +2,7 @@
 VERSION = 1.0.0
 SO_VERSION = 1
 OBJ_FILES = talloc.o
+PC_FILE = talloc.pc
 MANPAGE = talloc.3
 CFLAGS = -Ilib/talloc
 PUBLIC_HEADERS = talloc.h
-DESCRIPTION = A hierarchical pool based memory system with destructors
diff --git a/source/lib/tdb/config.mk b/source/lib/tdb/config.mk
index c9e5a67..820c55e 100644
--- a/source/lib/tdb/config.mk
+++ b/source/lib/tdb/config.mk
@@ -3,7 +3,7 @@
 [LIBRARY::LIBTDB]
 VERSION = 0.0.1
 SO_VERSION = 0
-DESCRIPTION = Trivial Database Library
+PC_FILE = tdb.pc
 OBJ_FILES = \
 	common/tdb.o common/dump.o common/io.o common/lock.o \
 	common/open.o common/traverse.o common/freelist.o \
diff --git a/source/lib/tdb/tdb.pc.in b/source/lib/tdb/tdb.pc.in
index bb440f9..6f8f553 100644
--- a/source/lib/tdb/tdb.pc.in
+++ b/source/lib/tdb/tdb.pc.in
@@ -8,3 +8,4 @@ Description: A trivial database
 Version: @PACKAGE_VERSION@
 Libs: -L${libdir} -ltdb
 Cflags: -I${includedir} 
+URL: http://tdb.samba.org/
diff --git a/source/lib/util/config.mk b/source/lib/util/config.mk
index 53a55bf..f3e6cd7 100644
--- a/source/lib/util/config.mk
+++ b/source/lib/util/config.mk
@@ -1,7 +1,6 @@
 [SUBSYSTEM::LIBSAMBA-UTIL]
 #VERSION = 0.0.1
 #SO_VERSION = 0
-#DESCRIPTION = Generic utility functions
 PUBLIC_HEADERS = util.h \
 				 attr.h \
 				 byteorder.h \
diff --git a/source/libcli/config.mk b/source/libcli/config.mk
index a538d60..cf87e6c 100644
--- a/source/libcli/config.mk
+++ b/source/libcli/config.mk
@@ -39,7 +39,6 @@ OBJ_FILES = nbt/nbtname.o
 [SUBSYSTEM::LIBCLI_NBT]
 #VERSION = 0.0.1
 #SO_VERSION = 0
-#DESCRIPTION = NetBios over TCP/IP client library
 PRIVATE_PROTO_HEADER = nbt/nbt_proto.h
 OBJ_FILES = \
 	nbt/nbtsocket.o \
diff --git a/source/librpc/config.mk b/source/librpc/config.mk
index 4d4167b..0f5a651 100644
--- a/source/librpc/config.mk
+++ b/source/librpc/config.mk
@@ -3,7 +3,7 @@
 [LIBRARY::LIBNDR]
 VERSION = 0.0.1
 SO_VERSION = 0
-DESCRIPTION = Network Data Representation Core Library
+PC_FILE = ndr.pc
 PUBLIC_HEADERS = ndr/libndr.h
 PUBLIC_PROTO_HEADER = ndr/libndr_proto.h
 OBJ_FILES = \
@@ -345,10 +345,10 @@ 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 
 VERSION = 0.0.1
 SO_VERSION = 0
-DESCRIPTION = DCE/RPC client library - SAMR
 
 [SUBSYSTEM::RPC_NDR_SPOOLSS]
 OBJ_FILES = gen_ndr/ndr_spoolss_c.o
@@ -458,7 +458,7 @@ PUBLIC_HEADERS = gen_ndr/dcerpc.h gen_ndr/ndr_dcerpc.h
 [LIBRARY::dcerpc]
 VERSION = 0.0.1
 SO_VERSION = 0
-DESCRIPTION = DCE/RPC client library
+PC_FILE = dcerpc.pc
 PUBLIC_HEADERS = rpc/dcerpc.h \
 			gen_ndr/mgmt.h gen_ndr/ndr_mgmt.h gen_ndr/ndr_mgmt_c.h \
 			gen_ndr/epmapper.h gen_ndr/ndr_epmapper.h gen_ndr/ndr_epmapper_c.h
diff --git a/source/librpc/dcerpc.pc.in b/source/librpc/dcerpc.pc.in
new file mode 100644
index 0000000..3960f2a
--- /dev/null
+++ b/source/librpc/dcerpc.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: dcerpc
+Description: DCE/RPC client library
+Requires: ndr
+Version: 0.0.1
+Libs: -L${libdir} -ldcerpc 
+Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1
diff --git a/source/librpc/dcerpc_samr.pc.in b/source/librpc/dcerpc_samr.pc.in
new file mode 100644
index 0000000..c410223
--- /dev/null
+++ b/source/librpc/dcerpc_samr.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
diff --git a/source/librpc/ndr.pc.in b/source/librpc/ndr.pc.in
new file mode 100644
index 0000000..4317397
--- /dev/null
+++ b/source/librpc/ndr.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: ndr
+Description: Network Data Representation Core Library
+Requires: talloc
+Version: 0.0.1
+Libs: -L${libdir} -lndr 
+Cflags: -I${includedir}  -DHAVE_IMMEDIATE_STRUCTURES=1


-- 
Samba Shared Repository


More information about the samba-cvs mailing list