Makefile.com revision 7014882c6a3672fd0e5d60200af8643ae53c5928
b54157c1b1bf9673e4da8b526477d59202cd08a6da#
b54157c1b1bf9673e4da8b526477d59202cd08a6da# CDDL HEADER START
b54157c1b1bf9673e4da8b526477d59202cd08a6da#
b54157c1b1bf9673e4da8b526477d59202cd08a6da# The contents of this file are subject to the terms of the
b54157c1b1bf9673e4da8b526477d59202cd08a6da# Common Development and Distribution License (the "License").
b54157c1b1bf9673e4da8b526477d59202cd08a6da# You may not use this file except in compliance with the License.
b54157c1b1bf9673e4da8b526477d59202cd08a6da#
b54157c1b1bf9673e4da8b526477d59202cd08a6da# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b54157c1b1bf9673e4da8b526477d59202cd08a6da# or http://www.opensolaris.org/os/licensing.
b54157c1b1bf9673e4da8b526477d59202cd08a6da# See the License for the specific language governing permissions
b54157c1b1bf9673e4da8b526477d59202cd08a6da# and limitations under the License.
b54157c1b1bf9673e4da8b526477d59202cd08a6da#
b54157c1b1bf9673e4da8b526477d59202cd08a6da# When distributing Covered Code, include this CDDL HEADER in each
b54157c1b1bf9673e4da8b526477d59202cd08a6da# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b54157c1b1bf9673e4da8b526477d59202cd08a6da# If applicable, add the following below this CDDL HEADER, with the
b54157c1b1bf9673e4da8b526477d59202cd08a6da# fields enclosed by brackets "[]" replaced with your own identifying
b54157c1b1bf9673e4da8b526477d59202cd08a6da# information: Portions Copyright [yyyy] [name of copyright owner]
b54157c1b1bf9673e4da8b526477d59202cd08a6da#
b54157c1b1bf9673e4da8b526477d59202cd08a6da# CDDL HEADER END
b54157c1b1bf9673e4da8b526477d59202cd08a6da#
b54157c1b1bf9673e4da8b526477d59202cd08a6da#
b54157c1b1bf9673e4da8b526477d59202cd08a6da# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
b54157c1b1bf9673e4da8b526477d59202cd08a6da# Use is subject to license terms.
b54157c1b1bf9673e4da8b526477d59202cd08a6da#
b54157c1b1bf9673e4da8b526477d59202cd08a6da
b54157c1b1bf9673e4da8b526477d59202cd08a6daPROG = decrypt
b54157c1b1bf9673e4da8b526477d59202cd08a6da
b54157c1b1bf9673e4da8b526477d59202cd08a6daROOTLINK32= $(ROOTBIN32)/encrypt
b54157c1b1bf9673e4da8b526477d59202cd08a6daROOTLINK64= $(ROOTBIN64)/encrypt
b54157c1b1bf9673e4da8b526477d59202cd08a6da
b54157c1b1bf9673e4da8b526477d59202cd08a6daOBJS = decrypt.o
b54157c1b1bf9673e4da8b526477d59202cd08a6da
b54157c1b1bf9673e4da8b526477d59202cd08a6daSRCS = $(OBJS:%.o=../%.c)
b54157c1b1bf9673e4da8b526477d59202cd08a6da
b54157c1b1bf9673e4da8b526477d59202cd08a6dainclude ../../../Makefile.cmd
b54157c1b1bf9673e4da8b526477d59202cd08a6da
b54157c1b1bf9673e4da8b526477d59202cd08a6daCFLAGS += $(CCVERBOSE)
b54157c1b1bf9673e4da8b526477d59202cd08a6daCFLAGS64 += $(CCVERBOSE)
b54157c1b1bf9673e4da8b526477d59202cd08a6daCPPFLAGS += -D_FILE_OFFSET_BITS=64
b54157c1b1bf9673e4da8b526477d59202cd08a6da
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-parentheses
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-uninitialized
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe
b54157c1b1bf9673e4da8b526477d59202cd08a6daLDLIBS += -lkmf -lpkcs11 -lcryptoutil
b54157c1b1bf9673e4da8b526477d59202cd08a6da
b54157c1b1bf9673e4da8b526477d59202cd08a6da.KEEP_STATE:
b54157c1b1bf9673e4da8b526477d59202cd08a6da
b54157c1b1bf9673e4da8b526477d59202cd08a6daall: $(PROG)
b54157c1b1bf9673e4da8b526477d59202cd08a6da
b54157c1b1bf9673e4da8b526477d59202cd08a6dalint: lint_SRCS
b54157c1b1bf9673e4da8b526477d59202cd08a6da
b54157c1b1bf9673e4da8b526477d59202cd08a6dainclude ../../../Makefile.targ
b54157c1b1bf9673e4da8b526477d59202cd08a6da
b54157c1b1bf9673e4da8b526477d59202cd08a6da%.o: ../%.c
b54157c1b1bf9673e4da8b526477d59202cd08a6da $(COMPILE.c) $<
b54157c1b1bf9673e4da8b526477d59202cd08a6da
b54157c1b1bf9673e4da8b526477d59202cd08a6da$(PROG): $(OBJS)
b54157c1b1bf9673e4da8b526477d59202cd08a6da $(LINK.c) $(OBJS) -o $@ $(LDLIBS) $(DYNFLAGS)
b54157c1b1bf9673e4da8b526477d59202cd08a6da $(POST_PROCESS)
b54157c1b1bf9673e4da8b526477d59202cd08a6da
b54157c1b1bf9673e4da8b526477d59202cd08a6da$(ROOTLINK32): $(ROOTPROG32)
b54157c1b1bf9673e4da8b526477d59202cd08a6da $(RM) $@
b54157c1b1bf9673e4da8b526477d59202cd08a6da $(LN) $(ROOTPROG32) $@
b54157c1b1bf9673e4da8b526477d59202cd08a6da
b54157c1b1bf9673e4da8b526477d59202cd08a6da$(ROOTLINK64): $(ROOTPROG64)
b54157c1b1bf9673e4da8b526477d59202cd08a6da $(RM) $@
b54157c1b1bf9673e4da8b526477d59202cd08a6da $(LN) $(ROOTPROG64) $@
b54157c1b1bf9673e4da8b526477d59202cd08a6da
b54157c1b1bf9673e4da8b526477d59202cd08a6daclean:
b54157c1b1bf9673e4da8b526477d59202cd08a6da $(RM) $(PROG) $(OBJS)