xref: /titanic_41/usr/src/lib/krb5/dyn/Makefile.com (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
17c478bd9Sstevel@tonic-gate#
2f808c858Sraf# CDDL HEADER START
3f808c858Sraf#
4f808c858Sraf# The contents of this file are subject to the terms of the
5f808c858Sraf# Common Development and Distribution License (the "License").
6f808c858Sraf# You may not use this file except in compliance with the License.
7f808c858Sraf#
8f808c858Sraf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9f808c858Sraf# or http://www.opensolaris.org/os/licensing.
10f808c858Sraf# See the License for the specific language governing permissions
11f808c858Sraf# and limitations under the License.
12f808c858Sraf#
13f808c858Sraf# When distributing Covered Code, include this CDDL HEADER in each
14f808c858Sraf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15f808c858Sraf# If applicable, add the following below this CDDL HEADER, with the
16f808c858Sraf# fields enclosed by brackets "[]" replaced with your own identifying
17f808c858Sraf# information: Portions Copyright [yyyy] [name of copyright owner]
18f808c858Sraf#
19f808c858Sraf# CDDL HEADER END
20f808c858Sraf#
21f808c858Sraf#
22f808c858Sraf# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
237c478bd9Sstevel@tonic-gate# Use is subject to license terms.
247c478bd9Sstevel@tonic-gate#
257c478bd9Sstevel@tonic-gate
267c478bd9Sstevel@tonic-gateLIBRARY= libdyn.a
277c478bd9Sstevel@tonic-gateVERS= .1
287c478bd9Sstevel@tonic-gate
297c478bd9Sstevel@tonic-gateDYNOBJS= \
307c478bd9Sstevel@tonic-gate	dyn_create.o \
317c478bd9Sstevel@tonic-gate        dyn_put.o \
327c478bd9Sstevel@tonic-gate        dyn_debug.o \
337c478bd9Sstevel@tonic-gate        dyn_delete.o \
347c478bd9Sstevel@tonic-gate        dyn_size.o \
357c478bd9Sstevel@tonic-gate        dyn_append.o \
367c478bd9Sstevel@tonic-gate        dyn_realloc.o \
377c478bd9Sstevel@tonic-gate        dyn_paranoid.o \
387c478bd9Sstevel@tonic-gate        dyn_insert.o \
397c478bd9Sstevel@tonic-gate        dyn_initzero.o
407c478bd9Sstevel@tonic-gate
417c478bd9Sstevel@tonic-gateOBJECTS= $(DYNOBJS)
427c478bd9Sstevel@tonic-gate
437c478bd9Sstevel@tonic-gate# include library definitions
447c478bd9Sstevel@tonic-gateinclude ../../Makefile.lib
457c478bd9Sstevel@tonic-gate
467c478bd9Sstevel@tonic-gateSRCS=	$(DYNOBJS:%.o=../%.c)
477c478bd9Sstevel@tonic-gateLIBS=		$(DYNLIB)
487c478bd9Sstevel@tonic-gate
497c478bd9Sstevel@tonic-gateinclude $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
507c478bd9Sstevel@tonic-gate
517c478bd9Sstevel@tonic-gate
527c478bd9Sstevel@tonic-gate#override liblink
537c478bd9Sstevel@tonic-gateINS.liblink=	-$(RM) $@; $(SYMLINK) $(LIBLINKS)$(VERS) $@
547c478bd9Sstevel@tonic-gate
557c478bd9Sstevel@tonic-gateCPPFLAGS +=     -D_REENTRANT -DHAVE_LIBSOCKET=1 -DHAVE_LIBNSL=1 \
567c478bd9Sstevel@tonic-gate		-DHAVE_UNISTD_H=1 -DHAVE_UMASK=1 -DHAVE_SRAND48=1 \
577c478bd9Sstevel@tonic-gate		-DHAVESRAND=1 -DHAVESRANDOM=1 -DHAVE_RE_COMP=1 \
587c478bd9Sstevel@tonic-gate		-DHAVE_RE_EXEC=1 -DHAVE_REGCOMP=1 -DHAVE_REGEXEC=1 \
597c478bd9Sstevel@tonic-gate		-DHAVE_COMPILE=1
607c478bd9Sstevel@tonic-gate
617c478bd9Sstevel@tonic-gateCFLAGS +=	$(CCVERBOSE) -I..
627c478bd9Sstevel@tonic-gateLDLIBS +=	-lc
637c478bd9Sstevel@tonic-gate
64*7014882cSRichard LoweCERRWARN +=	-_gcc=-Wno-unused-variable
65*7014882cSRichard Lowe
667c478bd9Sstevel@tonic-gate.KEEP_STATE:
677c478bd9Sstevel@tonic-gate
687c478bd9Sstevel@tonic-gateall:	$(LIBS)
697c478bd9Sstevel@tonic-gate
707c478bd9Sstevel@tonic-gatelint:	lintcheck
717c478bd9Sstevel@tonic-gate
727c478bd9Sstevel@tonic-gate# include library targets
737c478bd9Sstevel@tonic-gateinclude ../../Makefile.targ
747c478bd9Sstevel@tonic-gate
757c478bd9Sstevel@tonic-gateFRC:
76