From cebef70d9071eac41765ecc322cd863368fc737f Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 25 May 2001 01:20:51 +0000 Subject: One last structural change. Install header files to INSTALLDIR/usr/include so we now parallel the behavior of the standard tools. Also make sure we check INSTALLDIR/lib and INSTALLDIR/usr/lib for libraries. -Erik --- Makefile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d04e6572a..7894ca733 100644 --- a/Makefile +++ b/Makefile @@ -154,17 +154,17 @@ install_runtime: # in $(INSTALL_DIR)/include. Probably true only if you're using # a packaging system. install_dev: - install -d $(INSTALL_DIR)/include - install -d $(INSTALL_DIR)/include/bits - rm -f $(INSTALL_DIR)/include/asm - rm -f $(INSTALL_DIR)/include/linux - ln -s $(KERNEL_SOURCE)/include/asm $(INSTALL_DIR)/include/asm - ln -s $(KERNEL_SOURCE)/include/linux $(INSTALL_DIR)/include/linux + install -d $(INSTALL_DIR)/usr/include + install -d $(INSTALL_DIR)/usr/include/bits + rm -f $(INSTALL_DIR)/usr/include/asm + rm -f $(INSTALL_DIR)/usr/include/linux + ln -s $(KERNEL_SOURCE)/include/asm $(INSTALL_DIR)/usr/include/asm + ln -s $(KERNEL_SOURCE)/include/linux $(INSTALL_DIR)/usr/include/linux find include/ -type f -depth -not -path "*CVS*" -exec install \ - -D -m 644 {} $(INSTALL_DIR)/'{}' ';' + -D -m 644 {} $(INSTALL_DIR)/usr/'{}' ';' find include/bits/ -type f -depth -not -path "*CVS*" -exec install \ - -D -m 644 {} $(INSTALL_DIR)/'{}' ';' - install -m 644 include/bits/uClibc_config.h $(INSTALL_DIR)/include/bits/ + -D -m 644 {} $(INSTALL_DIR)/usr/'{}' ';' + install -m 644 include/bits/uClibc_config.h $(INSTALL_DIR)/usr/include/bits/ $(MAKE) -C extra/gcc-uClibc install clean: -- cgit v1.2.3