Stop installing headers, this is now done by clang
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@148309 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e1a7b04c58
commit
fcf7bd1ffe
21
Makefile
21
Makefile
@ -30,26 +30,7 @@ installsrc:: $(SRCROOT)
|
||||
|
||||
clean::
|
||||
|
||||
installhdrs::
|
||||
|
||||
$(MAKE) HEADER_DIR=$(INSTALL_DIR)/usr/include do-installhdrs
|
||||
$(MAKE) HEADER_DIR=$(INSTALL_DIR)/usr/lib do-installhdrs
|
||||
$(MAKE) HEADER_DIR=$(INSTALL_DIR)/usr/clang-ide/lib do-installhdrs
|
||||
$(MAKE) HEADER_DIR=$(INSTALL_DIR)/Developer/usr/lib do-installhdrs
|
||||
$(MAKE) HEADER_DIR=$(INSTALL_DIR)/Developer/Platforms/iPhoneOS.platform/usr/lib do-installhdrs
|
||||
|
||||
# The do-installhdrs target is also used by clang's runtime/libcxx makefile.
|
||||
do-installhdrs:
|
||||
mkdir -p $(HEADER_DIR)/c++/v1/ext
|
||||
rsync -r --exclude=".*" --exclude="support" $(SRCDIRS)/include/* \
|
||||
$(HEADER_DIR)/c++/v1/
|
||||
chown -R root:wheel $(HEADER_DIR)/c++
|
||||
chmod 755 $(HEADER_DIR)/c++/v1
|
||||
chmod 644 $(HEADER_DIR)/c++/v1/*
|
||||
chmod 755 $(HEADER_DIR)/c++/v1/ext
|
||||
chmod 644 $(HEADER_DIR)/c++/v1/ext/*
|
||||
|
||||
install:: installhdrs $(DESTDIR)
|
||||
install::
|
||||
|
||||
cd lib && ./buildit
|
||||
ditto lib/libc++.1.dylib $(SYMROOT)/usr/lib/libc++.1.dylib
|
||||
|
Loading…
Reference in New Issue
Block a user