xref: /titanic_51/usr/src/lib/libdns_sd/java/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#
22*4b22b933Srs200217# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23*4b22b933Srs200217# Use is subject to license terms.
24*4b22b933Srs200217#
25*4b22b933Srs200217#ident	"%Z%%M%	%I%	%E% SMI"
26*4b22b933Srs200217
27*4b22b933Srs200217LIBRARY=	libjdns_sd.a
28*4b22b933Srs200217VERS=		.1
29*4b22b933Srs200217
30*4b22b933Srs200217OBJECTS=	JNISupport.o
31*4b22b933Srs200217
32*4b22b933Srs200217include		$(SRC)/lib/Makefile.lib
33*4b22b933Srs200217
34*4b22b933Srs200217LIBS =		$(DYNLIB)
35*4b22b933Srs200217
36*4b22b933Srs200217SRCDIR =	../common
37*4b22b933Srs200217
38*4b22b933Srs200217C99MODE =       $(C99_ENABLE)
39*4b22b933Srs200217CPPFLAGS +=	-I$(JAVA_ROOT)/include -I$(JAVA_ROOT)/include/solaris
40*4b22b933Srs200217CPPFLAGS +=	-I../com/apple/dnssd
41*4b22b933Srs200217CPPFLAGS +=	-D_REENTRANT
42*4b22b933Srs200217
43*4b22b933Srs200217LDLIBS +=	-lc -lsocket -ldns_sd
44*4b22b933Srs200217
45*4b22b933Srs200217CLEANFILES=	$(LINTOUT) $(LINTLIB)
46*4b22b933Srs200217
47*4b22b933Srs200217LINTLIB =
48*4b22b933Srs200217
49*4b22b933Srs200217.KEEP_STATE:
50*4b22b933Srs200217
51*4b22b933Srs200217lint:		lintcheck
52*4b22b933Srs200217
53*4b22b933Srs200217include		$(SRC)/lib/Makefile.targ
54*4b22b933Srs200217
55*4b22b933Srs200217pics/%.o: ../common/%.c
56*4b22b933Srs200217	$(COMPILE.c) -o $@ $<
57*4b22b933Srs200217	$(POST_PROCESS_O)
58