Makefile.com revision 22337b4b3c8a2b9db615e524e0e9e1fbd3dc71bf
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# CDDL HEADER START
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# The contents of this file are subject to the terms of the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Common Development and Distribution License (the "License").
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# You may not use this file except in compliance with the License.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# or http://www.opensolaris.org/os/licensing.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# See the License for the specific language governing permissions
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# and limitations under the License.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# When distributing Covered Code, include this CDDL HEADER in each
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# If applicable, add the following below this CDDL HEADER, with the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# fields enclosed by brackets "[]" replaced with your own identifying
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# information: Portions Copyright [yyyy] [name of copyright owner]
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# CDDL HEADER END
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan Wright# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
7b07063d906859b2be1e88791f801b3c96e432f6Igor Kozhukhov# Use is subject to license terms.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# ident "%Z%%M% %I% %E% SMI"
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan WrightLIBRARY= libss.a
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan WrightVERS= .1
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan Wright
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan WrightSSOBJS= \
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan Wright data.o \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw error.o \
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan Wright execute_cmd.o \
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan Wright help.o \
7b07063d906859b2be1e88791f801b3c96e432f6Igor Kozhukhov invocation.o \
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan Wright list_rqs.o \
listen.o \
pager.o \
parse.o \
prompt.o \
request_tbl.o \
requests.o \
std_rqs.o
OBJECTS= $(SSOBJS)
# include library definitions
include ../../Makefile.lib
SRCS= $(SSOBJS:%.o=../%.c)
LIBS= $(DYNLIB)
include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
#override liblink
INS.liblink= -$(RM) $@; $(SYMLINK) $(LIBLINKS)$(VERS) $@
CPPFLAGS += -DHAVE_LIBSOCKET=1 -DHAVE_LIBNSL=1 -DHAS_STRDUP=1 \
-DUSE_DIRENT_H=1 -DWAIT_USES_INT=1 -DPOSIX_SIGNALS=1 \
-D_REENTRANT -DUSE_SIGPROCMASK=1 -DRETSIGTYPE=void \
-DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_COMPILE=1 \
-DHAVE_UNISTD_H=1 -DHAVE_UMASK=1 -DHAVE_SRAND48=1 \
-DHAVESRAND=1 -DHAVESRANDOM=1 -DHAVE_RE_COMP=1 \
-DHAVE_RE_EXEC=1 -DHAVE_REGCOMP=1 -DHAVE_REGEXEC=1 \
-I$(SRC)/lib/gss_mechs/mech_krb5/include \
-I$(SRC)/lib/krb5
CFLAGS += $(CCVERBOSE) -I..
DYNFLAGS += $(KRUNPATH) $(KMECHLIB) $(ZIGNORE)
LDLIBS += -lc
$(PICS) := CFLAGS += $(XFFLAG)
.KEEP_STATE:
all: $(LIBS)
lint: lintcheck
# include library targets
include ../../Makefile.targ