mirror of
https://github.com/samba-team/samba.git
synced 2025-06-21 03:17:08 +03:00
68 lines
2.2 KiB
Diff
68 lines
2.2 KiB
Diff
Index: Makefile.in
|
|
===================================================================
|
|
RCS file: /data/cvs/samba/source/Makefile.in,v
|
|
retrieving revision 1.470
|
|
diff -u -r1.470 Makefile.in
|
|
--- Makefile.in 2002/04/13 11:45:33 1.470
|
|
+++ Makefile.in 2002/04/18 03:34:05
|
|
@@ -787,6 +787,43 @@
|
|
-$(INSTALLCMD) -d ${prefix}/include
|
|
-$(INSTALLCMD) include/libsmbclient.h ${prefix}/include
|
|
|
|
+# Python extensions
|
|
+
|
|
+PYTHON_OBJS = $(LIB_OBJ) $(LIBSMB_OBJ) $(RPC_PARSE_OBJ) $(UBIQX_OBJ) \
|
|
+ $(PARAM_OBJ) $(LIBMSRPC_OBJ) $(PASSDB_OBJ) $(GROUPDB_OBJ)
|
|
+
|
|
+PY_SPOOLSS_PROTO_OBJ = python/py_spoolss.o \
|
|
+ python/py_spoolss_printers.o python/py_spoolss_printers_conv.o\
|
|
+ python/py_spoolss_forms.o python/py_spoolss_forms_conv.o \
|
|
+ python/py_spoolss_ports.o python/py_spoolss_ports_conv.o \
|
|
+ python/py_spoolss_drivers.o python/py_spoolss_drivers_conv.o \
|
|
+
|
|
+PY_LSA_PROTO_OBJ = python/py_lsa.o
|
|
+
|
|
+PY_COMMON_PROTO_OBJ = python/py_common.c python/py_ntsec.c
|
|
+
|
|
+python_proto: python_spoolss_proto python_lsa_proto python_common_proto
|
|
+
|
|
+python_spoolss_proto:
|
|
+ @cd $(srcdir) && $(SHELL) script/mkproto.sh $(AWK) \
|
|
+ -h _PY_SPOOLSS_PROTO_H python/py_spoolss_proto.h \
|
|
+ $(PY_SPOOLSS_PROTO_OBJ)
|
|
+
|
|
+python_lsa_proto:
|
|
+ @cd $(srcdir) && $(SHELL) script/mkproto.sh $(AWK) \
|
|
+ -h _PY_LSA_PROTO_H python/py_lsa_proto.h \
|
|
+ $(PY_LSA_PROTO_OBJ)
|
|
+
|
|
+python_common_proto:
|
|
+ @cd $(srcdir) && $(SHELL) script/mkproto.sh $(AWK) \
|
|
+ -h _PY_COMMON_PROTO_H python/py_common_proto.h \
|
|
+ $(PY_COMMON_PROTO_OBJ)
|
|
+
|
|
+python_ext: $(PYTHON_OBJS)
|
|
+ @echo python python/setup.py build
|
|
+ @PYTHON_OBJS="$(PYTHON_OBJS)" PYTHON_CFLAGS="$(CFLAGS) $(CPPFLAGS)" \
|
|
+ python python/setup.py build
|
|
+
|
|
# revert to the previously installed version
|
|
revert:
|
|
@$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SPROGS)
|
|
Index: configure.in
|
|
===================================================================
|
|
RCS file: /data/cvs/samba/source/configure.in,v
|
|
retrieving revision 1.300
|
|
diff -u -r1.300 configure.in
|
|
--- configure.in 2002/04/11 15:26:58 1.300
|
|
+++ configure.in 2002/04/18 03:34:05
|
|
@@ -2716,7 +2716,7 @@
|
|
builddir=`pwd`
|
|
AC_SUBST(builddir)
|
|
|
|
-AC_OUTPUT(include/stamp-h Makefile)
|
|
+AC_OUTPUT(include/stamp-h Makefile python/setup.py)
|
|
|
|
#################################################
|
|
# Print very concise instructions on building/use
|