summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-10-08 12:18:09 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-10-13 14:06:07 +0200
commitebf3ecd986bbb5a84418b8519537054ac4fa0dc1 (patch)
tree47829bf3e12c620f3420ce354d11cf8659c2ba8b
parentd2a9e8df35be1516f22f0ef78356de6d4b02d4d3 (diff)
downloadsamba-ebf3ecd986bbb5a84418b8519537054ac4fa0dc1.tar.gz
samba-ebf3ecd986bbb5a84418b8519537054ac4fa0dc1.tar.bz2
samba-ebf3ecd986bbb5a84418b8519537054ac4fa0dc1.zip
build: use lib/param loadparm code in source3 to get at lpcfg_ functions
-rw-r--r--source3/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 27c33933b1..271006465a 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -494,7 +494,7 @@ READLINE_OBJ = ../libcli/smbreadline/smbreadline.o
# Be sure to include them into your application
POPT_LIB_OBJ = lib/popt_common.o
-PARAM_WITHOUT_REG_OBJ = ../dynconfig/dynconfig.o param/loadparm.o param/loadparm_server_role.o param/util.o lib/sharesec.o lib/ldap_debug_handler.o
+PARAM_WITHOUT_REG_OBJ = ../dynconfig/dynconfig.o param/loadparm.o param/loadparm_ctx.o param/loadparm_server_role.o param/util.o lib/sharesec.o lib/ldap_debug_handler.o ../lib/param/loadparm.o ../lib/param/util.o
PARAM_REG_ADD_OBJ = $(REG_SMBCONF_OBJ) $(LIBSMBCONF_OBJ) $(PRIVILEGES_BASIC_OBJ)
PARAM_OBJ = $(PARAM_WITHOUT_REG_OBJ) $(PARAM_REG_ADD_OBJ)
@@ -1656,7 +1656,11 @@ idl_full::
mkparam:
$(PERL) ../script/mkparamdefs.pl $(srcdir)/../lib/param/param_functions.c --file ../lib/param/param_local.h --generate-scope=LOCAL
+ $(PERL) ../script/mkparamdefs.pl $(srcdir)/../lib/param/loadparm.c --file ../lib/param/param_global.h --generate-scope=GLOBAL
$(PERL) ../script/mkparamdefs.pl $(srcdir)/param/loadparm.c --file param/param_global.h --generate-scope=GLOBAL
+ $(PERL) ../source4/script/mkproto.pl $(srcdir)/../lib/param/loadparm.c --public ../lib/param/param_proto.h --private ../lib/param/param_proto.h
+ $(PERL) ../script/mks3param.pl $(srcdir)/../lib/param/loadparm.c --file ../lib/param/s3_param.h
+
#####################################################################