summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-06-19 15:00:23 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-06-19 15:00:23 (GMT)
commitc49e5b7386e3019b539d6b37f107055f3e507a62 (patch)
treed3a71d37f8dbf038f638b44b7dad8d76966d39de /Makefile.pre.in
parent82ac8d13ff4b6470400a4b639fdab398183fdbbc (diff)
downloadcpython-c49e5b7386e3019b539d6b37f107055f3e507a62.zip
cpython-c49e5b7386e3019b539d6b37f107055f3e507a62.tar.gz
cpython-c49e5b7386e3019b539d6b37f107055f3e507a62.tar.bz2
Added a MACHDEP_OBJS to the python link. Use this on MacOSX to include
Mac/macglue.c into the core interpreter. This file contains the glue code that allows extension modules for Mac toolboxes to live in different shared libraries but still communicate with each other. The glue code is controlled by the USE_MAC_TOOLBOX_GLUE define.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index c6a053e..7fd60a1 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -138,6 +138,7 @@ MAINOBJ= @MAINOBJ@
LIBOBJS= @LIBOBJS@
DLINCLDIR= @DLINCLDIR@
DYNLOADFILE= @DYNLOADFILE@
+MACHDEP_OBJS= @MACHDEP_OBJS@
PYTHON= python$(EXE)
@@ -222,6 +223,7 @@ PYTHON_OBJS= \
Python/traceback.o \
Python/getopt.o \
Python/$(DYNLOADFILE) \
+ $(MACHDEP_OBJS) \
$(LIBOBJS)
@@ -411,6 +413,8 @@ Objects/object.o: $(srcdir)/Objects/object.c $(srcdir)/Objects/obmalloc.c
Objects/unicodectype.o: $(srcdir)/Objects/unicodectype.c \
$(srcdir)/Objects/unicodetype_db.h
+Mac/Python/macglue.o: $(srcdir)/Mac/Python/macglue.c
+ $(CC) -c $(CFLAGS) $(CPPFLAGS) -I$(srcdir)/Mac/Include -I$(srcdir)/Python -o $@ $(srcdir)/Mac/Python/macglue.c
############################################################################
# Header files