Makefile revision 24da5b34f49324ed742a340010ed5bd3d4e06625
0N/A#
2362N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
2362N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2362N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
0N/A# CDDL HEADER END
0N/A#
2362N/A#
2362N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
2362N/A# Use is subject to license terms.
0N/A#
0N/A# ident "%Z%%M% %I% %E% SMI"
0N/A#
0N/A# cmd/ssh/sshd/Makefile
0N/A
0N/APROG= sshd
0N/A
0N/ADIRS= $(ROOTLIBSSH)
0N/A
0N/AOBJS = sshd.o \
0N/A altprivsep.o \
0N/A auth.o \
0N/A auth1.o \
0N/A auth2.o \
0N/A auth-options.o \
0N/A auth2-chall.o \
0N/A auth2-gss.o \
0N/A auth2-hostbased.o \
0N/A auth2-kbdint.o \
0N/A auth2-none.o \
0N/A auth2-passwd.o \
0N/A auth2-pam.o \
0N/A auth2-pubkey.o \
0N/A auth-bsdauth.o \
0N/A auth-chall.o \
0N/A auth-rhosts.o \
0N/A auth-krb4.o \
0N/A auth-krb5.o \
0N/A auth-pam.o \
0N/A auth-passwd.o \
0N/A auth-rsa.o \
0N/A auth-rh-rsa.o \
0N/A auth-sia.o \
0N/A auth-skey.o \
0N/A bsmaudit.o \
0N/A groupaccess.o \
0N/A gss-serv.o \
0N/A loginrec.o \
0N/A md5crypt.o \
1686N/A monitor.o \
0N/A monitor_mm.o \
1686N/A servconf.o \
0N/A serverloop.o \
0N/A session.o \
0N/A sshlogin.o \
0N/A sshpty.o
0N/ASRCS = $(OBJS:.o=.c)
0N/A
0N/Ainclude ../../Makefile.cmd
0N/Ainclude ../Makefile.ssh-common
0N/A
0N/ALDLIBS += $(SSH_COMMON_LDLIBS) -lsocket \
0N/A -lnsl \
0N/A -lz \
0N/A -lpam \
0N/A -lbsm \
0N/A -L$(ROOTSFWLIB) -lwrap \
0N/A $(OPENSSL_LDFLAGS) -lcrypto \
0N/A -lgss \
0N/A -lcontract
0N/AMAPFILES = $(MAPFILE.INT) $(MAPFILE.NGB)
1686N/ALDFLAGS += $(MAPFILES:%=-M%)
1686N/A
0N/ADYNFLAGS += $(OPENSSL_DYNFLAGS) $(C99_DISABLE)
0N/A
0N/APOFILE_DIR= ..
0N/A
0N/ACPPFLAGS += -I$(ROOTSFWINCLUDE)
0N/A
0N/A.KEEP_STATE:
0N/A
0N/A.PARALLEL: $(OBJS)
0N/A
0N/Aall: $(PROG)
0N/A
0N/A$(PROG): $(OBJS) $(MAPFILES) ../libssh/$(MACH)/libssh.a \
1686N/A ../libopenbsd-compat/$(MACH)/libopenbsd-compat.a
1686N/A $(LINK.c) $(OBJS) -o $@ $(LDLIBS) $(DYNFLAGS)
0N/A $(POST_PROCESS)
0N/A
1686N/Ainstall: all $(DIRS) $(ROOTLIBSSHPROG) $(ROOTLIBSSH)
0N/A
0N/A
0N/A$(ROOTLIBSSHPROG)/%: %
0N/A $(INS.file)
0N/A
0N/A$(DIRS):
0N/A $(INS.dir)
0N/A
0N/Aclean:
0N/A $(RM) -f $(OBJS) $(PROG)
0N/A
0N/Alint: lint_SRCS
0N/A
0N/Ainclude ../Makefile.msg.targ
0N/Ainclude ../../Makefile.targ
0N/A