xref: /onnv-gate/usr/src/lib/krb5/dyn/Makefile.com (revision 2522:79989c8fe091)
10Sstevel@tonic-gate#
2*2522Sraf# CDDL HEADER START
3*2522Sraf#
4*2522Sraf# The contents of this file are subject to the terms of the
5*2522Sraf# Common Development and Distribution License (the "License").
6*2522Sraf# You may not use this file except in compliance with the License.
7*2522Sraf#
8*2522Sraf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*2522Sraf# or http://www.opensolaris.org/os/licensing.
10*2522Sraf# See the License for the specific language governing permissions
11*2522Sraf# and limitations under the License.
12*2522Sraf#
13*2522Sraf# When distributing Covered Code, include this CDDL HEADER in each
14*2522Sraf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*2522Sraf# If applicable, add the following below this CDDL HEADER, with the
16*2522Sraf# fields enclosed by brackets "[]" replaced with your own identifying
17*2522Sraf# information: Portions Copyright [yyyy] [name of copyright owner]
18*2522Sraf#
19*2522Sraf# CDDL HEADER END
20*2522Sraf#
21*2522Sraf#
22*2522Sraf# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
230Sstevel@tonic-gate# Use is subject to license terms.
240Sstevel@tonic-gate#
250Sstevel@tonic-gate# ident	"%Z%%M%	%I%	%E% SMI"
260Sstevel@tonic-gate#
270Sstevel@tonic-gate
280Sstevel@tonic-gateLIBRARY= libdyn.a
290Sstevel@tonic-gateVERS= .1
300Sstevel@tonic-gate
310Sstevel@tonic-gateDYNOBJS= \
320Sstevel@tonic-gate	dyn_create.o \
330Sstevel@tonic-gate        dyn_put.o \
340Sstevel@tonic-gate        dyn_debug.o \
350Sstevel@tonic-gate        dyn_delete.o \
360Sstevel@tonic-gate        dyn_size.o \
370Sstevel@tonic-gate        dyn_append.o \
380Sstevel@tonic-gate        dyn_realloc.o \
390Sstevel@tonic-gate        dyn_paranoid.o \
400Sstevel@tonic-gate        dyn_insert.o \
410Sstevel@tonic-gate        dyn_initzero.o
420Sstevel@tonic-gate
430Sstevel@tonic-gateOBJECTS= $(DYNOBJS)
440Sstevel@tonic-gate
450Sstevel@tonic-gate# include library definitions
460Sstevel@tonic-gateinclude ../../Makefile.lib
470Sstevel@tonic-gate
480Sstevel@tonic-gateSRCS=	$(DYNOBJS:%.o=../%.c)
490Sstevel@tonic-gateLIBS=		$(DYNLIB)
500Sstevel@tonic-gate
510Sstevel@tonic-gateinclude $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
520Sstevel@tonic-gate
530Sstevel@tonic-gate
540Sstevel@tonic-gate#override liblink
550Sstevel@tonic-gateINS.liblink=	-$(RM) $@; $(SYMLINK) $(LIBLINKS)$(VERS) $@
560Sstevel@tonic-gate
570Sstevel@tonic-gateCPPFLAGS +=     -D_REENTRANT -DHAVE_LIBSOCKET=1 -DHAVE_LIBNSL=1 \
580Sstevel@tonic-gate		-DHAVE_UNISTD_H=1 -DHAVE_UMASK=1 -DHAVE_SRAND48=1 \
590Sstevel@tonic-gate		-DHAVESRAND=1 -DHAVESRANDOM=1 -DHAVE_RE_COMP=1 \
600Sstevel@tonic-gate		-DHAVE_RE_EXEC=1 -DHAVE_REGCOMP=1 -DHAVE_REGEXEC=1 \
610Sstevel@tonic-gate		-DHAVE_COMPILE=1
620Sstevel@tonic-gate
630Sstevel@tonic-gateCFLAGS +=	$(CCVERBOSE) -I..
640Sstevel@tonic-gateLDLIBS +=	-lc
650Sstevel@tonic-gate
660Sstevel@tonic-gate.KEEP_STATE:
670Sstevel@tonic-gate
680Sstevel@tonic-gateall:	$(LIBS)
690Sstevel@tonic-gate
700Sstevel@tonic-gatelint:	lintcheck
710Sstevel@tonic-gate
720Sstevel@tonic-gate# include library targets
730Sstevel@tonic-gateinclude ../../Makefile.targ
740Sstevel@tonic-gate
750Sstevel@tonic-gateFRC:
76