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