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