Guido van Rossum | fba715a | 1994-01-02 00:26:09 +0000 | [diff] [blame^] | 1 | # This file is used by the makesetup script to construct Makefile.in |
| 2 | # and config.c, from Makefile.in.in (sic!) and config.c.in, |
| 3 | # respectively. |
| 4 | # |
| 5 | # Each line in this file describes one or more optional modules. |
| 6 | # Comment out lines to suppress modules. |
| 7 | # Lines have the following structure: |
| 8 | # |
| 9 | # <module> ... [<objectfile> ...] [<cpparg> ...] [<library> ...] |
| 10 | # |
| 11 | # <objectfile> is anything ending in .o |
| 12 | # <cpparg> is anything starting with -I, -D, -U or -C |
| 13 | # <library> is anything ending in .a or beginning with -l or -L |
| 14 | # <module> is anything else but should be a valid Python |
| 15 | # identifier (letters, digits, underscores, beginning with non-digit) |
| 16 | # |
| 17 | # Lines can also have the form |
| 18 | # |
| 19 | # <name> = <value> |
| 20 | # |
| 21 | # which defines a Make variable definition inserted into Makefile.in |
| 22 | # |
| 23 | # NOTE: As a standard policy, as many modules as can be supported by a |
| 24 | # platform should be present. The distribution comes with all modules |
| 25 | # enabled that are supported by most platforms and don't require you |
| 26 | # to ftp sources from elsewhere. To make this easier for SGI |
| 27 | # platforms, you can copy Setup.sgi to Setup (or edit Makefile.in.in |
| 28 | # to use Setup.sgi instead of Setup). |
| 29 | |
| 30 | |
| 31 | # Modules that should always be present (non UNIX dependent) |
| 32 | |
| 33 | array arraymodule.o # array objects |
| 34 | math mathmodule.o # math library functions, e.g. sin() |
| 35 | parser parsermodule.o # raw interface to the Python parser |
| 36 | posix posixmodule.o # posix (UNIX) system calls |
| 37 | regex regexmodule.o regexpr.o # Regular expressions, GNU Emacs style |
| 38 | strop stropmodule.o # fast string operations implemented in C |
| 39 | struct structmodule.o # binary structure packing/unpacking |
| 40 | time timemodule.o # time operations and variables |
| 41 | |
| 42 | |
| 43 | # Modules with some UNIX dependencies -- on by default. |
| 44 | # Note that some UNIX versions still don't support all of these |
| 45 | # so you may have to comment them out before the build completes. |
| 46 | |
| 47 | dbm dbmmodule.o # dbm(3) may require -ldbm or similar |
| 48 | fcntl fcntlmodule.o # fcntl(2) and ioctl(2) |
| 49 | nis nismodule.o # Sun yellow pages -- not everywhere |
| 50 | pwd grp pwdmodule.o # pwd(3) and grp(3) |
| 51 | select selectmodule.o # select(2); not on ancient System V |
| 52 | socket socketmodule.o # socket(2); not on ancient System V |
| 53 | |
| 54 | |
| 55 | # Multimedia modules -- off by default |
| 56 | # These represent audio samples or images as strings |
| 57 | |
| 58 | audioop audioopmodule.o # Operations on audio samples |
| 59 | imageop imageopmodule.o # Operations on images |
| 60 | rgbimg rgbimgmodule.o # Read SGI RGB image files (but coded portably) |
| 61 | |
| 62 | |
| 63 | # The stdwin module provides a simple, portable (between X11 and Mac) |
| 64 | # windowing interface. You need to ftp the STDWIN library, e.g. from |
| 65 | # ftp://ftp.cwi.nl/pub/stdwin. The STDWIN variable must point to the |
| 66 | # STDWIN toplevel directory. The ARCH variable must be set to the |
| 67 | # architecture identifier used to build STDWIN. NB if you combine this |
| 68 | # with the gl module on an SGI machine, you should replace "-lX11" with |
| 69 | # "-lX11_s". |
| 70 | |
| 71 | #STDWIN=/ufs/guido/src/stdwin |
| 72 | #ARCH=sgi |
| 73 | #stdwin stdwinmodule.o -I$(STDWIN)/H $(STDWIN)/Build/$(ARCH)/x11/lib/lib.a -lX11 |
| 74 | |
| 75 | |
| 76 | # The md5 module implements the RSA Data Security, Inc. MD5 |
| 77 | # Message-Digest Algorithm, described in RFC 1321. The necessary files |
| 78 | # md5c.c and md5.h are included here. |
| 79 | |
| 80 | md5 md5module.o md5c.o |
| 81 | |
| 82 | |
| 83 | # The mpz module interfaces to the GNU Multiple Precision library. |
| 84 | # You need to ftp the GNU MP library. This was last tested with a |
| 85 | # somewhat modified (to get around bugs) version of GMP 1.2; it will |
| 86 | # likely need some work for more recent versions. The GMP variable |
| 87 | # must point to the GMP source directory. |
| 88 | |
| 89 | #GMP=/ufs/guido/src/gmp |
| 90 | #mpz mpzmodule.o -I$(GMP) $(GMP)/libgmp.a |
| 91 | |
| 92 | |
| 93 | # The rotor module (contributed by Lance Ellinghouse) implements a |
| 94 | # rotor-based encryption algorithm. It is self-contained. |
| 95 | |
| 96 | rotor rotormodule.o |
| 97 | |
| 98 | |
| 99 | # SGI IRIX specific modules -- off by default. |
| 100 | # Switch this on if you have an SGI machine. |
| 101 | # Note that some required libraries and header files aren't always |
| 102 | # installed; you may be better off switching on only 'fm' and 'gl' |
| 103 | # (Font Manager and Graphics Library). |
| 104 | |
| 105 | #al almodule.o -laudio # audio |
| 106 | #cd cdmodule.o -lcdaudio -lds # |
| 107 | #cl clmodule.o -lcl |
| 108 | #fm fmmodule.o -lfm_s -lgl_s |
| 109 | #gl glmodule.o -lgl_s |
| 110 | #imgfile imgfilemodule.o -limage -lgutil -lm |
| 111 | #sgi sgimodule.o |
| 112 | #sv svmodule.o yuvconvert.o -lsvideo -lXext -lX11_s |
| 113 | |
| 114 | # The FORMS library, by Mark Overmars, implements user interface |
| 115 | # components such as dialogs and buttons using SGI's GL and FM |
| 116 | # libraries. You must ftp the FORMS library separately from |
| 117 | # ftp://ftp.cs.ruu.nl/pub/SGI/FORMS. It was tested with FORMS 2.2a. |
| 118 | # The FORMS variable must point to the FORMS subdirectory of the forms |
| 119 | # toplevel directory. |
| 120 | |
| 121 | #FORMS=/ufs/guido/src/forms/FORMS |
| 122 | #fl flmodule.o -I$(FORMS) $(FORMS)/libforms.a |
| 123 | |
| 124 | |
| 125 | # SunOS specific modules -- off by default |
| 126 | |
| 127 | # sunaudiodev sunaudiodevmodule.o |
| 128 | |
| 129 | |
| 130 | # Thread module -- works on SGI IRIX and on SunOS 5.x (SOLARIS) only. |
| 131 | # Note that you must have configured (and built!) Python with the |
| 132 | # --with-thread option passed to the configure script for this to work. |
| 133 | |
| 134 | # thread threadmodule.o |
| 135 | |
| 136 | |
| 137 | # Example -- included for reference only |
| 138 | |
| 139 | # xx xxmodule.o |