home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_python.idb / usr / freeware / lib / python1.5 / config / Setup.local.z / Setup.local
Encoding:
Text File  |  1999-04-16  |  7.4 KB  |  204 lines

  1. # Edit this file for local setup changes
  2. #
  3. # Ariel - I added several modules to the default ones.
  4. # Could do more but these required either:
  5. #    1) Sources that aren't included by default
  6. #    2) Stuff that's available on IRIX 6.5 but not on 6.2
  7. # All in all a slight compromise.
  8. #
  9.  
  10. # The SGI specific GL module:
  11. GLHACK=-Dclear=__GLclear
  12. gl glmodule.c cgensupport.c -I$(srcdir) $(GLHACK) -lgl -lX11
  13.  
  14.  
  15. # GNU readline.  Unlike previous Python incarnations, GNU readline is
  16. # now incorporated in an optional module, configured in the Setup file
  17. # instead of by a configure script switch.  You may have to insert a
  18. # -L option pointing to the directory where libreadline.* lives,
  19. # and you may have to change -ltermcap to -ltermlib or perhaps remove
  20. # it, depending on your system -- see the GNU readline instructions.
  21. # It's okay for this to be a shared library, too.
  22. #
  23. # Ariel: This is useful. I rely on it to be in /usr/freeware/lib32
  24. #
  25. readline readline.c -I/usr/freeware/include -L/usr/freeware/lib32 -lreadline -ltermcap
  26.  
  27.  
  28. # The crypt module is now disabled by default because it breaks builds
  29. # on many systems (where -lcrypt is needed), e.g. Linux (I believe).
  30. crypt cryptmodule.c -L/usr/lib32 -lcrypt
  31. # crypt(3); needs -lcrypt on some systems
  32.  
  33.  
  34. # Some more UNIX dependent modules -- off by default, since these
  35. # are not supported by all UNIX systems:
  36. # nis nismodule.c     # Sun yellow pages -- not everywhere
  37. termios termios.c    # Steen Lumholt's termios module
  38. resource resource.c    # Jeremy Hylton's rlimit interface
  39.  
  40.  
  41. # Multimedia modules -- off by default.
  42. # These don't work for 64-bit platforms!!!
  43. # These represent audio samples or images as strings:
  44.  
  45. audioop audioop.c    # Operations on audio samples
  46. imageop imageop.c    # Operations on images
  47. rgbimg rgbimgmodule.c   # Read SGI RGB image files (but coded portably)
  48.  
  49.  
  50. # The stdwin module provides a simple, portable (between X11 and Mac)
  51. # windowing interface.  You need to ftp the STDWIN library, e.g. from
  52. # ftp://ftp.cwi.nl/pub/stdwin.  (If you get it elsewhere, be sure to
  53. # get version 1.0 or higher!)  The STDWIN variable must point to the
  54. # STDWIN toplevel directory.
  55.  
  56. # Uncomment and edit as needed:
  57. #STDWIN=/ufs/guido/src/stdwin
  58.  
  59. # Uncomment these lines:
  60. #STDWINPATH=:lib-stdwin
  61. #LIBTEXTEDIT=$(STDWIN)/$(MACHDEP)/Packs/textedit/libtextedit.a
  62. #LIBX11STDWIN=$(STDWIN)/$(MACHDEP)/Ports/x11/libstdwin.a
  63. #stdwin stdwinmodule.c -I$(STDWIN)/H $(LIBTEXTEDIT) $(LIBX11STDWIN) -lX11
  64.  
  65. # Use this instead of the last two lines above for alphanumeric stdwin:
  66. #LIBALFASTDWIN=$(STDWIN)/$(MACHDEP)/Ports/alfa/libstdwin.a
  67. #stdwin stdwinmodule.c -I$(STDWIN)/H $(LIBTEXTEDIT) $(LIBALFASTDWIN) -ltermcap
  68.  
  69.  
  70. # SGI IRIX specific modules -- off by default.
  71. # These module work on any SGI machine:
  72. # *** gl must be enabled higher up in this file ***
  73. fm fmmodule.c $(GLHACK) -lfm -lgl        # Font Manager
  74. sgi sgimodule.c            # sgi.nap() and a few more
  75.  
  76. # Ariel: doesn't exist by deafult on 6.2 ?
  77. # This module requires the header file
  78. # /usr/people/4Dgifts/iristools/include/izoom.h:
  79. # imgfile imgfile.c -limage -lgutil -lgl -lm    # Image Processing Utilities
  80.  
  81.  
  82. # These modules require the Multimedia Development Option (I think):
  83. al almodule.c -laudio            # Audio Library
  84. # cd cdmodule.c -lcdaudio -lds -lmediad    # CD Audio Library
  85. cl clmodule.c -lcl -lawareaudio    # Compression Library
  86. # sv svmodule.c yuvconvert.c -lsvideo -lXext -lX11    # Starter Video
  87.  
  88.  
  89. # The FORMS library, by Mark Overmars, implements user interface
  90. # components such as dialogs and buttons using SGI's GL and FM
  91. # libraries.  You must ftp the FORMS library separately from
  92. # ftp://ftp.cs.ruu.nl/pub/SGI/FORMS.  It was tested with FORMS 2.2a.
  93. # NOTE: if you want to be able to use FORMS and curses simultaneously
  94. # (or both link them statically into the same binary), you must
  95. # compile all of FORMS with the cc option "-Dclear=__GLclear".
  96.  
  97. # The FORMS variable must point to the FORMS subdirectory of the forms
  98. # toplevel directory:
  99.  
  100. # FORMS=/ufs/guido/src/forms/FORMS
  101. # fl flmodule.c -I$(FORMS) $(GLHACK) $(FORMS)/libforms.a -lfm -lgl
  102.  
  103.  
  104. # George Neville-Neil's timing module:
  105. timing timingmodule.c
  106.  
  107.  
  108. # The _tkinter module.
  109. #
  110. # The TKPATH variable is always enabled, to save you the effort.
  111. TKPATH=:lib-tk
  112.  
  113. # The command for _tkinter is long and site specific.  Please
  114. # uncomment and/or edit those parts as indicated.  If you don't have a
  115. # specific extension (e.g. Tix or BLT), leave the corresponding line
  116. # commented out.  (Leave the trailing backslashes in!  If you
  117. # experience strange errors, you may want to join all uncommented
  118. # lines and remove the backslashes -- the backslash interpretation is
  119. # done by the shell's "read" command and it may not be implemented on
  120. # every system.
  121.  
  122. # *** Always uncomment this (leave the leading underscore in!):
  123. # _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \
  124. # *** Uncomment and edit to reflect where your Tcl/Tk headers are:
  125. #    -I/usr/local/include \
  126. # *** Uncomment and edit to reflect where your X11 header files are:
  127. #    -I/usr/X11R6/include \
  128. # *** Or uncomment this for Solaris:
  129. #    -I/usr/openwin/include \
  130. # *** Uncomment and edit for Tix extension only:
  131. #    -DWITH_TIX -ltix4.1.8.0 \
  132. # *** Uncomment and edit for BLT extension only:
  133. #    -DWITH_BLT -I/usr/local/blt/blt8.0-unoff/include -lBLT8.0 \
  134. # *** Uncomment and edit for PIL (TkImaging) extension only:
  135. #    -DWITH_PIL -I../Extensions/Imaging/libImaging  tkImaging.c \
  136. # *** Uncomment and edit for TOGL extension only:
  137. #    -DWITH_TOGL togl.c \
  138. # *** Uncomment and edit to reflect where your Tcl/Tk libraries are:
  139. #    -L/usr/local/lib \
  140. # *** Uncomment and edit to reflect your Tcl/Tk versions:
  141. #    -ltk8.0 -ltcl8.0 \
  142. # *** Uncomment and edit to reflect where your X11 libraries are:
  143. #    -L/usr/X11R6/lib \
  144. # *** Or uncomment this for Solaris:
  145. #    -L/usr/openwin/lib \
  146. # *** Uncomment these for TOGL extension only:
  147. #    -lGL -lGLU -lXext -lXmu \
  148. # *** Uncomment for AIX:
  149. #    -lld \
  150. # *** Always uncomment this; X11 libraries to link with:
  151. #    -lX11
  152.  
  153. # Lance Ellinghaus's modules:
  154.  
  155. syslog syslogmodule.c        # syslog daemon interface
  156.  
  157.  
  158. # Lance's curses module.  This requires the System V version of
  159. # curses, sometimes known as ncurses (e.g. on Linux, link with
  160. # -lncurses instead of -lcurses; on SunOS 4.1.3, insert -I/usr/5include
  161. # -L/usr/5lib before -lcurses).
  162.  
  163. curses cursesmodule.c -lcurses -ltermcap
  164.  
  165.  
  166.  
  167. # Modules that provide persistent dictionary-like semantics.  You will
  168. # probably want to arrange for at least one of them to be available on
  169. # your machine, though none are defined by default because of library
  170. # dependencies.  The Python module anydbm.py provides an
  171. # implementation independent wrapper for these; dumbdbm.py provides
  172. # similar functionality (but slower of course) implemented in Python.
  173.  
  174. # The standard Unix dbm module:
  175. dbm dbmmodule.c     # dbm(3) may require -lndbm or similar
  176.  
  177. # Anthony Baxter's gdbm module.  GNU dbm(3) will require -lgdbm:
  178. gdbm gdbmmodule.c -I/usr/freeware/include -L/usr/freeware/lib32 -lgdbm
  179.  
  180.  
  181. # Berkeley DB interface.
  182. #
  183. # This requires the Berkeley DB code, see
  184. # ftp://ftp.cs.berkeley.edu/pub/4bsd/db.1.85.tar.gz
  185. #
  186. # Edit the variables DB and DBPORT to point to the db top directory
  187. # and the subdirectory of PORT where you built it.
  188. #
  189. # (See http://www.jenkon-dev.com/~rd/python/ for an interface to
  190. # BSD DB 2.1.0.)
  191.  
  192. #DB=/depot/sundry/src/berkeley-db/db.1.85
  193. #DBPORT=$(DB)/PORT/irix.5.3
  194. #bsddb bsddbmodule.c -ldb
  195.  
  196. # Andrew Kuchling's zlib module.
  197. # This require zlib 1.0.4 (or later).  See http://quest.jpl.nasa.gov/zlib/
  198. # See http://www.cdrom.com/pub/infozip/zlib/
  199. #zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz
  200.  
  201.  
  202. # Example -- included for reference only:
  203. # xx xxmodule.c
  204.