# Copyright (C) 2004, 2007, 2008  Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2001  Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
# AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.

# Id: Makefile.in,v 1.14 2008/03/20 23:47:00 tbox Exp

srcdir=		@srcdir@
VPATH =         @srcdir@

WANT_IRS_THREADS_OBJS=	gethostent_r.@O@ getnetent_r.@O@ getnetgrent_r.@O@ \
	getprotoent_r.@O@ getservent_r.@O@

WANT_IRS_NISGR_OBJS= nis_gr.@O@ 
WANT_IRS_GR_OBJS= dns_gr.@O@ irp_gr.@O@ lcl_gr.@O@ gen_gr.@O@ getgrent.@O@ \
	@WANT_IRS_NISGR_OBJS@ @WANT_IRS_THREADSGR_OBJS@

WANT_IRS_THREADSPW_OBJS=getpwent_r.@O@
WANT_IRS_NISPW_OBJS= nis_pw.@O@
WANT_IRS_DBPW_OBJS=irp_pw.@O@ lcl_pw.@O@
WANT_IRS_PW_OBJS= dns_pw.@O@ gen_pw.@O@ getpwent.@O@ \
	@WANT_IRS_DBPW_OBJS@ @WANT_IRS_NISPW_OBJS@ @WANT_IRS_THREADSPW_OBJS@

WANT_IRS_NIS_OBJS= \
	nis_ho.@O@ nis_ng.@O@ nis_nw.@O@ nis_pr.@O@ nis_sv.@O@

OBJS=	@WANT_IRS_GR_OBJS@ @WANT_IRS_NIS_OBJS@ @WANT_IRS_THREADS_OBJS@ \
	@WANT_IRS_PW_OBJS@ \
	dns.@O@ dns_ho.@O@ dns_nw.@O@ dns_pr.@O@ \
	dns_sv.@O@ gai_strerror.@O@ gen.@O@ gen_ho.@O@ \
	gen_ng.@O@ gen_nw.@O@ gen_pr.@O@ gen_sv.@O@ \
	getaddrinfo.@O@ gethostent.@O@ \
	getnameinfo.@O@ getnetent.@O@ \
	getnetgrent.@O@ getprotoent.@O@ getservent.@O@ \
	hesiod.@O@ irp.@O@ irp_ho.@O@ irp_ng.@O@ irp_nw.@O@ \
	irp_pr.@O@ irp_sv.@O@ irpmarshall.@O@ irs_data.@O@ \
	lcl.@O@ lcl_ho.@O@ lcl_ng.@O@ lcl_nw.@O@ lcl_pr.@O@ \
	lcl_sv.@O@ nis.@O@ nul_ng.@O@ util.@O@

SRCS=	dns.c dns_gr.c dns_ho.c dns_nw.c dns_pr.c dns_pw.c \
	dns_sv.c gai_strerror.c gen.c gen_gr.c gen_ho.c \
	gen_ng.c gen_nw.c gen_pr.c gen_pw.c gen_sv.c \
	getaddrinfo.c getgrent.c gethostent.c \
	getnameinfo.c getnetent.c getnetent_r.c \
	getnetgrent.c getprotoent.c getpwent.c getservent.c \
	hesiod.c irp.c irp_gr.c irp_ho.c irp_ng.c irp_nw.c \
	irp_pr.c irp_pw.c irp_sv.c irpmarshall.c irs_data.c \
	lcl.c lcl_gr.c lcl_ho.c lcl_ng.c lcl_nw.c lcl_pr.c \
	lcl_pw.c lcl_sv.c nis.c nis_gr.c nis_ho.c nis_ng.c \
	nis_nw.c nis_pr.c nis_pw.c nis_sv.c nul_ng.c \
	util.c getgrent_r.c gethostent_r.c getnetgrent_r.c getprotoent_r.c \
	getpwent_r.c getservent_r.c

WANT_IRS_THREADSGR_OBJS=getgrent_r.@O@

TARGETS= ${OBJS}

CINCLUDES= -I.. -I../include -I${srcdir}/../include

@BIND9_MAKE_RULES@
