summaryrefslogtreecommitdiff
path: root/source3/python/setup.py
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-02-18 05:05:15 +0000
committerTim Potter <tpot@samba.org>2003-02-18 05:05:15 +0000
commit8f9a17be892f87ab576f1824a7b6fe37abd59887 (patch)
tree0d9c7b6a363f210a562f20c195c55afab32afc37 /source3/python/setup.py
parentfb8d1412e1e109a1af8acc759c128df8c82bd47d (diff)
downloadsamba-8f9a17be892f87ab576f1824a7b6fe37abd59887.tar.gz
samba-8f9a17be892f87ab576f1824a7b6fe37abd59887.tar.bz2
samba-8f9a17be892f87ab576f1824a7b6fe37abd59887.zip
Cleanup of header files for python extensions.
- combine py_foo_proto.h and py_foo.h - move #include of Python.h into one place so we can get rid of that annoying compiler warning about HAVE_FSTAT being redefined (This used to be commit 0659351b251aee438bb9e92682bc445f164923a5)
Diffstat (limited to 'source3/python/setup.py')
-rwxr-xr-xsource3/python/setup.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/python/setup.py b/source3/python/setup.py
index 7d5df71b10..48487fee4d 100755
--- a/source3/python/setup.py
+++ b/source3/python/setup.py
@@ -3,7 +3,7 @@
# Unix SMB/CIFS implementation.
# Module packaging setup for Samba python extensions
#
-# Copyright (C) Tim Potter, 2002
+# Copyright (C) Tim Potter, 2002-2003
# Copyright (C) Martin Pool, 2002
#
# This program is free software; you can redistribute it and/or modify
@@ -83,6 +83,7 @@ setup(
samba_srcdir + "python/py_common.c",
samba_srcdir + "python/py_conv.c",
samba_srcdir + "python/py_ntsec.c",
+ samba_srcdir + "python/py_spoolss_common.c",
samba_srcdir + "python/py_spoolss_forms.c",
samba_srcdir + "python/py_spoolss_forms_conv.c",
samba_srcdir + "python/py_spoolss_drivers.c",
@@ -148,6 +149,8 @@ setup(
Extension(name = "srvsvc",
sources = [samba_srcdir + "python/py_srvsvc.c",
+ samba_srcdir + "python/py_conv.c",
+ samba_srcdir + "python/py_srvsvc_conv.c",
samba_srcdir + "python/py_common.c"],
libraries = lib_list,
library_dirs = ["/usr/kerberos/lib"],