Commit bbffe861 authored by Guido van Rossum's avatar Guido van Rossum

Some improvements, e.g. -L/depot/... is not needed.

parent a5d5efe8
# Makefile for 'pysvr' application embedding Python. # Makefile for 'pysvr' application embedding Python.
# Tailored for Python 1.5a3 or later. # 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 CC=gcc
# Optimization preferences # Optimization preferences
...@@ -14,16 +14,13 @@ VER=1.5 ...@@ -14,16 +14,13 @@ VER=1.5
# Expressions using the above definitions -- no need to change # Expressions using the above definitions -- no need to change
PYVER=python$(VER) PYVER=python$(VER)
#PYC=$(INST)/lib/$(PYVER)/config PYC=$(INST)/lib/$(PYVER)/config
PYC=../src/sparc
PYINCL=-I$(INST)/include/$(PYVER) -I$(PYC) PYINCL=-I$(INST)/include/$(PYVER) -I$(PYC)
PYLIBS=$(PYC)/libpython1.5.a PYLIBS=$(PYC)/libpython1.5.a
# Where GNU readline is installed
RLINST=/depot/gnu/plat
# Libraries to link with -- very installation dependent # 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 OTHERLIBS=-lsocket -lnsl -lpthread -ldl -lm
# Compilation and link flags -- no need to change normally # Compilation and link flags -- no need to change normally
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment