Daniel Dunbar | b3a6901 | 2009-06-26 16:47:03 +0000 | [diff] [blame] | 1 | #===- 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 Dunbar | f06648a | 2011-12-02 02:42:07 +0000 | [diff] [blame] | 10 | ModuleName := builtins |
Daniel Dunbar | b3a6901 | 2009-06-26 16:47:03 +0000 | [diff] [blame] | 11 | SubDirs := |
| 12 | OnlyArchs := x86_64 |
| 13 | |
Daniel Dunbar | dc114bf | 2009-09-10 23:27:45 +0000 | [diff] [blame] | 14 | AsmSources := $(foreach file,$(wildcard $(Dir)/*.S),$(notdir $(file))) |
Daniel Dunbar | b3a6901 | 2009-06-26 16:47:03 +0000 | [diff] [blame] | 15 | Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file))) |
Daniel Dunbar | dc114bf | 2009-09-10 23:27:45 +0000 | [diff] [blame] | 16 | ObjNames := $(Sources:%.c=%.o) $(AsmSources:%.S=%.o) |
Daniel Dunbar | 6db90e6 | 2010-01-18 06:49:09 +0000 | [diff] [blame] | 17 | Implementation := Optimized |
Daniel Dunbar | b3a6901 | 2009-06-26 16:47:03 +0000 | [diff] [blame] | 18 | |
| 19 | # FIXME: use automatic dependencies? |
Daniel Dunbar | 19336a2 | 2009-10-27 17:49:50 +0000 | [diff] [blame] | 20 | Dependencies := $(wildcard lib/*.h $(Dir)/*.h) |