Makefile revision 06e1a7147edd272b7296f208141627a5b1191731
70N/A#
70N/A# CDDL HEADER START
1104N/A#
70N/A# The contents of this file are subject to the terms of the
70N/A# Common Development and Distribution License (the "License").
919N/A# You may not use this file except in compliance with the License.
919N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
70N/A# Use is subject to license terms.
70N/A#
70N/A# ident "%Z%%M% %I% %E% SMI"
70N/A#
851N/A# cmd/ssh/sshd/Makefile
851N/A
851N/APROG= sshd
851N/A
851N/ADIRS= $(ROOTLIBSSH)
98N/A
551N/AOBJS = sshd.o \
321N/A altprivsep.o \
321N/A auth.o \
550N/A auth1.o \
550N/A auth2.o \
213N/A auth-options.o \
649N/A auth2-chall.o \
304N/A auth2-gss.o \
530N/A auth2-hostbased.o \
425N/A auth2-kbdint.o \
425N/A auth2-none.o \
325N/A auth2-passwd.o \
493N/A auth2-pam.o \
536N/A auth2-pubkey.o \
456N/A auth-bsdauth.o \
320N/A auth-chall.o \
332N/A auth-rhosts.o \
501N/A auth-krb4.o \
231N/A auth-krb5.o \
550N/A auth-pam.o \
347N/A auth-passwd.o \
532N/A auth-rsa.o \
463N/A auth-rh-rsa.o \
493N/A auth-sia.o \
425N/A auth-skey.o \
493N/A bsmaudit.o \
791N/A groupaccess.o \
472N/A gss-serv.o \
324N/A loginrec.o \
347N/A md5crypt.o \
310N/A monitor.o \
316N/A monitor_mm.o \
474N/A servconf.o \
290N/A serverloop.o \
332N/A session.o \
464N/A sshlogin.o \
332N/A sshpty.o
509N/ASRCS = $(OBJS:.o=.c)
835N/A
835N/Ainclude ../../Makefile.cmd
332N/Ainclude ../Makefile.ssh-common
210N/A
493N/ALDLIBS += $(SSH_COMMON_LDLIBS) -lsocket \
792N/A -lnsl \
128N/A -lz \
414N/A -lpam \
484N/A -lbsm \
326N/A -L$(ROOTSFWLIB) -lwrap \
493N/A $(OPENSSL_LDFLAGS) -lcrypto \
335N/A -lgss \
493N/A -lcontract
493N/A
729N/ADYNFLAGS += $(OPENSSL_DYNFLAGS) $(C99_DISABLE)
425N/A
370N/APOFILE_DIR= ..
70N/A
400N/ACPPFLAGS += -I$(ROOTSFWINCLUDE)
294N/A
435N/A.KEEP_STATE:
800N/A
98N/A.PARALLEL: $(OBJS)
434N/A
505N/Aall: $(PROG)
277N/A
433N/A$(PROG): $(OBJS) ../libssh/$(MACH)/libssh.a ../libopenbsd-compat/$(MACH)/libopenbsd-compat.a
546N/A $(LINK.c) $(OBJS) -o $@ $(LDLIBS) $(DYNFLAGS)
356N/A $(POST_PROCESS)
289N/A
326N/Ainstall: all $(DIRS) $(ROOTLIBSSHPROG) $(ROOTLIBSSH)
439N/A
501N/A
469N/A$(ROOTLIBSSHPROG)/%: %
290N/A $(INS.file)
542N/A
424N/A$(DIRS):
286N/A $(INS.dir)
90N/A
475N/Aclean:
295N/A $(RM) -f $(OBJS) $(PROG)
70N/A
299N/Alint: lint_SRCS
262N/A
455N/Ainclude ../Makefile.msg.targ
539N/Ainclude ../../Makefile.targ
277N/A