[CMake] Respect CMAKE_CXX_FLAGS in custom clang_compile commands
[blocksruntime.git] / lib / asan / Makefile.mk
blob97da64bec573ac412e113429cc6b77606d1ecadb
1 #===- lib/asan/Makefile.mk ---------------------------------*- Makefile -*--===#
3 # The LLVM Compiler Infrastructure
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
8 #===------------------------------------------------------------------------===#
10 ModuleName := asan
11 SubDirs :=
13 Sources := $(foreach file,$(wildcard $(Dir)/*.cc),$(notdir $(file)))
14 ObjNames := $(Sources:%.cc=%.o)
16 Implementation := Generic
18 # FIXME: use automatic dependencies?
19 Dependencies := $(wildcard $(Dir)/*.h)
20 Dependencies += $(wildcard $(Dir)/../interception/*.h)
21 Dependencies += $(wildcard $(Dir)/../sanitizer_common/*.h)
23 # Define a convenience variable for all the asan functions.
24 AsanFunctions := $(Sources:%.cc=%)