xref: /titanic_52/usr/src/lib/libdns_sd/Makefile.com (revision 5ffb0c9b03b5149ff4f5821a62be4a52408ada2a)
14b22b933Srs200217#
24b22b933Srs200217# CDDL HEADER START
34b22b933Srs200217#
44b22b933Srs200217# The contents of this file are subject to the terms of the
54b22b933Srs200217# Common Development and Distribution License (the "License").
64b22b933Srs200217# You may not use this file except in compliance with the License.
74b22b933Srs200217#
84b22b933Srs200217# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
94b22b933Srs200217# or http://www.opensolaris.org/os/licensing.
104b22b933Srs200217# See the License for the specific language governing permissions
114b22b933Srs200217# and limitations under the License.
124b22b933Srs200217#
134b22b933Srs200217# When distributing Covered Code, include this CDDL HEADER in each
144b22b933Srs200217# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
154b22b933Srs200217# If applicable, add the following below this CDDL HEADER, with the
164b22b933Srs200217# fields enclosed by brackets "[]" replaced with your own identifying
174b22b933Srs200217# information: Portions Copyright [yyyy] [name of copyright owner]
184b22b933Srs200217#
194b22b933Srs200217# CDDL HEADER END
204b22b933Srs200217#
214b22b933Srs200217# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
224b22b933Srs200217# Use is subject to license terms.
23*5ffb0c9bSToomas Soome# Copyright 2016 Toomas Soome <tsoome@me.com>
244b22b933Srs200217#
254b22b933Srs200217
264b22b933Srs200217LIBRARY =	libdns_sd.a
274b22b933Srs200217VERS =		.1
284b22b933Srs200217OBJECTS =	dnssd_clientlib.o dnssd_clientstub.o dnssd_ipc.o
294b22b933Srs200217
304b22b933Srs200217include ../../Makefile.lib
314b22b933Srs200217
324b22b933Srs200217LIBS =		$(DYNLIB) $(LINTLIB)
334b22b933Srs200217$(LINTLIB):=    SRCS = $(SRCDIR)/$(LINTSRC)
344b22b933Srs200217
354b22b933Srs200217SRCDIR =	../common
364b22b933Srs200217
37*5ffb0c9bSToomas SoomeLDLIBS +=	-lsocket -lnsl -lc
384b22b933Srs200217
394b22b933Srs200217C99MODE =	$(C99_ENABLE)
40*5ffb0c9bSToomas SoomeCPPFLAGS +=	-I$(SRCDIR) -DNOT_HAVE_SA_LEN -D_XPG4_2 -D__EXTENSIONS__
417014882cSRichard Lowe
424b22b933Srs200217.PARALLEL =     $(OBJECTS)
434b22b933Srs200217.KEEP_STATE:
444b22b933Srs200217
454b22b933Srs200217lint: lintcheck
464b22b933Srs200217
474b22b933Srs200217all: $(LIBS)
484b22b933Srs200217
494b22b933Srs200217include ../../Makefile.targ
50