Installation of Clang libraries and headers, from Axel Naumann!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83582 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Douglas Gregor 2009-10-08 22:15:31 +00:00
Родитель e36803167e
Коммит 14ea569641
12 изменённых файлов: 25 добавлений и 33 удалений

Просмотреть файл

@ -30,3 +30,28 @@ cscope.files:
-or -name '*.h' > cscope.files -or -name '*.h' > cscope.files
.PHONY: test report clean cscope.files .PHONY: test report clean cscope.files
install-local::
$(Echo) Installing include files
$(Verb) $(MKDIR) $(PROJ_includedir)
$(Verb) if test -d "$(PROJ_SRC_ROOT)/tools/clang/include" ; then \
cd $(PROJ_SRC_ROOT)/tools/clang/include && \
for hdr in `find . -type f '!' '(' -name '*~' \
-o -name '.#*' -o -name '*.in' ')' -print | grep -v CVS | \
grep -v .svn` ; do \
instdir=`dirname "$(PROJ_includedir)/$$hdr"` ; \
if test \! -d "$$instdir" ; then \
$(EchoCmd) Making install directory $$instdir ; \
$(MKDIR) $$instdir ;\
fi ; \
$(DataInstall) $$hdr $(PROJ_includedir)/$$hdr ; \
done ; \
fi
ifneq ($(PROJ_SRC_ROOT),$(PROJ_OBJ_ROOT))
$(Verb) if test -d "$(PROJ_OBJ_ROOT)/tools/clang/include" ; then \
cd $(PROJ_OBJ_ROOT)/tools/clang/include && \
for hdr in `find . -type f -print | grep -v CVS .tmp` ; do \
$(DataInstall) $$hdr $(PROJ_includedir)/$$hdr ; \
done ; \
fi
endif

Просмотреть файл

@ -16,9 +16,6 @@ LIBRARYNAME := clangAST
BUILD_ARCHIVE = 1 BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti CXXFLAGS = -fno-rtti
# Don't install Clang libraries
NO_INSTALL = 1
CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

Просмотреть файл

@ -16,9 +16,6 @@ LIBRARYNAME := clangAnalysis
BUILD_ARCHIVE = 1 BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti CXXFLAGS = -fno-rtti
# Don't install Clang libraries
NO_INSTALL = 1
CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

Просмотреть файл

@ -16,9 +16,6 @@ LIBRARYNAME := clangBasic
BUILD_ARCHIVE = 1 BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti CXXFLAGS = -fno-rtti
# Don't install Clang libraries
NO_INSTALL = 1
CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

Просмотреть файл

@ -17,9 +17,6 @@ LIBRARYNAME := clangCodeGen
BUILD_ARCHIVE = 1 BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti CXXFLAGS = -fno-rtti
# Don't install Clang libraries
NO_INSTALL = 1
CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

Просмотреть файл

@ -12,9 +12,6 @@ LIBRARYNAME := clangDriver
BUILD_ARCHIVE = 1 BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti CXXFLAGS = -fno-rtti
# Don't install Clang libraries
NO_INSTALL = 1
CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

Просмотреть файл

@ -12,9 +12,6 @@ LIBRARYNAME := clangFrontend
BUILD_ARCHIVE = 1 BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti CXXFLAGS = -fno-rtti
# Don't install Clang libraries
NO_INSTALL = 1
CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

Просмотреть файл

@ -18,9 +18,6 @@ LIBRARYNAME := clangIndex
BUILD_ARCHIVE = 1 BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti CXXFLAGS = -fno-rtti
# Don't install Clang libraries
NO_INSTALL = 1
ifeq ($(ARCH),PowerPC) ifeq ($(ARCH),PowerPC)
CXXFLAGS += -maltivec CXXFLAGS += -maltivec
endif endif

Просмотреть файл

@ -18,9 +18,6 @@ LIBRARYNAME := clangLex
BUILD_ARCHIVE = 1 BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti CXXFLAGS = -fno-rtti
# Don't install Clang libraries
NO_INSTALL = 1
ifeq ($(ARCH),PowerPC) ifeq ($(ARCH),PowerPC)
CXXFLAGS += -maltivec CXXFLAGS += -maltivec
endif endif

Просмотреть файл

@ -16,9 +16,6 @@ LIBRARYNAME := clangParse
BUILD_ARCHIVE = 1 BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti CXXFLAGS = -fno-rtti
# Don't install Clang libraries
NO_INSTALL = 1
CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

Просмотреть файл

@ -16,9 +16,6 @@ LIBRARYNAME := clangRewrite
BUILD_ARCHIVE = 1 BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti CXXFLAGS = -fno-rtti
# Don't install Clang libraries
NO_INSTALL = 1
CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common

Просмотреть файл

@ -17,9 +17,6 @@ LIBRARYNAME := clangSema
BUILD_ARCHIVE = 1 BUILD_ARCHIVE = 1
CXXFLAGS = -fno-rtti CXXFLAGS = -fno-rtti
# Don't install Clang libraries
NO_INSTALL = 1
CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include
include $(LEVEL)/Makefile.common include $(LEVEL)/Makefile.common