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