Makefile revision 75614fd9696d97522ed7ed8009a66eb3544d61ad
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley#
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley# CDDL HEADER START
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley#
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley# The contents of this file are subject to the terms of the
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley# Common Development and Distribution License (the "License").
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley# You may not use this file except in compliance with the License.
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley#
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley# or http://www.opensolaris.org/os/licensing.
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley# See the License for the specific language governing permissions
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley# and limitations under the License.
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley#
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley# When distributing Covered Code, include this CDDL HEADER in each
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley# If applicable, add the following below this CDDL HEADER, with the
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley# fields enclosed by brackets "[]" replaced with your own identifying
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley# information: Portions Copyright [yyyy] [name of copyright owner]
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley#
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley# CDDL HEADER END
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley#
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley# Use is subject to license terms.
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley#
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob HalleyMANIFEST = ssh.xml
440be4c866f6935ac069db79a414304507a664c2Michael GraffSVCMETHOD = sshd
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley
c295547c73968e3d378e0c828281d177a2b0ba12Andreas Gustafssoninclude ../../Makefile.cmd
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halleyinclude ../Makefile.ssh-common
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob HalleySSHASKPASS= $(ROOTLIBSSH)/ssh-askpass
ac77fece9a62537a9e0e5852498ebeda7b2978c3Bob HalleyETCSSHDIR= $(ROOTETC)/ssh
ac77fece9a62537a9e0e5852498ebeda7b2978c3Bob HalleyDIRS= $(ETCSSHDIR) $(ROOTLIBSSH) $(ROOTLIBSUNSSH)
ac77fece9a62537a9e0e5852498ebeda7b2978c3Bob Halley
173b32c660c1e4d5141b5ca740e8fab3c593652fBob HalleyFILES= sshd_config ssh_config moduli
12df8cb49ace435a6773b9d26d6246328f705245Mark Andrews
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob HalleyETCSSHFILES= $(FILES:%=$(ETCSSHDIR)/%)
a4b6a1622b1b6672a6e0c7186167bbe3997568c6Bob Halley
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley$(ETCSSHFILES) := FILEMODE= 644
a4b6a1622b1b6672a6e0c7186167bbe3997568c6Bob Halley
7f3441d2a8a3b0ce868909d888e636ad696e6ac9Andreas GustafssonROOTMANIFESTDIR = $(ROOTSVCNETWORK)
7f3441d2a8a3b0ce868909d888e636ad696e6ac9Andreas Gustafsson
f6a9dd2c61911bf4902d6de02a18a31c9d5497f7Mark Andrews$(ETCSSHDIR)/% : %
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley $(INS.file)
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley$(DIRS):
a4b6a1622b1b6672a6e0c7186167bbe3997568c6Bob Halley $(INS.dir)
a4b6a1622b1b6672a6e0c7186167bbe3997568c6Bob Halley
a4b6a1622b1b6672a6e0c7186167bbe3997568c6Bob Halley$(ROOTLIBSSH)/%: %
3f0751e5af097496e227b6fc3f669db7195d555cBob Halley $(INS.file)
a4b6a1622b1b6672a6e0c7186167bbe3997568c6Bob Halley
a4b6a1622b1b6672a6e0c7186167bbe3997568c6Bob Halley$(POFILE):
a4b6a1622b1b6672a6e0c7186167bbe3997568c6Bob Halley
a4b6a1622b1b6672a6e0c7186167bbe3997568c6Bob Halleyall lint clean clobber _msg:
3f0751e5af097496e227b6fc3f669db7195d555cBob Halley
a4b6a1622b1b6672a6e0c7186167bbe3997568c6Bob Halleyinstall: all $(DIRS) $(ETCSSHFILES) $(ROOTMANIFEST) $(ROOTSVCMETHOD) \
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley $(SSHASKPASS)
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley
b77cab68c65633bc534090b09fbac743b161f9b7Bob Halleycheck: $(CHKMANIFEST)
b77cab68c65633bc534090b09fbac743b161f9b7Bob Halley
8688704781fa97f735110ee4576719ae72e6b3b6Bob Halleyinclude ../../Makefile.targ
7e6c9a9a733f7a57ace98e4692573f42a2cad0edBob Halley