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