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