Makefile.mk revision 5d71de26cedae3dafc17449fe0182045c0bd20e8
1#===- lib/builtins/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 := 12 13# Add arch specific optimized implementations. 14SubDirs += i386 ppc x86_64 arm armv6m 15 16# Define the variables for this specific directory. 17Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file))) 18ObjNames := $(Sources:%.c=%.o) 19Implementation := Generic 20 21# FIXME: use automatic dependencies? 22Dependencies := $(wildcard $(Dir)/*.h) 23