mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
Rename libgpo to lib/policy to avoid confusion with samba3 and add waf build
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
This commit is contained in:
parent
626db5c3b5
commit
b025715419
@ -109,7 +109,7 @@ ntp_signdsrcdir := ntp_signd
|
||||
wmisrcdir := lib/wmi
|
||||
tallocsrcdir := ../lib/talloc
|
||||
comsrcdir := $(srcdir)/lib/com
|
||||
libgpodir := libgpo
|
||||
policydir := lib/policy
|
||||
|
||||
include data.mk
|
||||
|
||||
|
4
source4/lib/policy/config.mk
Normal file
4
source4/lib/policy/config.mk
Normal file
@ -0,0 +1,4 @@
|
||||
[SUBSYSTEM::policy]
|
||||
PRIVATE_DEPENDENCIES = LIBLDB LIBSAMBA-NET
|
||||
|
||||
policy_OBJ_FILES = $(policydir)/gpo_ldap.o
|
12
source4/lib/policy/policy.pc.in
Normal file
12
source4/lib/policy/policy.pc.in
Normal file
@ -0,0 +1,12 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: policy
|
||||
Description: Active Directory Group Policy library
|
||||
Requires: talloc
|
||||
Requires.private: ldb
|
||||
Version: 0.0.1
|
||||
Libs: -L${libdir} -lpolicy
|
||||
Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1
|
9
source4/lib/policy/wscript_build
Normal file
9
source4/lib/policy/wscript_build
Normal file
@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
bld.SAMBA_LIBRARY('policy',
|
||||
source='gpo_ldap.c',
|
||||
pc_files='policy.pc',
|
||||
public_deps='LIBLDB LIBSAMBA-NET',
|
||||
public_headers='gpo.h',
|
||||
vnum='0.0.1'
|
||||
)
|
@ -1,4 +0,0 @@
|
||||
[SUBSYSTEM::LIBGPO]
|
||||
PRIVATE_DEPENDENCIES = LIBLDB LIBSAMBA-NET
|
||||
|
||||
LIBGPO_OBJ_FILES = $(libgpodir)/gpo_ldap.o
|
@ -33,7 +33,7 @@ PRIVATE_DEPENDENCIES = \
|
||||
LIBPOPT \
|
||||
POPT_SAMBA \
|
||||
POPT_CREDENTIALS \
|
||||
LIBGPO \
|
||||
policy \
|
||||
net_drs
|
||||
# End BINARY net
|
||||
#################################
|
||||
|
@ -10,9 +10,9 @@ bld.SAMBA_MODULE('net_drs',
|
||||
|
||||
|
||||
bld.SAMBA_BINARY('net',
|
||||
source='net.c net_password.c net_join.c net_vampire.c',
|
||||
source='net.c net_password.c net_join.c net_vampire.c net_gpo.c',
|
||||
autoproto='net_proto.h',
|
||||
deps='LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL LIBSAMBA-NET popt POPT_SAMBA POPT_CREDENTIALS net_drs',
|
||||
deps='LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL LIBSAMBA-NET popt POPT_SAMBA POPT_CREDENTIALS net_drs policy',
|
||||
needs_python=True
|
||||
)
|
||||
|
||||
|
@ -107,7 +107,7 @@ bld.RECURSE('../libcli/nbt')
|
||||
bld.RECURSE('../libcli/auth')
|
||||
bld.RECURSE('../libcli/drsuapi')
|
||||
bld.RECURSE('../libcli/samsync')
|
||||
bld.RECURSE('../libgpo')
|
||||
bld.RECURSE('lib/policy')
|
||||
bld.RECURSE('../libcli/named_pipe_auth')
|
||||
bld.RECURSE('heimdal_build')
|
||||
bld.RECURSE('lib/smbreadline')
|
||||
|
Loading…
x
Reference in New Issue
Block a user