# Setup file for the Imaging module # ================================= # # INSTRUCTIONS: # # 1) Edit the configuration settings as described below. # # 2) Go to the libImaging directory and build the support library. # # 3) Run "make -f Makefile.pre.in boot" # # 4) Run "make" # # This file has the same format as /Modules/Setup.in. # # -------------------------------------------------------------------- # Remove (or comment) the following line if you wish to build a # statically linked python interpreter. *shared* # -------------------------------------------------------------------- # Core library. Edit or remove the library specifications to match # your configuration. As they stand, they assume that you have the # IJG JPEG library 6.0a and zlib 1.0.4 (or newer versions of these # libraries) in a standard location. _imaging _imaging.c decode.c encode.c map.c display.c outline.c path.c \ -IlibImaging libImaging/libImaging.a \ # # *** IJG JPEG library (libjpeg) location -I/usr/local/include -L/usr/local/lib -ljpeg \ # # *** ZLIB (libz) location -I/usr/local/include -L/usr/local/lib -lz # -------------------------------------------------------------------- # Tkinter bindings. Comment away if you don't need ImageTk, or if # you're using a custom _tkinter instead (like in earlier versions of # PIL). Edit the library specifications to match your configuration. _imagingtk _imagingtk.c \ -IlibImaging Tk/tkImaging.c \ -I/usr/local/include -L/usr/local/lib -ltcl8.0 -ltk8.0 \ -L/usr/X11R6/lib -lX11 # -------------------------------------------------------------------- # Sane driver. uncomment to enable this driver (see Sane/README for # more info) # _sane Sane/_sanemodule.c -IlibImaging -L/usr/local/lib/sane/ -lsane-dll