xref: /freebsd/usr.sbin/tzsetup/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
14fe54d42SBaptiste Daroussin.include <src.opts.mk>
24fe54d42SBaptiste Daroussin
3d259f405SGarrett WollmanPROG=	tzsetup
4345e52e7SRuslan ErmilovMAN=	tzsetup.8
590e655eaSDavid E. O'Brien
64fe54d42SBaptiste DaroussinCFLAGS+= -I.
790e655eaSDavid E. O'Brien
8f872dde3SBaptiste Daroussin.if !defined(BOOTSTRAPPING)
971ccf092SEd SchoutenWARNS?=	3
10f872dde3SBaptiste DaroussinCFLAGS+=	-I${SRCTOP}/contrib/bsddialog/lib -DHAVE_BSDDIALOG
11f872dde3SBaptiste DaroussinLIBADD=		bsddialog
124fe54d42SBaptiste Daroussin.endif
13e7d3fe31SGarrett Wollman
14*336c4682SYuri PankovZONETAB=	${SRCTOP}/contrib/tzdata/zone1970.tab
15*336c4682SYuri Pankovbaseline: ${PROG} ${ZONETAB}
16*336c4682SYuri Pankov	${.OBJDIR}/${PROG} -d ${ZONETAB} > ${.CURDIR}/baseline
17*336c4682SYuri Pankov
18*336c4682SYuri Pankov.PHONY:	baseline
19*336c4682SYuri Pankov
20e7d3fe31SGarrett Wollman.include <bsd.prog.mk>
21