fixed typo
[Samba/gebeck_regimport.git] / source / python / samba-head.patch
blob41b040d8f642f6403ae3e85c7b8421af0c6cb057
1 Index: Makefile.in
2 ===================================================================
3 RCS file: /data/cvs/samba/source/Makefile.in,v
4 retrieving revision 1.494
5 diff -u -r1.494 Makefile.in
6 --- Makefile.in 2002/07/03 07:37:50 1.494
7 +++ Makefile.in 2002/07/11 23:18:11
8 @@ -834,6 +834,46 @@
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) \
16 + $(SECRETS_OBJ)
18 +PY_SPOOLSS_PROTO_OBJ = python/py_spoolss.o \
19 + python/py_spoolss_printers.o python/py_spoolss_printers_conv.o\
20 + python/py_spoolss_forms.o python/py_spoolss_forms_conv.o \
21 + python/py_spoolss_ports.o python/py_spoolss_ports_conv.o \
22 + python/py_spoolss_drivers.o python/py_spoolss_drivers_conv.o \
23 + python/py_spoolss_jobs.o python/py_spoolss_jobs_conv.o \
24 + python/py_spoolss_printerdata.o
26 +PY_LSA_PROTO_OBJ = python/py_lsa.o
28 +PY_COMMON_PROTO_OBJ = python/py_common.c python/py_ntsec.c
30 +python_proto: python_spoolss_proto python_lsa_proto python_common_proto
32 +python_spoolss_proto:
33 + @cd $(srcdir) && $(SHELL) script/mkproto.sh $(AWK) \
34 + -h _PY_SPOOLSS_PROTO_H python/py_spoolss_proto.h \
35 + $(PY_SPOOLSS_PROTO_OBJ)
37 +python_lsa_proto:
38 + @cd $(srcdir) && $(SHELL) script/mkproto.sh $(AWK) \
39 + -h _PY_LSA_PROTO_H python/py_lsa_proto.h \
40 + $(PY_LSA_PROTO_OBJ)
42 +python_common_proto:
43 + @cd $(srcdir) && $(SHELL) script/mkproto.sh $(AWK) \
44 + -h _PY_COMMON_PROTO_H python/py_common_proto.h \
45 + $(PY_COMMON_PROTO_OBJ)
47 +python_ext: $(PYTHON_OBJS)
48 + @echo python python/setup.py build
49 + @PYTHON_OBJS="$(PYTHON_OBJS)" PYTHON_CFLAGS="$(CFLAGS) $(CPPFLAGS)" \
50 + python python/setup.py build
52 # revert to the previously installed version
53 revert:
54 @$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SPROGS)
55 Index: configure.in
56 ===================================================================
57 RCS file: /data/cvs/samba/source/configure.in,v
58 retrieving revision 1.321
59 diff -u -r1.321 configure.in
60 --- configure.in 2002/07/03 00:44:39 1.321
61 +++ configure.in 2002/07/11 23:18:11
62 @@ -2820,7 +2820,7 @@
63 builddir=`pwd`
64 AC_SUBST(builddir)
66 -AC_OUTPUT(include/stamp-h Makefile script/findsmb)
67 +AC_OUTPUT(include/stamp-h Makefile script/findsmb python/setup.py)
69 #################################################
70 # Print very concise instructions on building/use