1*7c478bd9Sstevel@tonic-gate# 2*7c478bd9Sstevel@tonic-gate# Copyright 2004 Sun Microsystems, Inc. All rights reserved. 3*7c478bd9Sstevel@tonic-gate# Use is subject to license terms. 4*7c478bd9Sstevel@tonic-gate# 5*7c478bd9Sstevel@tonic-gate# ident "%Z%%M% %I% %E% SMI" 6*7c478bd9Sstevel@tonic-gate# 7*7c478bd9Sstevel@tonic-gate# lib/krb5/ss/Makefile.com 8*7c478bd9Sstevel@tonic-gate# 9*7c478bd9Sstevel@tonic-gate 10*7c478bd9Sstevel@tonic-gateLIBRARY= libss.a 11*7c478bd9Sstevel@tonic-gateVERS= .1 12*7c478bd9Sstevel@tonic-gate 13*7c478bd9Sstevel@tonic-gateSSOBJS= \ 14*7c478bd9Sstevel@tonic-gate data.o \ 15*7c478bd9Sstevel@tonic-gate error.o \ 16*7c478bd9Sstevel@tonic-gate execute_cmd.o \ 17*7c478bd9Sstevel@tonic-gate help.o \ 18*7c478bd9Sstevel@tonic-gate invocation.o \ 19*7c478bd9Sstevel@tonic-gate list_rqs.o \ 20*7c478bd9Sstevel@tonic-gate listen.o \ 21*7c478bd9Sstevel@tonic-gate pager.o \ 22*7c478bd9Sstevel@tonic-gate parse.o \ 23*7c478bd9Sstevel@tonic-gate prompt.o \ 24*7c478bd9Sstevel@tonic-gate request_tbl.o \ 25*7c478bd9Sstevel@tonic-gate requests.o \ 26*7c478bd9Sstevel@tonic-gate std_rqs.o 27*7c478bd9Sstevel@tonic-gate 28*7c478bd9Sstevel@tonic-gateOBJECTS= $(SSOBJS) 29*7c478bd9Sstevel@tonic-gate 30*7c478bd9Sstevel@tonic-gate# include library definitions 31*7c478bd9Sstevel@tonic-gateinclude ../../Makefile.lib 32*7c478bd9Sstevel@tonic-gate 33*7c478bd9Sstevel@tonic-gateSRCS= $(SSOBJS:%.o=../%.c) 34*7c478bd9Sstevel@tonic-gate 35*7c478bd9Sstevel@tonic-gateLIBS= $(DYNLIB) 36*7c478bd9Sstevel@tonic-gate 37*7c478bd9Sstevel@tonic-gateinclude $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5 38*7c478bd9Sstevel@tonic-gate 39*7c478bd9Sstevel@tonic-gate#override liblink 40*7c478bd9Sstevel@tonic-gateINS.liblink= -$(RM) $@; $(SYMLINK) $(LIBLINKS)$(VERS) $@ 41*7c478bd9Sstevel@tonic-gate 42*7c478bd9Sstevel@tonic-gateCPPFLAGS += -DHAVE_LIBSOCKET=1 -DHAVE_LIBNSL=1 -DHAS_STRDUP=1 \ 43*7c478bd9Sstevel@tonic-gate -DUSE_DIRENT_H=1 -DWAIT_USES_INT=1 -DPOSIX_SIGNALS=1 \ 44*7c478bd9Sstevel@tonic-gate -D_REENTRANT -DUSE_SIGPROCMASK=1 -DRETSIGTYPE=void \ 45*7c478bd9Sstevel@tonic-gate -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_COMPILE=1 \ 46*7c478bd9Sstevel@tonic-gate -DHAVE_UNISTD_H=1 -DHAVE_UMASK=1 -DHAVE_SRAND48=1 \ 47*7c478bd9Sstevel@tonic-gate -DHAVESRAND=1 -DHAVESRANDOM=1 -DHAVE_RE_COMP=1 \ 48*7c478bd9Sstevel@tonic-gate -DHAVE_RE_EXEC=1 -DHAVE_REGCOMP=1 -DHAVE_REGEXEC=1 \ 49*7c478bd9Sstevel@tonic-gate -I$(SRC)/lib/gss_mechs/mech_krb5/include \ 50*7c478bd9Sstevel@tonic-gate -I$(SRC)/lib/krb5 51*7c478bd9Sstevel@tonic-gate 52*7c478bd9Sstevel@tonic-gateCFLAGS += $(CCVERBOSE) -I.. 53*7c478bd9Sstevel@tonic-gate 54*7c478bd9Sstevel@tonic-gateDYNFLAGS += $(KRUNPATH) $(KMECHLIB) 55*7c478bd9Sstevel@tonic-gate 56*7c478bd9Sstevel@tonic-gateLDLIBS += -lc 57*7c478bd9Sstevel@tonic-gate 58*7c478bd9Sstevel@tonic-gate$(PICS) := CFLAGS += $(XFFLAG) 59*7c478bd9Sstevel@tonic-gate 60*7c478bd9Sstevel@tonic-gate.KEEP_STATE: 61*7c478bd9Sstevel@tonic-gate 62*7c478bd9Sstevel@tonic-gateall: $(LIBS) 63*7c478bd9Sstevel@tonic-gate 64*7c478bd9Sstevel@tonic-gatelint: lintcheck 65*7c478bd9Sstevel@tonic-gate 66*7c478bd9Sstevel@tonic-gate$(DYNLIB): $(MAPFILE) 67*7c478bd9Sstevel@tonic-gate 68*7c478bd9Sstevel@tonic-gate$(MAPFILE): 69*7c478bd9Sstevel@tonic-gate @cd $(MAPDIR); $(MAKE) mapfile 70*7c478bd9Sstevel@tonic-gate 71*7c478bd9Sstevel@tonic-gate# include library targets 72*7c478bd9Sstevel@tonic-gateinclude ../../Makefile.targ 73