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.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/libc/gmon/Makefile.inc b/lib/libc/gmon/Makefile.inc
new file mode 100644
index 0000000..57dc293
--- /dev/null
+++ b/lib/libc/gmon/Makefile.inc
@@ -0,0 +1,12 @@
+# @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
+
+# gmon sources
+.PATH: ${.CURDIR}/gmon
+
+SRCS+= gmon.c mcount.c
+MAN3+= gmon/moncontrol.3
+MLINKS+= moncontrol.3 monstartup.3
+
+# mcount cannot be compiled with profiling
+mcount.po: mcount.o
+ cp mcount.o mcount.po
OpenPOWER on IntegriCloud