blob: ee3f9ce8f14e4d2cbe4e1f3aae6b699e735c5cdc [file] [log] [blame]
Daniel Dunbarb3a69012009-06-26 16:47:03 +00001#===- lib/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
Daniel Dunbarf06648a2011-12-02 02:42:07 +000010ModuleName := builtins
Daniel Dunbarb3a69012009-06-26 16:47:03 +000011SubDirs :=
12OnlyArchs := x86_64
13
Daniel Dunbardc114bf2009-09-10 23:27:45 +000014AsmSources := $(foreach file,$(wildcard $(Dir)/*.S),$(notdir $(file)))
Daniel Dunbarb3a69012009-06-26 16:47:03 +000015Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file)))
Daniel Dunbardc114bf2009-09-10 23:27:45 +000016ObjNames := $(Sources:%.c=%.o) $(AsmSources:%.S=%.o)
Daniel Dunbar6db90e62010-01-18 06:49:09 +000017Implementation := Optimized
Daniel Dunbarb3a69012009-06-26 16:47:03 +000018
19# FIXME: use automatic dependencies?
Daniel Dunbar19336a22009-10-27 17:49:50 +000020Dependencies := $(wildcard lib/*.h $(Dir)/*.h)