17c478bd9Sstevel@tonic-gate# 2*f808c858Sraf# CDDL HEADER START 3*f808c858Sraf# 4*f808c858Sraf# The contents of this file are subject to the terms of the 5*f808c858Sraf# Common Development and Distribution License (the "License"). 6*f808c858Sraf# You may not use this file except in compliance with the License. 7*f808c858Sraf# 8*f808c858Sraf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*f808c858Sraf# or http://www.opensolaris.org/os/licensing. 10*f808c858Sraf# See the License for the specific language governing permissions 11*f808c858Sraf# and limitations under the License. 12*f808c858Sraf# 13*f808c858Sraf# When distributing Covered Code, include this CDDL HEADER in each 14*f808c858Sraf# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*f808c858Sraf# If applicable, add the following below this CDDL HEADER, with the 16*f808c858Sraf# fields enclosed by brackets "[]" replaced with your own identifying 17*f808c858Sraf# information: Portions Copyright [yyyy] [name of copyright owner] 18*f808c858Sraf# 19*f808c858Sraf# CDDL HEADER END 20*f808c858Sraf# 21*f808c858Sraf# 22*f808c858Sraf# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 237c478bd9Sstevel@tonic-gate# Use is subject to license terms. 247c478bd9Sstevel@tonic-gate# 257c478bd9Sstevel@tonic-gate# ident "%Z%%M% %I% %E% SMI" 267c478bd9Sstevel@tonic-gate# 277c478bd9Sstevel@tonic-gate 287c478bd9Sstevel@tonic-gateLIBRARY= libss.a 297c478bd9Sstevel@tonic-gateVERS= .1 307c478bd9Sstevel@tonic-gate 317c478bd9Sstevel@tonic-gateSSOBJS= \ 327c478bd9Sstevel@tonic-gate data.o \ 337c478bd9Sstevel@tonic-gate error.o \ 347c478bd9Sstevel@tonic-gate execute_cmd.o \ 357c478bd9Sstevel@tonic-gate help.o \ 367c478bd9Sstevel@tonic-gate invocation.o \ 377c478bd9Sstevel@tonic-gate list_rqs.o \ 387c478bd9Sstevel@tonic-gate listen.o \ 397c478bd9Sstevel@tonic-gate pager.o \ 407c478bd9Sstevel@tonic-gate parse.o \ 417c478bd9Sstevel@tonic-gate prompt.o \ 427c478bd9Sstevel@tonic-gate request_tbl.o \ 437c478bd9Sstevel@tonic-gate requests.o \ 447c478bd9Sstevel@tonic-gate std_rqs.o 457c478bd9Sstevel@tonic-gate 467c478bd9Sstevel@tonic-gateOBJECTS= $(SSOBJS) 477c478bd9Sstevel@tonic-gate 487c478bd9Sstevel@tonic-gate# include library definitions 497c478bd9Sstevel@tonic-gateinclude ../../Makefile.lib 507c478bd9Sstevel@tonic-gate 517c478bd9Sstevel@tonic-gateSRCS= $(SSOBJS:%.o=../%.c) 527c478bd9Sstevel@tonic-gate 537c478bd9Sstevel@tonic-gateLIBS= $(DYNLIB) 547c478bd9Sstevel@tonic-gate 557c478bd9Sstevel@tonic-gateinclude $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5 567c478bd9Sstevel@tonic-gate 577c478bd9Sstevel@tonic-gate#override liblink 587c478bd9Sstevel@tonic-gateINS.liblink= -$(RM) $@; $(SYMLINK) $(LIBLINKS)$(VERS) $@ 597c478bd9Sstevel@tonic-gate 607c478bd9Sstevel@tonic-gateCPPFLAGS += -DHAVE_LIBSOCKET=1 -DHAVE_LIBNSL=1 -DHAS_STRDUP=1 \ 617c478bd9Sstevel@tonic-gate -DUSE_DIRENT_H=1 -DWAIT_USES_INT=1 -DPOSIX_SIGNALS=1 \ 627c478bd9Sstevel@tonic-gate -D_REENTRANT -DUSE_SIGPROCMASK=1 -DRETSIGTYPE=void \ 637c478bd9Sstevel@tonic-gate -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_COMPILE=1 \ 647c478bd9Sstevel@tonic-gate -DHAVE_UNISTD_H=1 -DHAVE_UMASK=1 -DHAVE_SRAND48=1 \ 657c478bd9Sstevel@tonic-gate -DHAVESRAND=1 -DHAVESRANDOM=1 -DHAVE_RE_COMP=1 \ 667c478bd9Sstevel@tonic-gate -DHAVE_RE_EXEC=1 -DHAVE_REGCOMP=1 -DHAVE_REGEXEC=1 \ 677c478bd9Sstevel@tonic-gate -I$(SRC)/lib/gss_mechs/mech_krb5/include \ 687c478bd9Sstevel@tonic-gate -I$(SRC)/lib/krb5 697c478bd9Sstevel@tonic-gate 707c478bd9Sstevel@tonic-gateCFLAGS += $(CCVERBOSE) -I.. 717c478bd9Sstevel@tonic-gate 727c478bd9Sstevel@tonic-gateDYNFLAGS += $(KRUNPATH) $(KMECHLIB) 737c478bd9Sstevel@tonic-gate 747c478bd9Sstevel@tonic-gateLDLIBS += -lc 757c478bd9Sstevel@tonic-gate 767c478bd9Sstevel@tonic-gate$(PICS) := CFLAGS += $(XFFLAG) 777c478bd9Sstevel@tonic-gate 787c478bd9Sstevel@tonic-gate.KEEP_STATE: 797c478bd9Sstevel@tonic-gate 807c478bd9Sstevel@tonic-gateall: $(LIBS) 817c478bd9Sstevel@tonic-gate 827c478bd9Sstevel@tonic-gatelint: lintcheck 837c478bd9Sstevel@tonic-gate 847c478bd9Sstevel@tonic-gate# include library targets 857c478bd9Sstevel@tonic-gateinclude ../../Makefile.targ 86