2012-10-25 19:14:36 +04:00
|
|
|
# $NetBSD: Makefile,v 1.10 2012/10/25 15:14:36 martin Exp $
|
2009-04-22 19:23:01 +04:00
|
|
|
|
2012-10-25 19:14:36 +04:00
|
|
|
.if defined(HAVE_GCC) && ${HAVE_GCC} >= 45
|
2009-04-22 19:23:01 +04:00
|
|
|
WARNS?= 2 # XXX -Wcast-qual in lib/libc/time
|
2012-10-25 19:14:36 +04:00
|
|
|
.else
|
|
|
|
# warning with older gcc:
|
|
|
|
# "comparison is always false due to limited range of data type"
|
|
|
|
# and no way to make it shut up?
|
|
|
|
WARNS= 0
|
|
|
|
NOGCCERROR= 1
|
|
|
|
.endif
|
2002-09-18 07:54:26 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
1995-03-10 10:17:05 +03:00
|
|
|
|
|
|
|
PROG= zic
|
|
|
|
SRCS= zic.c scheck.c ialloc.c
|
|
|
|
MAN= zic.8
|
1998-09-01 07:16:48 +04:00
|
|
|
CPPFLAGS+=-Dunix
|
1995-03-10 10:17:05 +03:00
|
|
|
|
2002-09-18 07:54:26 +04:00
|
|
|
.PATH: ${NETBSDSRCDIR}/lib/libc/time
|
2002-01-05 10:37:45 +03:00
|
|
|
|
1995-03-11 04:14:25 +03:00
|
|
|
.include <bsd.prog.mk>
|