summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
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'
)