14b22b933Srs# 24b22b933Srs# CDDL HEADER START 34b22b933Srs# 44b22b933Srs# The contents of this file are subject to the terms of the 54b22b933Srs# Common Development and Distribution License (the "License"). 64b22b933Srs# You may not use this file except in compliance with the License. 74b22b933Srs# 84b22b933Srs# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 94b22b933Srs# or http://www.opensolaris.org/os/licensing. 104b22b933Srs# See the License for the specific language governing permissions 114b22b933Srs# and limitations under the License. 124b22b933Srs# 134b22b933Srs# When distributing Covered Code, include this CDDL HEADER in each 144b22b933Srs# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 154b22b933Srs# If applicable, add the following below this CDDL HEADER, with the 164b22b933Srs# fields enclosed by brackets "[]" replaced with your own identifying 174b22b933Srs# information: Portions Copyright [yyyy] [name of copyright owner] 184b22b933Srs# 194b22b933Srs# CDDL HEADER END 204b22b933Srs# 214b22b933Srs# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 224b22b933Srs# Use is subject to license terms. 234b22b933Srs# 244b22b933Srs 254b22b933SrsLIBRARY = libdns_sd.a 264b22b933SrsVERS = .1 274b22b933SrsOBJECTS = dnssd_clientlib.o dnssd_clientstub.o dnssd_ipc.o 284b22b933Srs 294b22b933Srsinclude ../../Makefile.lib 304b22b933Srs 314b22b933SrsLIBS = $(DYNLIB) $(LINTLIB) 324b22b933Srs$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC) 334b22b933Srs 344b22b933SrsSRCDIR = ../common 354b22b933Srs 364b22b933SrsLDLIBS += -lsocket -lc 374b22b933Srs 384b22b933SrsC99MODE = $(C99_ENABLE) 394b22b933SrsCPPFLAGS += -I$(SRCDIR) -DNOT_HAVE_SA_LEN 404b22b933Srs 41*7014882cSRichard LoweCERRWARN += -erroff=E_ASSIGNMENT_TYPE_MISMATCH 42*7014882cSRichard Lowe 43*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-implicit-function-declaration 44*7014882cSRichard Lowe 454b22b933Srs.PARALLEL = $(OBJECTS) 464b22b933Srs.KEEP_STATE: 474b22b933Srs 484b22b933Srslint: lintcheck 494b22b933Srs 504b22b933Srsall: $(LIBS) 514b22b933Srs 524b22b933Srsinclude ../../Makefile.targ 53