head	1.7;
access;
symbols
	RELENG_5_5_0_RELEASE:1.5.8.1
	RELENG_5_5:1.5.8.1.0.4
	RELENG_5_5_BP:1.5.8.1
	RELENG_5_4_0_RELEASE:1.5.8.1
	RELENG_5_4:1.5.8.1.0.2
	RELENG_5_4_BP:1.5.8.1
	RELENG_4_11_0_RELEASE:1.4.2.2
	RELENG_4_11:1.4.2.2.0.10
	RELENG_4_11_BP:1.4.2.2
	RELENG_5_3_0_RELEASE:1.5
	RELENG_5_3:1.5.0.10
	RELENG_5_3_BP:1.5
	RELENG_5:1.5.0.8
	RELENG_5_BP:1.5
	RELENG_4_10_0_RELEASE:1.4.2.2
	RELENG_4_10:1.4.2.2.0.8
	RELENG_4_10_BP:1.4.2.2
	RELENG_5_2_1_RELEASE:1.5
	RELENG_5_2_0_RELEASE:1.5
	RELENG_5_2:1.5.0.6
	RELENG_5_2_BP:1.5
	RELENG_4_9_0_RELEASE:1.4.2.2
	RELENG_4_9:1.4.2.2.0.6
	RELENG_4_9_BP:1.4.2.2
	RELENG_5_1_0_RELEASE:1.5
	RELENG_5_1:1.5.0.4
	RELENG_5_1_BP:1.5
	RELENG_4_8_0_RELEASE:1.4.2.2
	RELENG_4_8:1.4.2.2.0.4
	RELENG_4_8_BP:1.4.2.2
	RELENG_5_0_0_RELEASE:1.5
	RELENG_5_0:1.5.0.2
	RELENG_5_0_BP:1.5
	RELENG_4_7_0_RELEASE:1.4.2.2
	RELENG_4_7:1.4.2.2.0.2
	RELENG_4_7_BP:1.4.2.2
	RELENG_4_6_2_RELEASE:1.4.2.1
	RELENG_4_6_1_RELEASE:1.4.2.1
	RELENG_4_6_0_RELEASE:1.4.2.1
	RELENG_4_6:1.4.2.1.0.2
	RELENG_4_6_BP:1.4.2.1
	RELENG_4:1.4.0.2;
locks; strict;
comment	@# @;


1.7
date	2005.06.07.04.02.10;	author brooks;	state dead;
branches;
next	1.6;

1.6
date	2004.10.24.15.32.37;	author ru;	state Exp;
branches;
next	1.5;

1.5
date	2002.05.13.11.09.05;	author ru;	state Exp;
branches
	1.5.8.1;
next	1.4;

1.4
date	2002.02.28.16.17.18;	author matusita;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	2002.02.20.05.45.59;	author obrien;	state Exp;
branches;
next	1.2;

1.2
date	2002.02.19.22.23.49;	author obrien;	state Exp;
branches;
next	1.1;

1.1
date	2002.02.19.12.57.18;	author murray;	state Exp;
branches;
next	;

1.5.8.1
date	2005.02.13.07.23.18;	author obrien;	state Exp;
branches;
next	;

1.4.2.1
date	2002.04.11.10.21.21;	author murray;	state Exp;
branches;
next	1.4.2.2;

1.4.2.2
date	2002.07.19.18.46.27;	author ru;	state Exp;
branches;
next	1.4.2.3;

1.4.2.3
date	2012.11.17.07.24.27;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.7
log
@Remove the bits to build the isc-dhclient.
@
text
@# minires
# $FreeBSD: src/sbin/dhclient/minires/Makefile,v 1.6 2004/10/24 15:32:37 ru Exp $

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

.PATH: ${DIST_DIR}/minires

LIB=	res
INTERNALLIB=

SRCS=	ns_date.c ns_name.c ns_parse%FIXED.c ns_samedomain.c ns_sign.c ns_verify.c \
	res_comp.c res_findzonecut.c res_init.c res_mkquery.c res_mkupdate.c \
	res_query%FIXED.c res_send.c res_sendsigned.c res_update.c

CFLAGS+= -DHMAC_MD5 -DMINIRES_LIB

CLEANFILES+=	ns_parse%FIXED.c res_query%FIXED.c
ns_parse%FIXED.c: ns_parse.c
	sed 's/struct _ns_flagdata _ns_flagdata/struct _ns_flagdata _ns_flagdata_DONT/'	\
	    ${.ALLSRC} > ${.TARGET}
res_query%FIXED.c: res_query.c
	sed -e 's/RES_SET_H_ERRNO(\(.*\),\(.*\))/(h_errno = (\1)->res_h_errno = (\2))/' \
	    ${.ALLSRC} > ${.TARGET}

.include <bsd.lib.mk>
@


1.6
log
@For variables that are only checked with defined(), don't provide
any fake value.
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.5
log
@Removed now unused INTERNALSTATICLIB.
INTERNALLIB now implies NOPIC and NOPROFILE.
Removed gratuitous NOMAN.
@
text
@d9 1
a9 1
INTERNALLIB=		true
@


1.5.8.1
log
@MFC: For variables that are only checked with defined(), don't provide
     any fake value.
@
text
@d9 1
a9 1
INTERNALLIB=
@


1.4
log
@Fix "make release.4" breakage.

src/contrib/isc-dhcp/includes/minires/resolv.h has a 'extern' definition
but it makes an error when linking crunched binary just like this:

	dhclient.lo: In function `MRres_nquery':
	dhclient.lo(.text+0x2dcce): undefined reference to `__h_errno_set'
	dhclient.lo(.text+0x2dd5b): undefined reference to `__h_errno_set'
	dhclient.lo: In function `MRres_nquerydomain':
	dhclient.lo(.text+0x2de53): undefined reference to `__h_errno_set'

The author understands this will be a problem (see comments in resolv.h).
Murray said that the author will fix this, but as a temporary solution,
modifying the source code and not to use __h_errno_set.

BTW, I'm sorry that previous commitlog in src/sbin/dhclient/Makefile should
read "Found by:" instead of "Confirmed by"; I just found that rev 1.15
has a typo so fixed.

Tested on: ushi.jp.FreeBSD.org with today's 5-current source code.
           (belive me, "make release.4" works fine now)
@
text
@a9 1
INTERNALSTATICLIB=	true
a15 2

NOMAN=	true
@


1.4.2.1
log
@MFC: bmake glue for DHCP 3.0.1 RC8
@
text
@@


1.4.2.2
log
@MFC: new bsd.lib.mk API.
@
text
@d10 1
d17 2
@


1.4.2.3
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/4/sbin/dhclient/minires/Makefile 100377 2002-07-19 18:46:30Z ru $
@


1.3
log
@Neutralize bits of ns_parse.c with bad juju.
@
text
@d14 1
a14 1
	res_query.c res_send.c res_sendsigned.c res_update.c
d20 1
a20 1
CLEANFILES+=	ns_parse%FIXED.c
d23 3
@


1.2
log
@Style cleanup.

Approved by:	Murray
@
text
@d12 1
a12 1
SRCS=	ns_date.c ns_name.c ns_parse.c ns_samedomain.c ns_sign.c ns_verify.c \
d19 5
@


1.1
log
@Makefile glue for DHCP v3 import.
@
text
@d8 1
a8 2
LIB= res
NOPROFILE=		true
a9 1
NOPIC=			true
a10 1
NOMAN=			true
d12 3
a14 3
SRCS= 	res_mkupdate.c res_init.c res_update.c res_send.c res_comp.c	     \
        res_sendsigned.c res_findzonecut.c res_query.c res_mkquery.c	     \
        ns_date.c ns_parse.c ns_sign.c ns_name.c ns_samedomain.c ns_verify.c
d16 3
a18 1
CFLAGS+= -I${DIST_DIR}/includes -I${DIST_DIR} -DHMAC_MD5 -DMINIRES_LIB
@

