<commit_before>#
# $Id: Makefile,v 1.1.1.1 1999/02/10 20:51:22 obrien Exp $
#

DIST_DIR=	${.CURDIR}/../../contrib/isc-dhcp

.PATH:		${DIST_DIR}/client ${DIST_DIR}/common

PROG=		dhclient

SRCS=		clparse.c dhclient.c
SRCS+=		alloc.c bpf.c conflex.c convert.c dispatch.c errwarn.c hash.c \
		icmp.c inet.c inet_addr.c memory.c nit.c options.c packet.c \
		parse.c print.c raw.c socket.c tables.c tree.c upf.c

CFLAGS+= 	-I${.CURDIR}/../../contrib/isc-dhcp/includes \
		-I${.CURDIR}/../../contrib/isc-dhcp

MAN5=		dhclient.conf.5 dhclient.leases.5 dhcp-options.5
MAN8=		dhclient.8 dhclient-script.8

afterinstall:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
		${DIST_DIR}/client/scripts/freebsd ${BINDIR}/dhclient-script

.include <bsd.prog.mk><commit_msg>More style fixes to bring this almost to bde's suggested version.<commit_after>#	$Id$

DIST_DIR= ${.CURDIR}/../../contrib/isc-dhcp

.PATH: ${DIST_DIR}/client ${DIST_DIR}/common

PROG=	dhclient
SRCS=	clparse.c dhclient.c
SRCS+=	alloc.c bpf.c conflex.c convert.c dispatch.c errwarn.c hash.c \
	icmp.c inet.c inet_addr.c memory.c nit.c options.c packet.c \
	parse.c print.c raw.c socket.c tables.c tree.c upf.c

CFLAGS+= -I${DIST_DIR}/includes -I${DIST_DIR}

MAN5=	dhclient.conf.5 dhclient.leases.5 dhcp-options.5
MAN8=	dhclient.8 dhclient-script.8

beforeinstall:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
	    ${DIST_DIR}/client/scripts/freebsd ${BINDIR}/dhclient-script

.include <bsd.prog.mk>
{'fraction_non_alphanumeric': 0.1791044776119403, 'fraction_numerical': 0.021709633649932156, 'mean_word_length': 3.4561933534743203, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1643446', 'n_tokens_mistral': 667, 'n_tokens_neox': 622, 'n_words': 129}