summaryrefslogtreecommitdiffstats
path: root/lib/libc/gmon/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gmon/Makefile.inc')
-rw-r--r--lib/libc/gmon/Makefile.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/libc/gmon/Makefile.inc b/lib/libc/gmon/Makefile.inc
new file mode 100644
index 0000000..959c3fb
--- /dev/null
+++ b/lib/libc/gmon/Makefile.inc
@@ -0,0 +1,11 @@
+# @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
+
+# gmon sources
+.PATH: ${.CURDIR}/gmon
+
+SRCS+= gmon.c mcount.c
+MAN3+= moncontrol.0
+
+# mcount cannot be compiled with profiling
+mcount.po: mcount.o
+ cp mcount.o mcount.po
OpenPOWER on IntegriCloud