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