xref: /onnv-gate/usr/src/cmd/cmd-crypto/Makefile (revision 12720:3db6e0082404)
10Sstevel@tonic-gate#
20Sstevel@tonic-gate# CDDL HEADER START
30Sstevel@tonic-gate#
40Sstevel@tonic-gate# The contents of this file are subject to the terms of the
53089Swyllys# Common Development and Distribution License (the "License").
63089Swyllys# You may not use this file except in compliance with the License.
70Sstevel@tonic-gate#
80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
100Sstevel@tonic-gate# See the License for the specific language governing permissions
110Sstevel@tonic-gate# and limitations under the License.
120Sstevel@tonic-gate#
130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
180Sstevel@tonic-gate#
190Sstevel@tonic-gate# CDDL HEADER END
200Sstevel@tonic-gate#
21*12720SWyllys.Ingersoll@Sun.COM# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
220Sstevel@tonic-gate#
230Sstevel@tonic-gate
241167Skupferinclude ../Makefile.cmd
251167Skupfer
260Sstevel@tonic-gateSUBDIRS1 = \
270Sstevel@tonic-gate	cryptoadm \
280Sstevel@tonic-gate	decrypt \
290Sstevel@tonic-gate	digest \
305194Sjohnz	elfsign \
31*12720SWyllys.Ingersoll@Sun.COM	kmfcfg \
32*12720SWyllys.Ingersoll@Sun.COM	kmscfg \
333089Swyllys	pktool \
3410346Swyllys.ingersoll@sun.com	tpmadm
359126SWyllys.Ingersoll@Sun.COM
361167Skupfer$(CLOSED_BUILD)SUBDIRS1 += \
371167Skupfer	$(CLOSED)/cmd/cmd-crypto/kcfd
381167Skupfer
390Sstevel@tonic-gateSUBDIRS2 = \
400Sstevel@tonic-gate	etc \
410Sstevel@tonic-gate	scripts
420Sstevel@tonic-gate
431167Skupfer$(CLOSED_BUILD)SUBDIRS2 += \
441167Skupfer	$(CLOSED)/cmd/cmd-crypto/etc
450Sstevel@tonic-gate
460Sstevel@tonic-gateall:=           TARGET= all
470Sstevel@tonic-gateinstall:=       TARGET= install
480Sstevel@tonic-gateclean:=         TARGET= clean
490Sstevel@tonic-gateclobber:=       TARGET= clobber
500Sstevel@tonic-gatelint:=          TARGET= lint
510Sstevel@tonic-gate_msg:=          TARGET= _msg
520Sstevel@tonic-gate
530Sstevel@tonic-gate.KEEP_STATE:
540Sstevel@tonic-gate
559126SWyllys.Ingersoll@Sun.COMall clean clobber lint _msg: $(SUBDIRS1) $($(MACH)_SUBDIRS)
560Sstevel@tonic-gate
579126SWyllys.Ingersoll@Sun.COMinstall: $(SUBDIRS1) $(SUBDIRS2) $($(MACH)_SUBDIRS)
580Sstevel@tonic-gate
599126SWyllys.Ingersoll@Sun.COM$(SUBDIRS1) $(SUBDIRS2) $($(MACH)_SUBDIRS) : FRC
600Sstevel@tonic-gate	@cd $@; pwd; $(MAKE) $(MFLAGS) $(TARGET)
610Sstevel@tonic-gate
620Sstevel@tonic-gateFRC:
63