blob: da83c2d6b3b7a84e9e7e9915a8cd3e3eb67729cf [file] [log] [blame]
Kostya Serebryanyb3cedf92012-05-29 12:18:18 +00001#===- lib/sanitizer_common/Makefile.mk ---------------------*- Makefile -*--===#
2#
3# The LLVM Compiler Infrastructure
4#
5# This file is distributed under the University of Illinois Open Source
6# License. See LICENSE.TXT for details.
7#
8#===------------------------------------------------------------------------===#
9
10ModuleName := sanitizer_common
11SubDirs :=
12
13Sources := $(foreach file,$(wildcard $(Dir)/*.cc),$(notdir $(file)))
14ObjNames := $(Sources:%.cc=%.o)
15
16Implementation := Generic
17
18# FIXME: use automatic dependencies?
19Dependencies := $(wildcard $(Dir)/*.h)
20
21# Define a convenience variable for all the sanitizer_common functions.
22SanitizerCommonFunctions := $(Sources:%.cc=%)