all: $(PYTHON) oldsharedmods sharedmods
# Build the interpreter
-$(PYTHON): $(MAINOBJ) $(LDLIBRARY)
- $(LINKCC) $(LDFLAGS) $(LINKFORSHARED) -o $@ $(MAINOBJ) \
+$(PYTHON): Modules/$(MAINOBJ) $(LDLIBRARY)
+ $(LINKCC) $(LDFLAGS) $(LINKFORSHARED) -o $@ \
+ Modules/$(MAINOBJ) \
$(LDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
platform: $(PYTHON)
Include/abstract.h \
Include/pyfpe.h
-$(LIBRARY_OBJS) $(MODOBJS) $(MAINOBJ): $(PYTHON_HEADERS)
+$(LIBRARY_OBJS) $(MODOBJS) Modules/$(MAINOBJ): $(PYTHON_HEADERS)
######################################################################
$(RANLIB) $(LIBPL)/$(LDLIBRARY) ; \
fi
$(INSTALL_DATA) Modules/config.c $(LIBPL)/config.c
- $(INSTALL_DATA) Modules/python.o $(LIBPL)/python.o
+ $(INSTALL_DATA) Modules/$(MAINOBJ) $(LIBPL)/$(MAINOBJ)
$(INSTALL_DATA) $(srcdir)/Modules/config.c.in $(LIBPL)/config.c.in
$(INSTALL_DATA) Makefile $(LIBPL)/Makefile
$(INSTALL_DATA) Modules/Setup $(LIBPL)/Setup
#! /bin/sh
-# From configure.in Revision: 1.207
+# From configure.in Revision: 1.208
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13
-MAINOBJ=Modules/python.o
+MAINOBJ=python.o
echo $ac_n "checking for --with-cxx=<compiler>""... $ac_c" 1>&6
echo "configure:723: checking for --with-cxx=<compiler>" >&5
# Check whether --with-cxx or --without-cxx was given.
no) CXX=
with_cxx=no;;
*) CXX=$withval
- MAINOBJ=Modules/ccpython.o
+ MAINOBJ=ccpython.o
with_cxx=$withval;;
esac
else
int main() {
/* Ultrix mips cc rejects this. */
-typedef int charset[2]; const charset x = {0,0};
+typedef int charset[2]; const charset x;
/* SunOS 4.1.1 cc rejects this. */
char const *const *ccp;
char **p;
AC_SUBST(CXX)
AC_SUBST(MAINOBJ)
-MAINOBJ=Modules/python.o
+MAINOBJ=python.o
AC_MSG_CHECKING(for --with-cxx=<compiler>)
AC_ARG_WITH(cxx, [ --with-cxx=<compiler> enable C++ support],[
check_cxx=no
no) CXX=
with_cxx=no;;
*) CXX=$withval
- MAINOBJ=Modules/ccpython.o
+ MAINOBJ=ccpython.o
with_cxx=$withval;;
esac], [
with_cxx=no