diff options
author | Guido van Rossum <guido@python.org> | 1997-07-25 22:35:24 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-07-25 22:35:24 (GMT) |
commit | 5ec8e4b5ff202564ba7d3592e14de2181e7c4c0d (patch) | |
tree | 24571324cd391efbca09ab813cf08eb8e6733d5b /Modules/Makefile.pre.in | |
parent | 1eec528d5ea2cf2810181a5ae8bdbbfbb4831547 (diff) | |
download | cpython-5ec8e4b5ff202564ba7d3592e14de2181e7c4c0d.zip cpython-5ec8e4b5ff202564ba7d3592e14de2181e7c4c0d.tar.gz cpython-5ec8e4b5ff202564ba7d3592e14de2181e7c4c0d.tar.bz2 |
Moved the special compile of getbuildno.o to ../Makefile.in.
A dummy getbuildno.o (with a number of 0) still gets built here,
to make the library complete.
Diffstat (limited to 'Modules/Makefile.pre.in')
-rw-r--r-- | Modules/Makefile.pre.in | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/Modules/Makefile.pre.in b/Modules/Makefile.pre.in index 4c6b315..21f22b9 100644 --- a/Modules/Makefile.pre.in +++ b/Modules/Makefile.pre.in @@ -113,11 +113,7 @@ $(ASHAREDMODULE)$(SO): $(ASHAREDMODULESOBS) # This target is used by the master Makefile to add the objects to the library. # To deal with the conflict between signalmodule.o and sigcheck.o, # we remove the latter if we have the former. -add2lib: $(OBJS) buildno - expr `cat buildno` + 1 >@buildno - mv @buildno buildno - $(CC) -c $(CFLAGS) -DBUILD=`cat buildno` \ - $(srcdir)/getbuildinfo.c +add2lib: $(OBJS) $(AR) cr $(LIBRARY) $(OBJS) -if ar x $(LIBRARY) signalmodule.o 2>/dev/null; \ then ar d $(LIBRARY) sigcheck.o 2>/dev/null; true; \ @@ -130,9 +126,6 @@ link: $(MAINOBJ) $(LIBRARY) $(MODLIBS) $(LIBS) $(SYSLIBS) -o python $(LDLAST) mv python ../python -buildno: - echo 0 >buildno - clean: -rm -f *.o python core *~ [@,#]* *.old *.orig *.rej add2lib |