aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1991-11-21 22:38:52 +0000
committerStu Grossman <grossman@cygnus>1991-11-21 22:38:52 +0000
commit10524f5e06f8953b5b6931f7deb8b726ee333a0a (patch)
treecd4721a1b46381a1a9f917ee8e368a2bcb58a66b
parent76b28d05a256feedf887f47c04687dc5f8c3e90c (diff)
downloadgdb-10524f5e06f8953b5b6931f7deb8b726ee333a0a.zip
gdb-10524f5e06f8953b5b6931f7deb8b726ee333a0a.tar.gz
gdb-10524f5e06f8953b5b6931f7deb8b726ee333a0a.tar.bz2
Add a bunch of config files to .Sanitize, add some config stuff to Makefile.in
and configure.in. Fix compilation of ../glob/tilde.o in Makefile.
-rw-r--r--readline/.Sanitize5
-rw-r--r--readline/Makefile.in5
-rw-r--r--readline/configure.in12
3 files changed, 17 insertions, 5 deletions
diff --git a/readline/.Sanitize b/readline/.Sanitize
index e04dc0d..176115f 100644
--- a/readline/.Sanitize
+++ b/readline/.Sanitize
@@ -41,8 +41,11 @@ keymaps.c
keymaps.h
readline.c
readline.h
-sysdep-norm.h
sysdep-aix.h
+sysdep-irix.h
+sysdep-newsos.h
+sysdep-norm.h
+sysdep-sco.h
vi_keymap.c
vi_mode.c
diff --git a/readline/Makefile.in b/readline/Makefile.in
index a3e16d7..6e07949 100644
--- a/readline/Makefile.in
+++ b/readline/Makefile.in
@@ -79,7 +79,7 @@ history.info: history.texi
readline.info: readline.texi inc-read.texi
$(MAKEINFO) -o readline.info $(srcdir)/readline.texi
-libreadline.a: readline.o history.o funmap.o keymaps.o tilde.o vi_mode.o
+libreadline.a: readline.o history.o funmap.o keymaps.o ../glob/tilde.o vi_mode.o
$(RM) -f libreadline.a
$(AR) $(AR_FLAGS) libreadline.a readline.o history.o funmap.o keymaps.o tilde.o vi_mode.o
$(RANLIB) libreadline.a
@@ -88,8 +88,7 @@ readline.o: readline.h chardefs.h keymaps.h history.h readline.c vi_mode.c
history.o: history.c history.h
funmap.o: readline.h
keymaps.o: emacs_keymap.c vi_keymap.c keymaps.h chardefs.h keymaps.c
-tilde.o: ../glob/tilde.c
- $(CC) -c $(CFLAGS) $(LOCAL_INCLUDES) $(CPPFLAGS) $(READLINE_DEFINES) ../glob/tilde.c
+../glob/tilde.o: ../glob/tilde.c
libtest: libreadline.a libtest.c
$(CC) -o libtest $(CFLAGS) $(CPPFLAGS) -L. libtest.c -lreadline -ltermcap
diff --git a/readline/configure.in b/readline/configure.in
index e56aab6..ffc54b4 100644
--- a/readline/configure.in
+++ b/readline/configure.in
@@ -14,7 +14,7 @@ files=sysdep-norm.h
links=sysdep.h
case "${host_os}" in
-m88kbcs | sysv* | irix*)
+m88kbcs | sysv*)
host_makefile_frag=config/hm-sysv
;;
@@ -24,11 +24,21 @@ aix*)
rs6000) files=sysdep-aix.h
esac
;;
+
+irix*)
+ host_makefile_frag=config/hm-sysv
+ files=sysdep-irix.h
+ ;;
+
+newsos*)
+ files=sysdep-newsos.h
+ ;;
esac
case "${host_vendor}" in
sco* )
host_makefile_frag=config/hm-sco
+ files=sysdep-sco.h
;;
esac