From 8f9a17be892f87ab576f1824a7b6fe37abd59887 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 18 Feb 2003 05:05:15 +0000 Subject: 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) --- source3/python/setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source3/python/setup.py') 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"], -- cgit