xref: /freebsd/usr.sbin/tzsetup/Makefile (revision d259f405302cdb43b8c22bb0d1cd7e689004e1a3)
1d259f405SGarrett Wollman#	$Id: Makefile,v 1.1 1994/09/13 23:01:57 wollman Exp $
2e7d3fe31SGarrett Wollman
3d259f405SGarrett WollmanPROG=	tzsetup
4e7d3fe31SGarrett WollmanNOMAN=
5d259f405SGarrett WollmanSRCS=	main.c tzmenu.c menus.c
6d259f405SGarrett WollmanCFLAGS+=	-I. -I${.CURDIR}
7d259f405SGarrett WollmanCLEANFILES+=	menus.c
8d259f405SGarrett WollmanLDADD+=	-ldialog -lncurses -lmytinfo
9d259f405SGarrett WollmanDPADD+=	${LIBDIALOG} ${LIBNCURSES} ${LIBMYTINFO}
10e7d3fe31SGarrett Wollman
11d259f405SGarrett WollmanZ=	${.CURDIR}/../../share/zoneinfo
12d259f405SGarrett Wollman.PATH:	${Z}
13e7d3fe31SGarrett Wollman
14d259f405SGarrett WollmanZF=	africa antarctica asia australasia europe northamerica southamerica
15d259f405SGarrett Wollman
16d259f405SGarrett Wollmanmenus.c:	grok.pl ${ZF}
17d259f405SGarrett Wollman	perl ${.CURDIR}/grok.pl `for a in ${ZF}; do echo ${Z}/$$a; done` \
18d259f405SGarrett Wollman		> ${.TARGET}
19e7d3fe31SGarrett Wollman
20e7d3fe31SGarrett Wollman.include <bsd.prog.mk>
21