4b22b9337f359bfd063322244f5336cc7c6ffcfars#
4b22b9337f359bfd063322244f5336cc7c6ffcfars# CDDL HEADER START
4b22b9337f359bfd063322244f5336cc7c6ffcfars#
4b22b9337f359bfd063322244f5336cc7c6ffcfars# The contents of this file are subject to the terms of the
4b22b9337f359bfd063322244f5336cc7c6ffcfars# Common Development and Distribution License (the "License").
4b22b9337f359bfd063322244f5336cc7c6ffcfars# You may not use this file except in compliance with the License.
4b22b9337f359bfd063322244f5336cc7c6ffcfars#
4b22b9337f359bfd063322244f5336cc7c6ffcfars# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4b22b9337f359bfd063322244f5336cc7c6ffcfars# or http://www.opensolaris.org/os/licensing.
4b22b9337f359bfd063322244f5336cc7c6ffcfars# See the License for the specific language governing permissions
4b22b9337f359bfd063322244f5336cc7c6ffcfars# and limitations under the License.
4b22b9337f359bfd063322244f5336cc7c6ffcfars#
4b22b9337f359bfd063322244f5336cc7c6ffcfars# When distributing Covered Code, include this CDDL HEADER in each
4b22b9337f359bfd063322244f5336cc7c6ffcfars# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4b22b9337f359bfd063322244f5336cc7c6ffcfars# If applicable, add the following below this CDDL HEADER, with the
4b22b9337f359bfd063322244f5336cc7c6ffcfars# fields enclosed by brackets "[]" replaced with your own identifying
4b22b9337f359bfd063322244f5336cc7c6ffcfars# information: Portions Copyright [yyyy] [name of copyright owner]
4b22b9337f359bfd063322244f5336cc7c6ffcfars#
4b22b9337f359bfd063322244f5336cc7c6ffcfars# CDDL HEADER END
4b22b9337f359bfd063322244f5336cc7c6ffcfars#
4b22b9337f359bfd063322244f5336cc7c6ffcfars# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
4b22b9337f359bfd063322244f5336cc7c6ffcfars# Use is subject to license terms.
5ffb0c9b03b5149ff4f5821a62be4a52408ada2aToomas Soome# Copyright 2016 Toomas Soome <tsoome@me.com>
4b22b9337f359bfd063322244f5336cc7c6ffcfars#
4b22b9337f359bfd063322244f5336cc7c6ffcfars
4b22b9337f359bfd063322244f5336cc7c6ffcfarsLIBRARY = libdns_sd.a
4b22b9337f359bfd063322244f5336cc7c6ffcfarsVERS = .1
4b22b9337f359bfd063322244f5336cc7c6ffcfarsOBJECTS = dnssd_clientlib.o dnssd_clientstub.o dnssd_ipc.o
4b22b9337f359bfd063322244f5336cc7c6ffcfars
4b22b9337f359bfd063322244f5336cc7c6ffcfarsinclude ../../Makefile.lib
4b22b9337f359bfd063322244f5336cc7c6ffcfars
4b22b9337f359bfd063322244f5336cc7c6ffcfarsLIBS = $(DYNLIB) $(LINTLIB)
4b22b9337f359bfd063322244f5336cc7c6ffcfars$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
4b22b9337f359bfd063322244f5336cc7c6ffcfars
4b22b9337f359bfd063322244f5336cc7c6ffcfarsSRCDIR = ../common
4b22b9337f359bfd063322244f5336cc7c6ffcfars
5ffb0c9b03b5149ff4f5821a62be4a52408ada2aToomas SoomeLDLIBS += -lsocket -lnsl -lc
4b22b9337f359bfd063322244f5336cc7c6ffcfars
4b22b9337f359bfd063322244f5336cc7c6ffcfarsC99MODE = $(C99_ENABLE)
5ffb0c9b03b5149ff4f5821a62be4a52408ada2aToomas SoomeCPPFLAGS += -I$(SRCDIR) -DNOT_HAVE_SA_LEN -D_XPG4_2 -D__EXTENSIONS__
c1de7575521deda5ee777b8054a9c5b12f15b1eeRichard LoweCPPFLAGS += -DMDNS_VERSIONSTR_NODTS
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe
4b22b9337f359bfd063322244f5336cc7c6ffcfars.PARALLEL = $(OBJECTS)
4b22b9337f359bfd063322244f5336cc7c6ffcfars.KEEP_STATE:
4b22b9337f359bfd063322244f5336cc7c6ffcfars
4b22b9337f359bfd063322244f5336cc7c6ffcfarslint: lintcheck
4b22b9337f359bfd063322244f5336cc7c6ffcfars
4b22b9337f359bfd063322244f5336cc7c6ffcfarsall: $(LIBS)
4b22b9337f359bfd063322244f5336cc7c6ffcfars
4b22b9337f359bfd063322244f5336cc7c6ffcfarsinclude ../../Makefile.targ