Makefile.mk revision 975a3294d9baf6bbbcfdb3c3a0e0a24714cde7cb
1#===- lib/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 := builtins 11SubDirs := 12 13# Add arch specific optimized implementations. 14SubDirs += i386 ppc x86_64 arm 15 16# Add other submodules. 17SubDirs += asan 18SubDirs += interception 19SubDirs += profile 20SubDirs += sanitizer_common 21SubDirs += tsan 22SubDirs += msan 23SubDirs += ubsan 24SubDirs += lsan 25 26# Define the variables for this specific directory. 27Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file))) 28ObjNames := $(Sources:%.c=%.o) 29Implementation := Generic 30 31# FIXME: use automatic dependencies? 32Dependencies := $(wildcard $(Dir)/*.h) 33