10d49904d50fc42b411c396c472ce70f8e4575f99Kostya Serebryany#===- lib/interception/Makefile.mk -------------------------*- Makefile -*--===# 25b29018cf422e7711fb760b733c32127397a43fcAlexey Samsonov# 35b29018cf422e7711fb760b733c32127397a43fcAlexey Samsonov# The LLVM Compiler Infrastructure 45b29018cf422e7711fb760b733c32127397a43fcAlexey Samsonov# 55b29018cf422e7711fb760b733c32127397a43fcAlexey Samsonov# This file is distributed under the University of Illinois Open Source 65b29018cf422e7711fb760b733c32127397a43fcAlexey Samsonov# License. See LICENSE.TXT for details. 75b29018cf422e7711fb760b733c32127397a43fcAlexey Samsonov# 85b29018cf422e7711fb760b733c32127397a43fcAlexey Samsonov#===------------------------------------------------------------------------===# 95b29018cf422e7711fb760b733c32127397a43fcAlexey Samsonov 100d49904d50fc42b411c396c472ce70f8e4575f99Kostya SerebryanyModuleName := interception 115967c3de18a658e052c07a2af69f02823115655bAlexey SamsonovSubDirs := mach_override 125b29018cf422e7711fb760b733c32127397a43fcAlexey Samsonov 135b29018cf422e7711fb760b733c32127397a43fcAlexey SamsonovSources := $(foreach file,$(wildcard $(Dir)/*.cc),$(notdir $(file))) 145b29018cf422e7711fb760b733c32127397a43fcAlexey SamsonovObjNames := $(Sources:%.cc=%.o) 155b29018cf422e7711fb760b733c32127397a43fcAlexey Samsonov 165b29018cf422e7711fb760b733c32127397a43fcAlexey SamsonovImplementation := Generic 175b29018cf422e7711fb760b733c32127397a43fcAlexey Samsonov 185b29018cf422e7711fb760b733c32127397a43fcAlexey Samsonov# FIXME: use automatic dependencies? 195b29018cf422e7711fb760b733c32127397a43fcAlexey SamsonovDependencies := $(wildcard $(Dir)/*.h) 205967c3de18a658e052c07a2af69f02823115655bAlexey SamsonovDependencies += $(wildcard $(Dir)/mach_override/*.h) 215b29018cf422e7711fb760b733c32127397a43fcAlexey Samsonov 220d49904d50fc42b411c396c472ce70f8e4575f99Kostya Serebryany# Define a convenience variable for all the interception functions. 230d49904d50fc42b411c396c472ce70f8e4575f99Kostya SerebryanyInterceptionFunctions := $(Sources:%.cc=%) 24