Commit 7bea819f by Richard Stallman

(includedir): New variable.

(USER_H): assert.h removed from value.
(install-common-headers): Install assert.h separately, in includedir.

From-SVN: r2307
parent 9d1a4667
...@@ -141,6 +141,8 @@ bindir = $(exec_prefix)/bin ...@@ -141,6 +141,8 @@ bindir = $(exec_prefix)/bin
libdir = $(exec_prefix)/lib libdir = $(exec_prefix)/lib
# Directory in which the compiler finds executables, libraries, etc. # Directory in which the compiler finds executables, libraries, etc.
libsubdir = $(libdir)/gcc-lib/$(target)/$(version) 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. # Extension (if any) to put in installed man-page filename.
manext = .1 manext = .1
# Directory in which to put man pages. # Directory in which to put man pages.
...@@ -390,7 +392,7 @@ LIB2FUNCS = _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 \ ...@@ -390,7 +392,7 @@ LIB2FUNCS = _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 \
# Header files that are made available under the same name # Header files that are made available under the same name
# to programs compiled with GCC. # 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) 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. # 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 ...@@ -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`; \ $(INSTALL_DATA) `basename $$file` $$shelllibsubdir/include/`basename $$file`; \
chmod a-x $$shelllibsubdir/include/`basename $$file`; \ chmod a-x $$shelllibsubdir/include/`basename $$file`; \
done 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 -rm -f $(libsubdir)/include/varargs.h
$(INSTALL_DATA) $(srcdir)/gvarargs.h $(libsubdir)/include/varargs.h $(INSTALL_DATA) $(srcdir)/gvarargs.h $(libsubdir)/include/varargs.h
chmod a-x $(libsubdir)/include/varargs.h chmod a-x $(libsubdir)/include/varargs.h
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment