mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Add a "libs-only" target for avoiding construction of the tools and
runtime libraries. llvm-svn: 22169
This commit is contained in:
parent
e126c81722
commit
fbf2caa005
13
Makefile
13
Makefile
@ -7,11 +7,15 @@
|
|||||||
#
|
#
|
||||||
#===------------------------------------------------------------------------===#
|
#===------------------------------------------------------------------------===#
|
||||||
LEVEL = .
|
LEVEL = .
|
||||||
DIRS = lib/System lib/Support utils lib tools
|
DIRS = lib/System lib/Support utils lib
|
||||||
|
|
||||||
ifneq ($(MAKECMDGOALS),tools-only)
|
ifeq ($(MAKECMDGOALS),tools-only)
|
||||||
DIRS += runtime docs
|
DIRS += tools
|
||||||
OPTIONAL_DIRS = examples projects
|
else
|
||||||
|
ifneq ($(MAKECMDGOALS),libs-only)
|
||||||
|
DIRS += runtime docs
|
||||||
|
OPTIONAL_DIRS = examples projects
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
EXTRA_DIST := test llvm.spec include
|
EXTRA_DIST := test llvm.spec include
|
||||||
@ -46,3 +50,4 @@ dist-hook::
|
|||||||
$(TopDistDir)/include/llvm/Support/ThreadSupport.h
|
$(TopDistDir)/include/llvm/Support/ThreadSupport.h
|
||||||
|
|
||||||
tools-only: all
|
tools-only: all
|
||||||
|
libs-only: all
|
||||||
|
Loading…
x
Reference in New Issue
Block a user