Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
178N/A#
178N/A# CDDL HEADER START
178N/A#
178N/A# The contents of this file are subject to the terms of the
178N/A# Common Development and Distribution License, Version 1.0 only
178N/A# (the "License"). You may not use this file except in compliance
178N/A# with the License.
178N/A#
178N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
178N/A# or http://www.opensolaris.org/os/licensing.
178N/A# See the License for the specific language governing permissions
178N/A# and limitations under the License.
178N/A#
178N/A# When distributing Covered Code, include this CDDL HEADER in each
178N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
178N/A# If applicable, add the following below this CDDL HEADER, with the
178N/A# fields enclosed by brackets "[]" replaced with your own identifying
178N/A# information: Portions Copyright [yyyy] [name of copyright owner]
178N/A#
178N/A# CDDL HEADER END
178N/A#
178N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
# cmd/ssh/scp/Makefile
PROG= scp
OBJS = \
scp.o
SRCS = $(OBJS:.o=.c)
include ../../Makefile.cmd
include ../Makefile.ssh-common
LDLIBS += $(SSH_COMMON_LDLIBS) -lsocket
POFILE_DIR= ..
.KEEP_STATE:
.PARALLEL: $(OBJS)
all: $(PROG)
$(PROG): $(OBJS) ../libssh/$(MACH)/libssh.a ../libopenbsd-compat/$(MACH)/libopenbsd-compat.a
$(LINK.c) $(OBJS) -o $@ $(LDLIBS)
$(POST_PROCESS)
install: all $(ROOTPROG)
clean:
$(RM) -f $(OBJS) $(PROG)
lint: lint_SRCS
include ../Makefile.msg.targ
include ../../Makefile.targ