freebsd-dev/usr.sbin/tzsetup/Makefile

21 lines
493 B
Makefile

# $Id: Makefile,v 1.1 1994/09/13 23:01:57 wollman Exp $
PROG= tzsetup
NOMAN=
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>