Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
184N/A#
184N/A# CDDL HEADER START
184N/A#
184N/A# The contents of this file are subject to the terms of the
184N/A# Common Development and Distribution License, Version 1.0 only
184N/A# (the "License"). You may not use this file except in compliance
184N/A# with the License.
184N/A#
184N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
184N/A# or http://www.opensolaris.org/os/licensing.
184N/A# See the License for the specific language governing permissions
184N/A# and limitations under the License.
184N/A#
184N/A# When distributing Covered Code, include this CDDL HEADER in each
184N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
184N/A# If applicable, add the following below this CDDL HEADER, with the
184N/A# fields enclosed by brackets "[]" replaced with your own identifying
184N/A# information: Portions Copyright [yyyy] [name of copyright owner]
184N/A#
184N/A# CDDL HEADER END
184N/A#
184N/A#
844N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
184N/A# Use is subject to license terms.
184N/A#
184N/A# ident "%Z%%M% %I% %E% SMI"
184N/A#
184N/A
184N/APROG = pktool
618N/A
184N/AOBJS = pktool.o \
184N/A common.o \
844N/A setpin.o
844N/A
184N/Ainclude ../../Makefile.cmd
1258N/A
184N/ASRCS = $(OBJS:%.o=%.c)
184N/APOFILES = $(OBJS:%.o=%.po)
184N/APOFILE = $(PROG)_msg.po
184N/A
184N/ACFLAGS += $(CCVERBOSE)
184N/A
881N/ALDLIBS += -lpkcs11 -lcryptoutil
881N/A
881N/A.KEEP_STATE:
881N/A
881N/Aall : $(PROG)
881N/A
881N/A$(PROG) : $(OBJS)
881N/A $(LINK.c) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
881N/A $(POST_PROCESS)
881N/A
881N/A$(POFILE) : $(POFILES)
881N/A $(RM) $@; cat $(POFILES) > $@
881N/A
881N/Ainstall : all $(ROOTPROG)
184N/A
881N/Aclean :
184N/A $(RM) $(OBJS)
881N/A
881N/Alint : lint_SRCS
881N/A
184N/Ainclude ../../Makefile.targ
184N/A
184N/A