blob: 5bb20d076e812568c52f935134f569bddded03b8 [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)))
Pirama Arumuga Nainar799172d2016-03-03 15:50:30 -080014NolibcSources := $(foreach file,$(wildcard $(Dir)/*_nolibc.cc),$(notdir $(file)))
15Sources := $(filter-out $(NolibcSources),$(Sources))
Kostya Serebryanyb3cedf92012-05-29 12:18:18 +000016ObjNames := $(Sources:%.cc=%.o)
17
18Implementation := Generic
19
20# FIXME: use automatic dependencies?
21Dependencies := $(wildcard $(Dir)/*.h)
22
23# Define a convenience variable for all the sanitizer_common functions.
24SanitizerCommonFunctions := $(Sources:%.cc=%)