summaryrefslogtreecommitdiff
path: root/lib/Makefile.mk
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-11-17 00:12:10 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-11-17 00:12:10 +0000
commit8c88119d6334a470e3ad638c5a1f1b42c4258ac9 (patch)
tree4a45bf94159982850ba7290b30f7dd56c40a8459 /lib/Makefile.mk
parent6ecc1feee8799472a6f3eeadfb7b817eb253b4cd (diff)
lib: Import GCDA profiling support from LLVM.
- I'm in the process of moving this here but it will live in both places until the ancilliary support is ready. - Currently unused. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144865 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Makefile.mk')
-rw-r--r--lib/Makefile.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/Makefile.mk b/lib/Makefile.mk
index 1ed8c11a0..b0bb7228b 100644
--- a/lib/Makefile.mk
+++ b/lib/Makefile.mk
@@ -7,8 +7,15 @@
#
#===------------------------------------------------------------------------===#
-SubDirs := i386 ppc x86_64 arm
+SubDirs :=
+# Add arch specific optimized implementations.
+SubDirs += i386 ppc x86_64 arm
+
+# Add other submodules.
+SubDirs += profile
+
+# Define the variables for this specific directory.
Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file)))
ObjNames := $(Sources:%.c=%.o)
Implementation := Generic