include/clang*/Makefile: Tweak installation to work with CLANG_SRCDIR.
llvm-svn: 145800
This commit is contained in:
parent
3649ef008d
commit
770142e49f
|
@ -8,8 +8,8 @@ IntIncludeDir = $(DESTDIR)$(PROJ_internal_prefix)/include
|
||||||
install-local::
|
install-local::
|
||||||
$(Echo) Installing Clang C API include files
|
$(Echo) Installing Clang C API include files
|
||||||
$(Verb) $(MKDIR) $(IntIncludeDir)
|
$(Verb) $(MKDIR) $(IntIncludeDir)
|
||||||
$(Verb) if test -d "$(PROJ_SRC_ROOT)/tools/clang/include/clang-c" ; then \
|
$(Verb) if test -d "$(PROJ_SRC_DIR)" ; then \
|
||||||
cd $(PROJ_SRC_ROOT)/tools/clang/include && \
|
cd $(PROJ_SRC_DIR)/.. && \
|
||||||
for hdr in `find clang-c -type f '!' '(' -name '*~' \
|
for hdr in `find clang-c -type f '!' '(' -name '*~' \
|
||||||
-o -name '.#*' -o -name '*.in' -o -name '*.txt' \
|
-o -name '.#*' -o -name '*.in' -o -name '*.txt' \
|
||||||
-o -name 'Makefile' -o -name '*.td' ')' -print \
|
-o -name 'Makefile' -o -name '*.td' ')' -print \
|
||||||
|
|
|
@ -6,8 +6,8 @@ include $(CLANG_LEVEL)/Makefile
|
||||||
install-local::
|
install-local::
|
||||||
$(Echo) Installing Clang include files
|
$(Echo) Installing Clang include files
|
||||||
$(Verb) $(MKDIR) $(DESTDIR)$(PROJ_includedir)
|
$(Verb) $(MKDIR) $(DESTDIR)$(PROJ_includedir)
|
||||||
$(Verb) if test -d "$(PROJ_SRC_ROOT)/tools/clang/include/clang" ; then \
|
$(Verb) if test -d "$(PROJ_SRC_DIR)" ; then \
|
||||||
cd $(PROJ_SRC_ROOT)/tools/clang/include && \
|
cd $(PROJ_SRC_DIR)/.. && \
|
||||||
for hdr in `find clang -type f \
|
for hdr in `find clang -type f \
|
||||||
'(' -name LICENSE.TXT \
|
'(' -name LICENSE.TXT \
|
||||||
-o -name '*.def' \
|
-o -name '*.def' \
|
||||||
|
|
Loading…
Reference in New Issue