HDRS = [-.include] [-] ;
CCFLAGS = /define=HAVE_CONFIG_H
           /undef=__HIDE_FORBIDDEN_NAMES
	   /warn=noinfo
	   /standard=ansi89
	   ;
#LINKLIBS = [-.modules]python.opt/opt ;
LINKFLAGS = /map /cross ;

Main 		
  python : config.c ;

LinkLibraries 	
  python : libModules.a 
    [-.Python]libpython.a
    [-.Objects]libobjects.a
    [-.Parser]libparser.a	
    ;

Library 
  libModules.a :
    # Some modules that are normally always on:

    posixmodule.c	# posix (UNIX) system calls
      ndir.c filutils.c	#   opendir etc for VMS
    signalmodule.c	# signal(2)

    # Modules that should always be present (non UNIX dependent):

    arraymodule.c	# array objects
    mathmodule.c	# math library functions, e.g. sin()
    parsermodule.c	# raw interface to the Python parser
    regexmodule.c	# Regular expressions, GNU Emacs style
    regexpr.c
    stropmodule.c	# fast string operations implemented in C
    structmodule.c	# binary structure packing/unpacking
    timemodule.c	# time operations and variables

    # Thread module -- works on selected systems only, 
    # e. g. SGI IRIX and on SunOS 5.x (SOLARIS) only.
    # Note that you must have configured (and built!) Python 
    # with the --with-thread option passed to the configure 
    # script for this to work: 

    #threadmodule.c

    # Modules with some UNIX dependencies -- on by default:
    # (If you have a really backward UNIX, select and socket 
    # may not be supported...)

    #fcntlmodule.c	# fcntl(2) and ioctl(2)
    #pwdmodule.c	# pwd(3) 
    #grpmodule.c	# grp(3)
    #cryptmodule.c # crypt(3); needs -lcrypt on some systems
    selectmodule.c	# select(2); not on ancient System V
    socketmodule.c	# socket(2); not on ancient System V

    # Multimedia modules -- on by default.
    # These represent audio samples or images as strings:

    audioop.c	# Operations on audio samples
    imageop.c	# Operations on images
    rgbimgmodule.c	# Read SGI RGB image files

    # The md5 module implements the RSA Data Security, Inc. MD5
    # Message-Digest Algorithm, described in RFC 1321.  The 
    # necessary files md5c.c and md5.h are included here.

    md5module.c md5c.c

    # Lance Ellinghaus's modules:

    rotormodule.c	# enigma-inspired encryption
    #syslogmodule.c	# syslog daemon interface
    #cursesmodule.c	# guess what?

    ;
