summaryrefslogtreecommitdiffstats
path: root/Demo/pysvr
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-07-19 21:34:11 (GMT)
committerGuido van Rossum <guido@python.org>1997-07-19 21:34:11 (GMT)
commita88446aa4a9bdf8023160a627c3d6e221b39266e (patch)
tree16d5249f07518299054d6881cb915aa8027654b0 /Demo/pysvr
parente0c69013697efbff6edba8a3c349a8ef64a5fa68 (diff)
downloadcpython-a88446aa4a9bdf8023160a627c3d6e221b39266e.zip
cpython-a88446aa4a9bdf8023160a627c3d6e221b39266e.tar.gz
cpython-a88446aa4a9bdf8023160a627c3d6e221b39266e.tar.bz2
Some improvements, e.g. -L/depot/... is not needed.
Diffstat (limited to 'Demo/pysvr')
-rw-r--r--Demo/pysvr/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/Demo/pysvr/Makefile b/Demo/pysvr/Makefile
index 4adc2ce..d0aa769 100644
--- a/Demo/pysvr/Makefile
+++ b/Demo/pysvr/Makefile
@@ -1,8 +1,8 @@
# Makefile for 'pysvr' application embedding Python.
# Tailored for Python 1.5a3 or later.
-# Some details are specific to Solaris or CNRI.
+# Some details are specific for Solaris or CNRI.
-# Which C compiler (only set because I don't have cc here)
+# Which C compiler
CC=gcc
# Optimization preferences
@@ -14,16 +14,13 @@ VER=1.5
# Expressions using the above definitions -- no need to change
PYVER=python$(VER)
-#PYC=$(INST)/lib/$(PYVER)/config
-PYC=../src/sparc
+PYC=$(INST)/lib/$(PYVER)/config
PYINCL=-I$(INST)/include/$(PYVER) -I$(PYC)
PYLIBS=$(PYC)/libpython1.5.a
-# Where GNU readline is installed
-RLINST=/depot/gnu/plat
-
# Libraries to link with -- very installation dependent
-RLLIBS=-L$(RLINST)/lib -lreadline -ltermcap
+# (See LIBS= in Modules/Makefile in build tree)
+RLLIBS=-lreadline -ltermcap
OTHERLIBS=-lsocket -lnsl -lpthread -ldl -lm
# Compilation and link flags -- no need to change normally