exploit the new executable config.status

This commit is contained in:
K. Richard Pixley
1991-10-01 21:00:50 +00:00
parent 3f85ebce78
commit bcb14db549
2 changed files with 10 additions and 20 deletions

View File

@ -132,7 +132,7 @@ CDEPS = ${XM_CDEPS} ${TM_CDEPS} ${BFD_LIB} ${LIBIBERTY} ${RL_LIB}
ADD_FILES = ${REGEX} ${ALLOCA} ${GNU_MALLOC} ${XM_ADD_FILES} ${TM_ADD_FILES} ADD_FILES = ${REGEX} ${ALLOCA} ${GNU_MALLOC} ${XM_ADD_FILES} ${TM_ADD_FILES}
ADD_DEPS = ${REGEX1} ${ALLOCA1} ${GNU_MALLOC} ${XM_ADD_FILES} ${TM_ADD_FILES} ADD_DEPS = ${REGEX1} ${ALLOCA1} ${GNU_MALLOC} ${XM_ADD_FILES} ${TM_ADD_FILES}
VERSION = 4.0.95 VERSION = 4.1.1
DIST=gdb DIST=gdb
LINT=/usr/5bin/lint LINT=/usr/5bin/lint
@ -553,12 +553,8 @@ de-stage3: force
- (cd stage3 ; mv -f * ..) - (cd stage3 ; mv -f * ..)
- rmdir stage3 - rmdir stage3
Makefile: $(srcdir)/Makefile.in $(srcdir)/configure Makefile: $(srcdir)/Makefile.in $(srcdir)/configure $(host_makefile_frag) $(target_makefile_frag)
(cd $(srcdir) ; \ $(SHELL) ./config.status
./configure +destdir=$(destdir) \
+norecurse \
`if [ "$(srcdir)" != "." ] ; then echo +subdirs; fi` \
$(host) +target=$(target))
force: force:

View File

@ -1,8 +1,7 @@
## -*- text -*- ####################################################
# # # #
# Makefile for readline and history libraries. # # Makefile for readline and history libraries. #
# # # #
####################################################################
srcdir = . srcdir = .
destdir = /usr/local destdir = /usr/local
@ -27,9 +26,6 @@ INCDIR = $(destdir)/include
# a return type of "void" for signal handlers. # a return type of "void" for signal handlers.
TYPES = -DVOID_SIGHANDLER TYPES = -DVOID_SIGHANDLER
# Define SYSV as -DSYSV if you are using a System V operating system.
#SYSV = -DSYSV
# HP-UX compilation requires the BSD library. # HP-UX compilation requires the BSD library.
#LOCAL_LIBS = -lBSD #LOCAL_LIBS = -lBSD
@ -105,14 +101,16 @@ includes:
mkdir $(INCDIR)/readline;\ mkdir $(INCDIR)/readline;\
chmod a+r $(INCDIR)/readline;\ chmod a+r $(INCDIR)/readline;\
fi fi
$(INSTALL_FILE) readline.h keymaps.h chardefs.h $(INCDIR)/readline/ $(INSTALL_FILE) $(srcdir)/readline.h $(INCDIR)/readline/
$(INSTALL_FILE) $(srcdir)/keymaps.h $(INCDIR)/readline/
$(INSTALL_FILE) $(srcdir)/chardefs.h $(INCDIR)/readline/
clean: clean:
rm -f $(STAGESTUFF) *.a *.log *.cp *.tp *.vr *.fn *.aux *.pg *.toc rm -f $(STAGESTUFF) *.a *.log *.cp *.tp *.vr *.fn *.aux *.pg *.toc
$(DESTDIR)/libreadline.a: libreadline.a $(DESTDIR)/libreadline.a: libreadline.a
-mv $(DESTDIR)/libreadline.a $(DESTDIR)/libreadline.old -mv $(DESTDIR)/libreadline.a $(DESTDIR)/libreadline.old
$(INSTALL_PROG) libreadline.a $(DESTDIR)/libreadline.a $(INSTALL_PROG) libreadline.a $(DESTDIR)/libreadline.a
$(RANLIB) -t $(DESTDIR)/libreadline.a $(RANLIB) $(DESTDIR)/libreadline.a
# Copy the object files from a particular stage into a subdirectory. # Copy the object files from a particular stage into a subdirectory.
stage1: force stage1: force
@ -148,9 +146,5 @@ force:
# with the gnu make, this is done automatically. # with the gnu make, this is done automatically.
Makefile: $(srcdir)/Makefile.in $(srcdir)/configure Makefile: $(srcdir)/Makefile.in $(srcdir)/configure $(host_makefile_frag) $(target_makefile_frag)
(cd $(srcdir) ; \ $(SHELL) ./config.status
./configure +destdir=$(destdir) +norecurse \
`if [ "$(srcdir)" != "." ] ; then echo +f; fi` \
$(host) +target=$(target))