xref: /titanic_52/usr/src/cmd/cmd-crypto/digest/Makefile (revision 55553f719b521a0bb4deab6efc944cd30c1a56aa)
17c478bd9Sstevel@tonic-gate#
27c478bd9Sstevel@tonic-gate# CDDL HEADER START
37c478bd9Sstevel@tonic-gate#
47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
5c197cb9dShylee# Common Development and Distribution License (the "License").
6c197cb9dShylee# You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate#
87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate# and limitations under the License.
127c478bd9Sstevel@tonic-gate#
137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate#
197c478bd9Sstevel@tonic-gate# CDDL HEADER END
207c478bd9Sstevel@tonic-gate#
217c478bd9Sstevel@tonic-gate#
22*55553f71Sda73024# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
237c478bd9Sstevel@tonic-gate# Use is subject to license terms.
247c478bd9Sstevel@tonic-gate#
257c478bd9Sstevel@tonic-gate# ident	"%Z%%M%	%I%	%E% SMI"
267c478bd9Sstevel@tonic-gate#
277c478bd9Sstevel@tonic-gate
287c478bd9Sstevel@tonic-gatePROG= digest
29*55553f71Sda73024ROOTLINK= $(ROOTBIN)/mac
30*55553f71Sda73024DCFILE= $(PROG).dc
317c478bd9Sstevel@tonic-gate
327c478bd9Sstevel@tonic-gateinclude ../../Makefile.cmd
337c478bd9Sstevel@tonic-gate
34*55553f71Sda73024SUBDIRS= $(MACH)
35*55553f71Sda73024$(BUILD64)SUBDIRS += $(MACH64)
367c478bd9Sstevel@tonic-gate
37*55553f71Sda73024all	:=	TARGET = all
38*55553f71Sda73024install	:=	TARGET = install
39*55553f71Sda73024clean	:=	TARGET = clean
40*55553f71Sda73024clobber	:=	TARGET = clobber
41*55553f71Sda73024lint	:=	TARGET = lint
427c478bd9Sstevel@tonic-gate
437c478bd9Sstevel@tonic-gate.KEEP_STATE:
447c478bd9Sstevel@tonic-gate
45*55553f71Sda73024all clean clobber lint:    $(SUBDIRS)
467c478bd9Sstevel@tonic-gate
47*55553f71Sda73024install:	$(SUBDIRS)
48*55553f71Sda73024	-$(RM) $(ROOTPROG) $(ROOTLINK)
49*55553f71Sda73024	-$(LN) $(ISAEXEC) $(ROOTPROG)
50*55553f71Sda73024	-$(LN) $(ISAEXEC) $(ROOTLINK)
517c478bd9Sstevel@tonic-gate
52*55553f71Sda73024$(SUBDIRS):	FRC
53*55553f71Sda73024	@cd $@; pwd; $(MAKE) $(TARGET)
547c478bd9Sstevel@tonic-gate
55*55553f71Sda73024$(DCFILE):
56*55553f71Sda73024	$(RM) messages.po
57*55553f71Sda73024	$(XGETTEXT) $(XGETFLAGS) -t $(PROG).c
58*55553f71Sda73024	$(SED) -e '/^domain/d' messages.po > $@
59*55553f71Sda73024	$(RM) messages.po
607c478bd9Sstevel@tonic-gate
61*55553f71Sda73024FRC:
627c478bd9Sstevel@tonic-gate
637c478bd9Sstevel@tonic-gateinclude ../../Makefile.targ
64