mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
More of PR728, don't install utils either.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28673 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3649b0efa5
commit
22033b2a4e
18
Makefile
18
Makefile
@ -6,11 +6,13 @@
|
|||||||
# the University of Illinois Open Source License. See LICENSE.TXT for details.
|
# the University of Illinois Open Source License. See LICENSE.TXT for details.
|
||||||
#
|
#
|
||||||
#===------------------------------------------------------------------------===#
|
#===------------------------------------------------------------------------===#
|
||||||
|
|
||||||
LEVEL = .
|
LEVEL = .
|
||||||
DIRS = lib/System lib/Support utils lib/VMCore lib
|
DIRS = lib/System lib/Support utils lib/VMCore lib
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.config
|
include $(LEVEL)/Makefile.config
|
||||||
|
|
||||||
|
|
||||||
ifeq ($(MAKECMDGOALS),tools-only)
|
ifeq ($(MAKECMDGOALS),tools-only)
|
||||||
DIRS += tools
|
DIRS += tools
|
||||||
else
|
else
|
||||||
@ -22,15 +24,23 @@ else
|
|||||||
$(warning Skipping runtime libraries, llvm-gcc 4 detected.)
|
$(warning Skipping runtime libraries, llvm-gcc 4 detected.)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Don't install examples or projects.
|
|
||||||
ifneq ($(MAKECMDGOALS),install)
|
|
||||||
OPTIONAL_DIRS := examples projects
|
|
||||||
endif
|
|
||||||
DIRS += docs
|
DIRS += docs
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Don't install utils, they are only used to build LLVM.
|
||||||
|
#
|
||||||
|
ifeq ($(MAKECMDGOALS),install)
|
||||||
|
DIRS := $(filter-out utils, $(DIRS))
|
||||||
|
|
||||||
|
# Don't install examples or projects.
|
||||||
|
OPTIONAL_DIRS :=
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
EXTRA_DIST := test llvm.spec include win32 Xcode
|
EXTRA_DIST := test llvm.spec include win32 Xcode
|
||||||
|
|
||||||
|
# Include the main makefile machinery.
|
||||||
include $(LLVM_SRC_ROOT)/Makefile.rules
|
include $(LLVM_SRC_ROOT)/Makefile.rules
|
||||||
|
|
||||||
# Specify options to pass to configure script when we're
|
# Specify options to pass to configure script when we're
|
||||||
|
Loading…
Reference in New Issue
Block a user