1# 2# Copyright 2004 Sun Microsystems, Inc. All rights reserved. 3# Use is subject to license terms. 4# 5# ident "%Z%%M% %I% %E% SMI" 6# 7# lib/krb5/dyn/Makefile.com 8# 9 10LIBRARY= libdyn.a 11VERS= .1 12 13DYNOBJS= \ 14 dyn_create.o \ 15 dyn_put.o \ 16 dyn_debug.o \ 17 dyn_delete.o \ 18 dyn_size.o \ 19 dyn_append.o \ 20 dyn_realloc.o \ 21 dyn_paranoid.o \ 22 dyn_insert.o \ 23 dyn_initzero.o 24 25OBJECTS= $(DYNOBJS) 26 27# include library definitions 28include ../../Makefile.lib 29 30SRCS= $(DYNOBJS:%.o=../%.c) 31LIBS= $(DYNLIB) 32 33include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5 34 35 36#override liblink 37INS.liblink= -$(RM) $@; $(SYMLINK) $(LIBLINKS)$(VERS) $@ 38 39CPPFLAGS += -D_REENTRANT -DHAVE_LIBSOCKET=1 -DHAVE_LIBNSL=1 \ 40 -DHAVE_UNISTD_H=1 -DHAVE_UMASK=1 -DHAVE_SRAND48=1 \ 41 -DHAVESRAND=1 -DHAVESRANDOM=1 -DHAVE_RE_COMP=1 \ 42 -DHAVE_RE_EXEC=1 -DHAVE_REGCOMP=1 -DHAVE_REGEXEC=1 \ 43 -DHAVE_COMPILE=1 44 45CFLAGS += $(CCVERBOSE) -I.. 46LDLIBS += -lc 47 48.KEEP_STATE: 49 50all: $(LIBS) 51 52lint: lintcheck 53 54$(DYNLIB): $(MAPFILE) 55 56$(MAPFILE): 57 @cd $(MAPDIR); $(MAKE) mapfile 58 59# include library targets 60include ../../Makefile.targ 61 62FRC: 63