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 26 LIBRARY= libdyn.a 27 VERS= .1 28 29 DYNOBJS= \ 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 41 OBJECTS= $(DYNOBJS) 42 43 # include library definitions 44 include ../../Makefile.lib 45 46 SRCS= $(DYNOBJS:%.o=../%.c) 47 LIBS= $(DYNLIB) 48 49 include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5 50 51 52 #override liblink 53 INS.liblink= -$(RM) $@; $(SYMLINK) $(LIBLINKS)$(VERS) $@ 54 55 CPPFLAGS += -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 61 CFLAGS += $(CCVERBOSE) -I.. 62 LDLIBS += -lc 63 64 CERRWARN += -_gcc=-Wno-unused-variable 65 66 .KEEP_STATE: 67 68 all: $(LIBS) 69 70 lint: lintcheck 71 72 # include library targets 73 include ../../Makefile.targ 74 75 FRC: