177ed6142daed1e068fbda64405d0de9845e40e1Shih-wei Liao#===- lib/i386/Makefile.mk ---------------------------------*- Makefile -*--===# 277ed6142daed1e068fbda64405d0de9845e40e1Shih-wei Liao# 377ed6142daed1e068fbda64405d0de9845e40e1Shih-wei Liao# The LLVM Compiler Infrastructure 477ed6142daed1e068fbda64405d0de9845e40e1Shih-wei Liao# 577ed6142daed1e068fbda64405d0de9845e40e1Shih-wei Liao# This file is distributed under the University of Illinois Open Source 677ed6142daed1e068fbda64405d0de9845e40e1Shih-wei Liao# License. See LICENSE.TXT for details. 777ed6142daed1e068fbda64405d0de9845e40e1Shih-wei Liao# 877ed6142daed1e068fbda64405d0de9845e40e1Shih-wei Liao#===------------------------------------------------------------------------===# 977ed6142daed1e068fbda64405d0de9845e40e1Shih-wei Liao 1077ed6142daed1e068fbda64405d0de9845e40e1Shih-wei LiaoSubDirs := 1177ed6142daed1e068fbda64405d0de9845e40e1Shih-wei LiaoOnlyArchs := i386 1277ed6142daed1e068fbda64405d0de9845e40e1Shih-wei Liao 1377ed6142daed1e068fbda64405d0de9845e40e1Shih-wei LiaoAsmSources := $(foreach file,$(wildcard $(Dir)/*.S),$(notdir $(file))) 1477ed6142daed1e068fbda64405d0de9845e40e1Shih-wei LiaoSources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file))) 1577ed6142daed1e068fbda64405d0de9845e40e1Shih-wei LiaoObjNames := $(Sources:%.c=%.o) $(AsmSources:%.S=%.o) 1677ed6142daed1e068fbda64405d0de9845e40e1Shih-wei LiaoImplementation := Optimized 1777ed6142daed1e068fbda64405d0de9845e40e1Shih-wei Liao 1877ed6142daed1e068fbda64405d0de9845e40e1Shih-wei Liao# FIXME: use automatic dependencies? 1977ed6142daed1e068fbda64405d0de9845e40e1Shih-wei LiaoDependencies := $(wildcard lib/*.h $(Dir)/*.h) 20