2021-05-26 23:19:51 +03:00
|
|
|
# $NetBSD: Makefile,v 1.16 2021/05/26 20:19:51 christos Exp $
|
1995-03-21 12:01:59 +03:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2021-05-26 23:19:51 +03:00
|
|
|
.include <bsd.init.mk>
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
PROG= date
|
2021-05-26 23:19:51 +03:00
|
|
|
SRCS= date.c
|
|
|
|
.if !defined(HOSTPROG)
|
|
|
|
SRCS+= netdate.c
|
1993-08-09 08:42:36 +04:00
|
|
|
DPADD+= ${LIBUTIL}
|
|
|
|
LDADD+= -lutil
|
2021-05-26 23:19:51 +03:00
|
|
|
.endif
|
2006-11-15 19:59:52 +03:00
|
|
|
CPPFLAGS+=-I${.CURDIR}
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2011-08-14 14:53:16 +04:00
|
|
|
COPTS.date.c = -Wno-format-nonliteral
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.prog.mk>
|