diff options
Diffstat (limited to 'lib/sanitizer_common/Makefile.mk')
-rw-r--r-- | lib/sanitizer_common/Makefile.mk | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/sanitizer_common/Makefile.mk b/lib/sanitizer_common/Makefile.mk new file mode 100644 index 000000000000..da83c2d6b3b7 --- /dev/null +++ b/lib/sanitizer_common/Makefile.mk @@ -0,0 +1,22 @@ +#===- lib/sanitizer_common/Makefile.mk ---------------------*- Makefile -*--===# +# +# The LLVM Compiler Infrastructure +# +# This file is distributed under the University of Illinois Open Source +# License. See LICENSE.TXT for details. +# +#===------------------------------------------------------------------------===# + +ModuleName := sanitizer_common +SubDirs := + +Sources := $(foreach file,$(wildcard $(Dir)/*.cc),$(notdir $(file))) +ObjNames := $(Sources:%.cc=%.o) + +Implementation := Generic + +# FIXME: use automatic dependencies? +Dependencies := $(wildcard $(Dir)/*.h) + +# Define a convenience variable for all the sanitizer_common functions. +SanitizerCommonFunctions := $(Sources:%.cc=%) |