aboutsummaryrefslogtreecommitdiff
path: root/readline/Makefile.in
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1991-10-01 21:00:50 +0000
committerK. Richard Pixley <rich@cygnus>1991-10-01 21:00:50 +0000
commitbcb14db5491bdd544089981d85523bc984bfcb7b (patch)
tree55d74ba46e5eba7d2badc5c4dcfcf6aa1afa4d6d /readline/Makefile.in
parent3f85ebce789ad99d73fd389751267bfc50acea5c (diff)
downloadgdb-bcb14db5491bdd544089981d85523bc984bfcb7b.zip
gdb-bcb14db5491bdd544089981d85523bc984bfcb7b.tar.gz
gdb-bcb14db5491bdd544089981d85523bc984bfcb7b.tar.bz2
exploit the new executable config.status
Diffstat (limited to 'readline/Makefile.in')
-rw-r--r--readline/Makefile.in20
1 files changed, 7 insertions, 13 deletions
diff --git a/readline/Makefile.in b/readline/Makefile.in
index 8b6ebe5..5c23b08 100644
--- a/readline/Makefile.in
+++ b/readline/Makefile.in
@@ -1,8 +1,7 @@
-## -*- text -*- ####################################################
# #
# Makefile for readline and history libraries. #
# #
-####################################################################
+
srcdir = .
destdir = /usr/local
@@ -27,9 +26,6 @@ INCDIR = $(destdir)/include
# a return type of "void" for signal handlers.
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.
#LOCAL_LIBS = -lBSD
@@ -105,14 +101,16 @@ includes:
mkdir $(INCDIR)/readline;\
chmod a+r $(INCDIR)/readline;\
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:
rm -f $(STAGESTUFF) *.a *.log *.cp *.tp *.vr *.fn *.aux *.pg *.toc
$(DESTDIR)/libreadline.a: libreadline.a
-mv $(DESTDIR)/libreadline.a $(DESTDIR)/libreadline.old
$(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.
stage1: force
@@ -148,9 +146,5 @@ force:
# with the gnu make, this is done automatically.
-Makefile: $(srcdir)/Makefile.in $(srcdir)/configure
- (cd $(srcdir) ; \
- ./configure +destdir=$(destdir) +norecurse \
- `if [ "$(srcdir)" != "." ] ; then echo +f; fi` \
- $(host) +target=$(target))
-
+Makefile: $(srcdir)/Makefile.in $(srcdir)/configure $(host_makefile_frag) $(target_makefile_frag)
+ $(SHELL) ./config.status