From 7bea819f25ed20b3f8a07a9240f13dce82ea7ba1 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Sat, 3 Oct 1992 01:04:00 +0000 Subject: [PATCH] (includedir): New variable. (USER_H): assert.h removed from value. (install-common-headers): Install assert.h separately, in includedir. From-SVN: r2307 --- gcc/Makefile.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 939b6b51be5..6ad8ddfd669 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 -- 2.30.2