61beb06c3a
- honor CC and CFLAGS for building libImaging.a ok maintainer
57 lines
1.9 KiB
Plaintext
57 lines
1.9 KiB
Plaintext
# $OpenBSD: Setup,v 1.3 2001/09/04 18:49:04 naddy Exp $
|
|
#
|
|
# 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 <pythonroot>/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@LOCALBASE@/include -L@LOCALBASE@/lib -ljpeg \
|
|
#
|
|
# *** ZLIB (libz) location
|
|
-I@LOCALBASE@/include -L@LOCALBASE@/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@LOCALBASE@/include -L@LOCALBASE@/lib -ltcl83 -ltk83 \
|
|
-I@LOCALBASE@/include/tcl8.3 -I@LOCALBASE@/include/tk8.3 \
|
|
-I@X11BASE@/include
|
|
-L@X11BASE@/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
|