[Sanitizer] extend internal libc with stat/fstat/lstat functions
[blocksruntime.git] / lib / sanitizer_common / Makefile.mk
blobda83c2d6b3b7a84e9e7e9915a8cd3e3eb67729cf
1 #===- lib/sanitizer_common/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 := sanitizer_common
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)
21 # Define a convenience variable for all the sanitizer_common functions.
22 SanitizerCommonFunctions := $(Sources:%.cc=%)