aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-10-03 01:04:00 +0000
committerRichard Stallman <rms@gnu.org>1992-10-03 01:04:00 +0000
commit7bea819f25ed20b3f8a07a9240f13dce82ea7ba1 (patch)
tree7444f020a7f7473130362e655c61299528e527a5
parent9d1a4667d88d24c9af71984e73be5eb99529a6dc (diff)
downloadgcc-7bea819f25ed20b3f8a07a9240f13dce82ea7ba1.zip
gcc-7bea819f25ed20b3f8a07a9240f13dce82ea7ba1.tar.gz
gcc-7bea819f25ed20b3f8a07a9240f13dce82ea7ba1.tar.bz2
(includedir): New variable.
(USER_H): assert.h removed from value. (install-common-headers): Install assert.h separately, in includedir. From-SVN: r2307
-rw-r--r--gcc/Makefile.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 939b6b5..6ad8ddf 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -141,6 +141,8 @@ bindir = $(exec_prefix)/bin
libdir = $(exec_prefix)/lib
# Directory in which the compiler finds executables, libraries, etc.
libsubdir = $(libdir)/gcc-lib/$(target)/$(version)
+# Directory for header file assert.h.
+includedir = $(libdir)/include
# Extension (if any) to put in installed man-page filename.
manext = .1
# Directory in which to put man pages.
@@ -390,7 +392,7 @@ LIB2FUNCS = _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 \
# Header files that are made available under the same name
# to programs compiled with GCC.
-USER_H = assert.h va-alpha.h va-i860.h va-i960.h va-mips.h va-m88k.h \
+USER_H = va-alpha.h va-i860.h va-i960.h va-mips.h va-m88k.h \
va-pa.h va-pyr.h va-sparc.h va-spur.h proto.h syslimits.h $(EXTRA_HEADERS)
# All the header files that are installed for users from GCC itself.
@@ -1484,6 +1486,9 @@ install-common-headers: install-dir $(USER_H) gvarargs.h gstdarg.h gstddef.h
$(INSTALL_DATA) `basename $$file` $$shelllibsubdir/include/`basename $$file`; \
chmod a-x $$shelllibsubdir/include/`basename $$file`; \
done
+ -rm -f $(includedir)/assert.h
+ $(INSTALL_DATA) $(srcdir)/assert.h $(includedir)/assert.h
+ chmod a-x $(libsubdir)/include/assert.h
-rm -f $(libsubdir)/include/varargs.h
$(INSTALL_DATA) $(srcdir)/gvarargs.h $(libsubdir)/include/varargs.h
chmod a-x $(libsubdir)/include/varargs.h