summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tzsetup/Makefile
blob: 8e08dbb8893c635653abd79313e6c8f1b540e07a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#	$Id: Makefile,v 1.2 1996/01/23 21:06:25 wosch Exp $

PROG=	tzsetup
MAN8=	tzsetup.8
SRCS=	main.c tzmenu.c menus.c
CFLAGS+=	-I. -I${.CURDIR}
CLEANFILES+=	menus.c
LDADD+=	-ldialog -lncurses -lmytinfo
DPADD+=	${LIBDIALOG} ${LIBNCURSES} ${LIBMYTINFO}

Z=	${.CURDIR}/../../share/zoneinfo
.PATH:	${Z}

ZF=	africa antarctica asia australasia europe northamerica southamerica

menus.c:	grok.pl ${ZF}
	perl ${.CURDIR}/grok.pl `for a in ${ZF}; do echo ${Z}/$$a; done` \
		> ${.TARGET}

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud