all that is left to do is to actually perform the
[Samba.git] / source / python / samba-head.patch
blob08945334872356d0c2e585e6dd87eb24ca027e6b
1 Index: Makefile.in
2 ===================================================================
3 RCS file: /data/cvs/samba/source/Makefile.in,v
4 retrieving revision 1.475
5 diff -u -r1.475 Makefile.in
6 --- Makefile.in 2002/05/09 04:44:00 1.475
7 +++ Makefile.in 2002/05/13 07:26:04
8 @@ -792,6 +792,45 @@
9 -$(INSTALLCMD) -d ${prefix}/include
10 -$(INSTALLCMD) include/libsmbclient.h ${prefix}/include
12 +# Python extensions
14 +PYTHON_OBJS = $(LIB_OBJ) $(LIBSMB_OBJ) $(RPC_PARSE_OBJ) $(UBIQX_OBJ) \
15 + $(PARAM_OBJ) $(LIBMSRPC_OBJ) $(PASSDB_OBJ) $(GROUPDB_OBJ)
17 +PY_SPOOLSS_PROTO_OBJ = python/py_spoolss.o \
18 + python/py_spoolss_printers.o python/py_spoolss_printers_conv.o\
19 + python/py_spoolss_forms.o python/py_spoolss_forms_conv.o \
20 + python/py_spoolss_ports.o python/py_spoolss_ports_conv.o \
21 + python/py_spoolss_drivers.o python/py_spoolss_drivers_conv.o \
22 + python/py_spoolss_jobs.o python/py_spoolss_jobs_conv.o \
23 + python/py_spoolss_printerdata.o
25 +PY_LSA_PROTO_OBJ = python/py_lsa.o
27 +PY_COMMON_PROTO_OBJ = python/py_common.c python/py_ntsec.c
29 +python_proto: python_spoolss_proto python_lsa_proto python_common_proto
31 +python_spoolss_proto:
32 + @cd $(srcdir) && $(SHELL) script/mkproto.sh $(AWK) \
33 + -h _PY_SPOOLSS_PROTO_H python/py_spoolss_proto.h \
34 + $(PY_SPOOLSS_PROTO_OBJ)
36 +python_lsa_proto:
37 + @cd $(srcdir) && $(SHELL) script/mkproto.sh $(AWK) \
38 + -h _PY_LSA_PROTO_H python/py_lsa_proto.h \
39 + $(PY_LSA_PROTO_OBJ)
41 +python_common_proto:
42 + @cd $(srcdir) && $(SHELL) script/mkproto.sh $(AWK) \
43 + -h _PY_COMMON_PROTO_H python/py_common_proto.h \
44 + $(PY_COMMON_PROTO_OBJ)
46 +python_ext: $(PYTHON_OBJS)
47 + @echo python python/setup.py build
48 + @PYTHON_OBJS="$(PYTHON_OBJS)" PYTHON_CFLAGS="$(CFLAGS) $(CPPFLAGS)" \
49 + python python/setup.py build
51 # revert to the previously installed version
52 revert:
53 @$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SPROGS)
54 Index: configure.in
55 ===================================================================
56 RCS file: /data/cvs/samba/source/configure.in,v
57 retrieving revision 1.307
58 diff -u -r1.307 configure.in
59 --- configure.in 2002/05/11 00:36:33 1.307
60 +++ configure.in 2002/05/13 07:26:06
61 @@ -2892,7 +2892,7 @@
62 builddir=`pwd`
63 AC_SUBST(builddir)
65 -AC_OUTPUT(include/stamp-h Makefile script/findsmb)
66 +AC_OUTPUT(include/stamp-h Makefile script/findsmb python/setup.py)
68 #################################################
69 # Print very concise instructions on building/use