summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorWilco Baan Hofman <wilco@baanhofman.nl>2010-04-23 11:58:26 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-06-20 17:19:10 +0200
commita1fceac844a0a7690ab985fa08e6a08127e770bf (patch)
tree8fdb1099e708147d0fcd6173dcba122a30665598 /source4/lib
parentb02571541998f2698a92be8729f4f0da869a0f99 (diff)
downloadsamba-a1fceac844a0a7690ab985fa08e6a08127e770bf.tar.gz
samba-a1fceac844a0a7690ab985fa08e6a08127e770bf.tar.bz2
samba-a1fceac844a0a7690ab985fa08e6a08127e770bf.zip
Rename files to reflect the libpolicy naming convention. Also fix the GNU make build.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/policy/config.mk4
-rw-r--r--source4/lib/policy/gp_ldap.c (renamed from source4/lib/policy/gpo_ldap.c)2
-rw-r--r--source4/lib/policy/policy.h (renamed from source4/lib/policy/gpo.h)0
-rw-r--r--source4/lib/policy/wscript_build4
4 files changed, 6 insertions, 4 deletions
diff --git a/source4/lib/policy/config.mk b/source4/lib/policy/config.mk
index 831f8012e3..01bd1f4f28 100644
--- a/source4/lib/policy/config.mk
+++ b/source4/lib/policy/config.mk
@@ -1,4 +1,6 @@
[SUBSYSTEM::policy]
PRIVATE_DEPENDENCIES = LIBLDB LIBSAMBA-NET
-policy_OBJ_FILES = $(policydir)/gpo_ldap.o
+policy_OBJ_FILES = $(policydir)/gp_ldap.o
+
+PC_FILES += $(policydir)/policy.pc
diff --git a/source4/lib/policy/gpo_ldap.c b/source4/lib/policy/gp_ldap.c
index 4c44e83cb9..ee3da9d239 100644
--- a/source4/lib/policy/gpo_ldap.c
+++ b/source4/lib/policy/gp_ldap.c
@@ -29,7 +29,7 @@
#include "../libcli/security/dom_sid.h"
#include "libcli/security/security.h"
#include "../lib/talloc/talloc.h"
-#include "gpo.h"
+#include "policy.h"
struct gpo_stringmap {
const char *str;
diff --git a/source4/lib/policy/gpo.h b/source4/lib/policy/policy.h
index 2e58094608..2e58094608 100644
--- a/source4/lib/policy/gpo.h
+++ b/source4/lib/policy/policy.h
diff --git a/source4/lib/policy/wscript_build b/source4/lib/policy/wscript_build
index eef9683dc7..8575f902dd 100644
--- a/source4/lib/policy/wscript_build
+++ b/source4/lib/policy/wscript_build
@@ -1,9 +1,9 @@
#!/usr/bin/env python
bld.SAMBA_LIBRARY('policy',
- source='gpo_ldap.c',
+ source='gp_ldap.c',
pc_files='policy.pc',
public_deps='LIBLDB LIBSAMBA-NET',
- public_headers='gpo.h',
+ public_headers='policy.h',
vnum='0.0.1'
)