xref: /titanic_52/usr/src/lib/krb5/dyn/Makefile.com (revision 494f7e12a62129ef191a15f9dfde6b7abe3bf510)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25
26LIBRARY= libdyn.a
27VERS= .1
28
29DYNOBJS= \
30	dyn_create.o \
31        dyn_put.o \
32        dyn_debug.o \
33        dyn_delete.o \
34        dyn_size.o \
35        dyn_append.o \
36        dyn_realloc.o \
37        dyn_paranoid.o \
38        dyn_insert.o \
39        dyn_initzero.o
40
41OBJECTS= $(DYNOBJS)
42
43# include library definitions
44include ../../Makefile.lib
45
46SRCS=	$(DYNOBJS:%.o=../%.c)
47LIBS=		$(DYNLIB)
48
49include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
50
51
52#override liblink
53INS.liblink=	-$(RM) $@; $(SYMLINK) $(LIBLINKS)$(VERS) $@
54
55CPPFLAGS +=     -D_REENTRANT -DHAVE_LIBSOCKET=1 -DHAVE_LIBNSL=1 \
56		-DHAVE_UNISTD_H=1 -DHAVE_UMASK=1 -DHAVE_SRAND48=1 \
57		-DHAVESRAND=1 -DHAVESRANDOM=1 -DHAVE_RE_COMP=1 \
58		-DHAVE_RE_EXEC=1 -DHAVE_REGCOMP=1 -DHAVE_REGEXEC=1 \
59		-DHAVE_COMPILE=1
60
61CFLAGS +=	$(CCVERBOSE) -I..
62LDLIBS +=	-lc
63
64CERRWARN +=	-_gcc=-Wno-unused-variable
65
66.KEEP_STATE:
67
68all:	$(LIBS)
69
70lint:	lintcheck
71
72# include library targets
73include ../../Makefile.targ
74
75FRC:
76