summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdtime/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdtime/Makefile.inc')
-rw-r--r--lib/libc/stdtime/Makefile.inc16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/libc/stdtime/Makefile.inc b/lib/libc/stdtime/Makefile.inc
new file mode 100644
index 0000000..cdd4b8a
--- /dev/null
+++ b/lib/libc/stdtime/Makefile.inc
@@ -0,0 +1,16 @@
+# Makefile.inc,v 1.2 1994/09/13 21:26:01 wollman Exp
+# $Id$
+
+.PATH: ${.CURDIR}/../libc/stdtime
+
+SRCS+= asctime.c localtime.c strftime.c difftime.c
+
+# Only build man pages with libc.
+.if ${LIB} == "c"
+MAN5+= stdtime/tzfile.5
+MAN3+= stdtime/ctime.3 stdtime/strftime.3 stdtime/time2posix.3
+
+MLINKS+=ctime.3 asctime.3 ctime.3 difftime.3 ctime.3 gmtime.3 \
+ ctime.3 localtime.3 ctime.3 mktime.3
+MLINKS+=time2posix.3 posix2time.3
+.endif
OpenPOWER on IntegriCloud