2014-02-14 17:20:33 +08:00
|
|
|
#===- lib/builtins/Makefile.mk -----------------------------*- Makefile -*--===#
|
2009-06-27 00:47:03 +08:00
|
|
|
#
|
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
|
|
|
# This file is distributed under the University of Illinois Open Source
|
|
|
|
# License. See LICENSE.TXT for details.
|
|
|
|
#
|
|
|
|
#===------------------------------------------------------------------------===#
|
|
|
|
|
2011-12-02 10:42:07 +08:00
|
|
|
ModuleName := builtins
|
2014-02-14 17:20:33 +08:00
|
|
|
SubDirs :=
|
2009-06-27 00:47:03 +08:00
|
|
|
|
2014-02-14 17:20:33 +08:00
|
|
|
# Add arch specific optimized implementations.
|
2014-07-10 18:06:42 +08:00
|
|
|
SubDirs += i386 ppc x86_64 arm armv6m
|
2014-02-14 17:20:33 +08:00
|
|
|
|
2014-10-09 01:28:37 +08:00
|
|
|
# Add ARM64 dir.
|
|
|
|
SubDirs += arm64
|
|
|
|
|
2014-02-14 17:20:33 +08:00
|
|
|
# Define the variables for this specific directory.
|
2009-06-27 00:47:03 +08:00
|
|
|
Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file)))
|
2014-02-14 17:20:33 +08:00
|
|
|
ObjNames := $(Sources:%.c=%.o)
|
|
|
|
Implementation := Generic
|
2009-06-27 00:47:03 +08:00
|
|
|
|
|
|
|
# FIXME: use automatic dependencies?
|
2014-02-14 17:20:33 +08:00
|
|
|
Dependencies := $(wildcard $(Dir)/*.h)
|