freebsd-nq/lib/libc/stdtime/Makefile.inc
John Birrell 870039320f Changed all paths to be relative to src/lib instead of src/lib/libc
so that all these makefiles can be used to build libc_r too.

Added .if ${LIB} == "c" tests to restrict man page builds to libc
to avoid needlessly building them with libc_r too.

Split libc Makefile into Makefile and Makefile.inc to allow the
libc_r Makefile to include Makefile.inc too.
1997-05-03 03:50:06 +00:00

17 lines
431 B
Makefile

# 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