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.inc17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/libc/gmon/Makefile.inc b/lib/libc/gmon/Makefile.inc
new file mode 100644
index 0000000..98c7395
--- /dev/null
+++ b/lib/libc/gmon/Makefile.inc
@@ -0,0 +1,17 @@
+# from @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
+# $FreeBSD$
+
+# gmon sources
+.PATH: ${.CURDIR}/gmon
+
+SRCS+= gmon.c mcount.c
+
+SYM_MAPS+=${.CURDIR}/gmon/Symbol.map
+
+MAN+= 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