[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / usr.sbin / dhcpleasectl

File: [local] / src / usr.sbin / dhcpleasectl / Makefile (download)

Revision 1.2, Wed Sep 15 15:18:23 2021 UTC (2 years, 8 months ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, HEAD
Changes since 1.1: +2 -2 lines

Rewrite and simplify dhcpleasectl(8).

With this

dhcpleasectl em0

does the same as

dhclient em0

used to do. To please people's muscle memory one can be aliased to the other.

earlier version OK benno

with lots of help massaging the output & OK deraadt

#	$OpenBSD: Makefile,v 1.2 2021/09/15 15:18:23 florian Exp $

PROG=	dhcpleasectl
SRCS=	dhcpleasectl.c

MAN=	dhcpleasectl.8

CFLAGS+= -Wall
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+= -Wsign-compare
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../../sbin/dhcpleased
LDADD=	-lutil
DPADD=	${LIBUTIL}

.include <bsd.prog.mk>