xref: /onnv-gate/usr/src/lib/nsswitch/mdns/Makefile.com (revision 4904:cd464a980538)
1*4904Srs200217#
2*4904Srs200217# CDDL HEADER START
3*4904Srs200217#
4*4904Srs200217# The contents of this file are subject to the terms of the
5*4904Srs200217# Common Development and Distribution License (the "License").
6*4904Srs200217# You may not use this file except in compliance with the License.
7*4904Srs200217#
8*4904Srs200217# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*4904Srs200217# or http://www.opensolaris.org/os/licensing.
10*4904Srs200217# See the License for the specific language governing permissions
11*4904Srs200217# and limitations under the License.
12*4904Srs200217#
13*4904Srs200217# When distributing Covered Code, include this CDDL HEADER in each
14*4904Srs200217# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*4904Srs200217# If applicable, add the following below this CDDL HEADER, with the
16*4904Srs200217# fields enclosed by brackets "[]" replaced with your own identifying
17*4904Srs200217# information: Portions Copyright [yyyy] [name of copyright owner]
18*4904Srs200217#
19*4904Srs200217# CDDL HEADER END
20*4904Srs200217#
21*4904Srs200217# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
22*4904Srs200217# Use is subject to license terms.
23*4904Srs200217#
24*4904Srs200217#ident	"%Z%%M%	%I%	%E% SMI"
25*4904Srs200217#
26*4904Srs200217# lib/nsswitch/mdns/Makefile.com
27*4904Srs200217
28*4904Srs200217LIBRARY =	libnss_mdns.a
29*4904Srs200217VERS =		.1
30*4904Srs200217
31*4904Srs200217OBJECTS =	gethostent.o	\
32*4904Srs200217		gethostent6.o	\
33*4904Srs200217		mdns_common.o
34*4904Srs200217
35*4904Srs200217# include common nsswitch library definitions.
36*4904Srs200217include		../../Makefile.com
37*4904Srs200217
38*4904Srs200217C99MODE =       $(C99_ENABLE)
39*4904Srs200217LDLIBS +=	-lnsl -ldns_sd -lscf
40*4904Srs200217DYNLIB1 =	nss_mdns.so$(VERS)
41*4904Srs200217
42*4904Srs200217lint	:=  LDLIBS = $(LDLIBS.lib) -lc -lnsl -lscf -ldns_sd
43