1# Makefile.inc,v 1.2 1994/09/13 21:26:01 wollman Exp 2# $FreeBSD$ 3 4.PATH: ${LIBC_SRCTOP}/stdtime ${SRCTOP}/contrib/tzcode 5 6TZCODE_SRCS= asctime.c difftime.c localtime.c 7STDTIME_SRCS= strftime.c strptime.c timelocal.c 8SRCS+= ${TZCODE_SRCS} ${STDTIME_SRCS} time32.c 9 10SYM_MAPS+= ${LIBC_SRCTOP}/stdtime/Symbol.map 11 12.for src in ${TZCODE_SRCS} ${STDTIME_SRCS} 13CFLAGS.${src}+= -I${SRCTOP}/contrib/tzcode -include tzconfig.h 14.endfor 15.for src in ${STDTIME_SRCS} 16CFLAGS.${src}+= -I${LIBC_SRCTOP}/stdtime 17.endfor 18 19CFLAGS.localtime.c+= -DALL_STATE -DTHREAD_SAFE 20.if ${MK_DETECT_TZ_CHANGES} != "no" 21CFLAGS.localtime.c+= -DDETECT_TZ_CHANGES 22.endif 23 24MAN+= ctime.3 strftime.3 strptime.3 time2posix.3 25MAN+= tzfile.5 26 27MLINKS+=ctime.3 asctime.3 ctime.3 difftime.3 ctime.3 gmtime.3 \ 28 ctime.3 localtime.3 ctime.3 mktime.3 ctime.3 timegm.3 \ 29 ctime.3 ctime_r.3 ctime.3 localtime_r.3 ctime.3 gmtime_r.3 \ 30 ctime.3 asctime_r.3 31MLINKS+=strftime.3 strftime_l.3 32MLINKS+=strptime.3 strptime_l.3 33MLINKS+=time2posix.3 posix2time.3 34