/usr/share/clang/scan-build-3.8/Makefile is in clang-3.8 1:3.8-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | ##===- tools/scan-build/Makefile ---------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
CLANG_LEVEL := ../..
include $(CLANG_LEVEL)/../../Makefile.config
include $(CLANG_LEVEL)/Makefile
ifeq ($(HOST_OS),MingW)
Suffix := .bat
endif
CLANG_INSTALL_SCANBUILD ?= 1
ifeq ($(CLANG_INSTALL_SCANBUILD), 1)
InstallTargets := $(ToolDir)/scan-build$(Suffix) \
$(LibexecDir)/c++-analyzer$(Suffix) \
$(LibexecDir)/ccc-analyzer$(Suffix) \
$(ShareDir)/scan-build/scanview.css \
$(ShareDir)/scan-build/sorttable.js \
$(ShareDir)/man/man1/scan-build.1
ifeq ($(HOST_OS),Darwin)
InstallTargets := $(InstallTargets) $(ToolDir)/set-xcode-analyzer
endif
endif
all:: $(InstallTargets)
$(ToolDir)/%: bin/% Makefile $(ToolDir)/.dir
$(Echo) "Copying $(notdir $<) to the 'bin' directory..."
$(Verb)cp $< $@
$(Verb)chmod +x $@
$(LibexecDir)/%: libexec/% Makefile $(LibexecDir)/.dir
$(Echo) "Copying $(notdir $<) to the 'libexec' directory..."
$(Verb)cp $< $@
$(Verb)chmod +x $@
$(ShareDir)/man/man1/%: man/% Makefile $(ShareDir)/man/man1/.dir
$(Echo) "Copying $(notdir $<) to the 'man' directory..."
$(Verb)cp $< $@
$(ShareDir)/scan-build/%: share/scan-build/% Makefile $(ShareDir)/scan-build/.dir
$(Echo) "Copying $(notdir $<) to the 'share' directory..."
$(Verb)cp $< $@
|