2012-05-15 20:21:33 +08:00
|
|
|
#===- lib/interception/Makefile.mk -------------------------*- Makefile -*--===#
|
2012-02-09 03:52:01 +08:00
|
|
|
#
|
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
|
|
|
# This file is distributed under the University of Illinois Open Source
|
|
|
|
# License. See LICENSE.TXT for details.
|
|
|
|
#
|
|
|
|
#===------------------------------------------------------------------------===#
|
|
|
|
|
2012-05-15 20:21:33 +08:00
|
|
|
ModuleName := interception
|
2013-02-05 23:57:12 +08:00
|
|
|
SubDirs :=
|
2012-02-09 03:52:01 +08:00
|
|
|
|
|
|
|
Sources := $(foreach file,$(wildcard $(Dir)/*.cc),$(notdir $(file)))
|
|
|
|
ObjNames := $(Sources:%.cc=%.o)
|
|
|
|
|
|
|
|
Implementation := Generic
|
|
|
|
|
|
|
|
# FIXME: use automatic dependencies?
|
|
|
|
Dependencies := $(wildcard $(Dir)/*.h)
|
2013-01-30 22:27:41 +08:00
|
|
|
Dependencies += $(wildcard $(Dir)/../sanitizer_common/*.h)
|
2012-02-09 03:52:01 +08:00
|
|
|
|
2012-05-15 20:21:33 +08:00
|
|
|
# Define a convenience variable for all the interception functions.
|
|
|
|
InterceptionFunctions := $(Sources:%.cc=%)
|