1 1.15.46.1 martin # $NetBSD: Makefile,v 1.15.46.1 2023/06/03 15:27:13 martin Exp $ 2 1.7 cgd # @(#)Makefile 8.1 (Berkeley) 5/31/93 3 1.1 cgd 4 1.15.46.1 martin .include <bsd.init.mk> 5 1.15.46.1 martin 6 1.1 cgd PROG= date 7 1.15.46.1 martin SRCS= date.c 8 1.15.46.1 martin .if !defined(HOSTPROG) 9 1.15.46.1 martin SRCS+= netdate.c 10 1.5 mycroft DPADD+= ${LIBUTIL} 11 1.5 mycroft LDADD+= -lutil 12 1.15.46.1 martin .endif 13 1.13 christos CPPFLAGS+=-I${.CURDIR} 14 1.1 cgd 15 1.15 christos COPTS.date.c = -Wno-format-nonliteral 16 1.15 christos 17 1.1 cgd .include <bsd.prog.mk> 18