2N/A#
2N/A# CDDL HEADER START
2N/A#
2N/A# The contents of this file are subject to the terms of the
2N/A# Common Development and Distribution License (the "License").
2N/A# You may not use this file except in compliance with the License.
2N/A#
2N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A# or http://www.opensolaris.org/os/licensing.
2N/A# See the License for the specific language governing permissions
2N/A# and limitations under the License.
2N/A#
2N/A# When distributing Covered Code, include this CDDL HEADER in each
2N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A# If applicable, add the following below this CDDL HEADER, with the
2N/A# fields enclosed by brackets "[]" replaced with your own identifying
2N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2N/A#
2N/A# CDDL HEADER END
2N/A#
2N/A#
2N/A# Copyright (c) 1990, 2011, Oracle and/or its affiliates. All rights reserved.
2N/A#
2N/A
2N/ALIBRARY= libresolv.a
2N/AVERS= .1
2N/A
2N/APICS= pics/res_comp.o pics/res_debug.o pics/res_init.o \
2N/A pics/res_mkquery.o pics/res_query.o pics/res_send.o \
2N/A pics/res_gethost.o pics/res_sethost.o
2N/A
2N/Apics/%.o: %.c
2N/A $(COMPILE.c) -o $@ $<
2N/A $(POST_PROCESS_O)
2N/A
2N/AOBJECTS= \
2N/Ares_gethost.o res_comp.o res_debug.o res_init.o res_mkquery.o \
2N/Ares_query.o res_send.o res_sethost.o
2N/A
2N/A# include library definitions
2N/Ainclude ../Makefile.lib
2N/A
2N/A# install this library in the root filesystem
2N/Ainclude ../Makefile.rootfs
2N/A
2N/ASRCDIR = .
2N/A
2N/AC99MODE= $(C99_DISABLE)
2N/A
2N/A# We really want to say this:
2N/A# CPPFLAGS += -DDEBUG -DSYSV -D_REENTRANT -I. -I../common/inc
2N/A# but some system header files are replaced by local versions
2N/A# so we must put -I. ahead of the default include directories:
2N/ACPPFLAGS = -I. -I../common/inc $(CPPFLAGS.master) -DDEBUG -DSYSV -D_REENTRANT
2N/ALDLIBS += -lsocket -lnsl -lc
2N/A
2N/AROOTDYNLIBS= $(DYNLIB:%=$(ROOTLIBDIR)/%)
2N/A
2N/A.KEEP_STATE:
2N/A
2N/ALIBS = $(DYNLIB)
2N/A
2N/Aall: $(LIBS)
2N/A
2N/Ainstall: all $(ROOTDYNLIBS)
2N/A
2N/Alint: lintcheck
2N/A
2N/A# This object is produced for backward compatibility, and delivered without
2N/A# a compilation symlink. We do not link anything in the OSnet against it.
2N/A# As such, we do not need to build a stub object for it.
2N/Astub stubinstall:
2N/A
2N/A# include library targets
2N/Ainclude ../Makefile.targ