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/ss/Makefile.com 8# 9 10LIBRARY= libss.a 11VERS= .1 12 13SSOBJS= \ 14 data.o \ 15 error.o \ 16 execute_cmd.o \ 17 help.o \ 18 invocation.o \ 19 list_rqs.o \ 20 listen.o \ 21 pager.o \ 22 parse.o \ 23 prompt.o \ 24 request_tbl.o \ 25 requests.o \ 26 std_rqs.o 27 28OBJECTS= $(SSOBJS) 29 30# include library definitions 31include ../../Makefile.lib 32 33SRCS= $(SSOBJS:%.o=../%.c) 34 35LIBS= $(DYNLIB) 36 37include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5 38 39#override liblink 40INS.liblink= -$(RM) $@; $(SYMLINK) $(LIBLINKS)$(VERS) $@ 41 42CPPFLAGS += -DHAVE_LIBSOCKET=1 -DHAVE_LIBNSL=1 -DHAS_STRDUP=1 \ 43 -DUSE_DIRENT_H=1 -DWAIT_USES_INT=1 -DPOSIX_SIGNALS=1 \ 44 -D_REENTRANT -DUSE_SIGPROCMASK=1 -DRETSIGTYPE=void \ 45 -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_COMPILE=1 \ 46 -DHAVE_UNISTD_H=1 -DHAVE_UMASK=1 -DHAVE_SRAND48=1 \ 47 -DHAVESRAND=1 -DHAVESRANDOM=1 -DHAVE_RE_COMP=1 \ 48 -DHAVE_RE_EXEC=1 -DHAVE_REGCOMP=1 -DHAVE_REGEXEC=1 \ 49 -I$(SRC)/lib/gss_mechs/mech_krb5/include \ 50 -I$(SRC)/lib/krb5 51 52CFLAGS += $(CCVERBOSE) -I.. 53 54DYNFLAGS += $(KRUNPATH) $(KMECHLIB) 55 56LDLIBS += -lc 57 58$(PICS) := CFLAGS += $(XFFLAG) 59 60.KEEP_STATE: 61 62all: $(LIBS) 63 64lint: lintcheck 65 66$(DYNLIB): $(MAPFILE) 67 68$(MAPFILE): 69 @cd $(MAPDIR); $(MAKE) mapfile 70 71# include library targets 72include ../../Makefile.targ 73