diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-11-24 09:14:12 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-11-24 09:14:12 +0000 |
commit | a078da48fdac4f5463563c63f32c67786940cda2 (patch) | |
tree | 665ec27280ec003bae80196a7aadb285612cd76b /Makefile | |
parent | 92eed29da4afd1128f00158e9760837f08ebea1c (diff) |
Much faster version of 'make install' -- it was doing one
fork per header file... Ugh.
-Erik
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 15 insertions, 4 deletions
@@ -30,7 +30,7 @@ TOPDIR=./ include Rules.mak -DIRS = extra ldso libc libcrypt libresolv libutil libm +DIRS = extra ldso libc libcrypt libresolv libutil libm #libpthread all: headers uClibc_config.h subdirs shared done @@ -46,9 +46,10 @@ ifeq ($(strip $(HAVE_SHARED)),true) @$(MAKE) -C libc shared @$(MAKE) -C ldso shared @$(MAKE) -C libcrypt shared + @$(MAKE) -C libresolv shared @$(MAKE) -C libutil shared @$(MAKE) -C libm shared - @$(MAKE) -C libresolv shared + #@$(MAKE) -C libpthread shared else @echo @echo Not building shared libraries... @@ -172,9 +173,19 @@ install: install_dev install_runtime install_gcc install_dev: install -d $(PREFIX)$(DEVEL_PREFIX)/lib install -m 644 lib/*.[ao] $(PREFIX)$(DEVEL_PREFIX)/lib/ - install -d $(PREFIX)$(DEVEL_PREFIX)/include install -d $(PREFIX)$(DEVEL_PREFIX)/usr/lib - find include/ -name '*.h' -depth -follow -exec install \ + install -d $(PREFIX)$(DEVEL_PREFIX)/include + (cd $(PREFIX)$(DEVEL_PREFIX)/include; install -d arpa net netinet rpc sys asm bits linux) + install -m 644 include/*.h $(PREFIX)$(DEVEL_PREFIX)/ + install -m 644 include/arpa/*.h $(PREFIX)$(DEVEL_PREFIX)/include/arpa/ + install -m 644 include/net/*.h $(PREFIX)$(DEVEL_PREFIX)/include/net/ + install -m 644 include/netinet/*.h $(PREFIX)$(DEVEL_PREFIX)/include/netinet/ + install -m 644 include/rpc/*.h $(PREFIX)$(DEVEL_PREFIX)/include/rpc/ + install -m 644 include/sys/*.h $(PREFIX)$(DEVEL_PREFIX)/include/sys/ + install -m 644 include/asm/*.h $(PREFIX)$(DEVEL_PREFIX)/include/asm/ + install -m 644 include/bits/*.h $(PREFIX)$(DEVEL_PREFIX)/include/bits/ + install -m 644 include/linux/*.h $(PREFIX)$(DEVEL_PREFIX)/include/linux/ + #find include/ -name '*.h' -depth -follow -exec install \ -D -m 644 {} $(PREFIX)$(DEVEL_PREFIX)/'{}' ';' ifeq ($(strip $(HAVE_SHARED)),true) find lib/ -type l -name '*.so' -exec cp -a {} $(PREFIX)$(DEVEL_PREFIX)/lib ';' |