]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Added getmaxint() so sys can initialize sys.maxint.
authorGuido van Rossum <guido@python.org>
Fri, 24 Dec 1993 10:22:45 +0000 (10:22 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 24 Dec 1993 10:22:45 +0000 (10:22 +0000)
Added Makefile.in.

Objects/Makefile.in
Objects/intobject.c

index c86f06d525c1c0be3fe02b22bc3bb7f8ac0226aa..42671d93840d18a33116784a837e50abc2f39a60 100644 (file)
@@ -9,18 +9,20 @@ VPATH=                @srcdir@
 
 CC=            @CC@
 RANLIB=                @RANLIB@
+DEFS=          @DEFS@
 
 
 # === Other things that are customizable but not by configure ===
 
+TOP=           ..
+INCLDIR=       $(TOP)/Py
+OPT=           -g
+CFLAGS=                $(OPT) -I$(INCLDIR) $(DEFS)
+
 AR=            ar
 MKDEP=         mkdep
 SHELL=         /bin/sh
 
-INCLDIR=       $(srcdir)/../Py
-OPT=           -g
-CFLAGS=                $(OPT) -I$(INCLDIR)
-
 
 # === Fixed definitions ===
 
@@ -47,16 +49,16 @@ all:                $(LIB)
 
 $(LIB):                $(OBJS)
                $(AR) cr $(LIB) $(OBJS)
+               $(RANLIB) $(LIB)
 
 clean:
-               -rm -f $(OBJS)
-               -rm -f core *~ [@,#]* *.old *.orig *.rej
+               -rm -f *.o core *~ [@,#]* *.old *.orig *.rej
 
 clobber:       clean
-               -rm -f $(LIB) tags TAGS
+               -rm -f *.a tags TAGS
 
-Makefile:      Makefile.in ../config.status
-               (cd ..; $(SHELL) config.status)
+Makefile:      Makefile.in $(TOP)/config.status
+               CONFIG_FILES=Makefile $(SHELL) $(TOP)/config.status
 
 depend:                $(SRCS)
                $(MKDEP) $(CFLAGS) $(SRCS) $(PGENSRCS)
index e9c35d7273de470fb86fd8fddab1b14e1994a231..c1d750cf0b5beb7f1de5d8cbca61a91b72609607 100644 (file)
@@ -47,6 +47,12 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #define LONG_BIT (CHAR_BIT * sizeof(long))
 #endif
 
+long
+getmaxint()
+{
+       return LONG_MAX;        /* To initialize sys.maxint */
+}
+
 /* Standard Booleans */
 
 intobject FalseObject = {