1#===- lib/builtins/x86_64/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 :=
12OnlyArchs := x86_64 x86_64h
13
14AsmSources := $(foreach file,$(wildcard $(Dir)/*.S),$(notdir $(file)))
15Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file)))
16ObjNames := $(Sources:%.c=%.o) $(AsmSources:%.S=%.o)
17Implementation := Optimized
18
19# FIXME: use automatic dependencies?
20Dependencies := $(wildcard lib/*.h $(Dir)/*.h)
21