xref: /onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/kssl/kssladm/Makefile (revision 10520:1303da84e47a)
1898Skais#
2898Skais# CDDL HEADER START
3898Skais#
4898Skais# The contents of this file are subject to the terms of the
53408Swyllys# Common Development and Distribution License (the "License").
63408Swyllys# You may not use this file except in compliance with the License.
7898Skais#
8898Skais# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9898Skais# or http://www.opensolaris.org/os/licensing.
10898Skais# See the License for the specific language governing permissions
11898Skais# and limitations under the License.
12898Skais#
13898Skais# When distributing Covered Code, include this CDDL HEADER in each
14898Skais# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15898Skais# If applicable, add the following below this CDDL HEADER, with the
16898Skais# fields enclosed by brackets "[]" replaced with your own identifying
17898Skais# information: Portions Copyright [yyyy] [name of copyright owner]
18898Skais#
19898Skais# CDDL HEADER END
20898Skais#
21898Skais#
22*10520SBhargava.Yenduri@Sun.COM# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23898Skais# Use is subject to license terms.
24898Skais#
25898Skais# cmd/cmd-inet/usr.sbin/kssl/kssladm/Makefile
26898Skais#
27898Skais
28898SkaisPROG= kssladm
29898Skais
30898Skaisinclude $(SRC)/cmd/Makefile.cmd
31898Skais
32898SkaisOBJS =	\
33898Skais    kssladm.o \
34898Skais    kssladm_create.o \
35898Skais    kssladm_delete.o \
363408Swyllys    ksslutil.o
37898Skais
38898SkaisSRCS = $(OBJS:%.o=%.c)
39898Skais
40898SkaisROOTUSRLIBPROG = $(PROG:%=$(ROOTLIB)/%)
41898Skais
42898Skais.KEEP_STATE:
43898Skais
44898SkaisCFLAGS +=	$(CCVERBOSE)
45898Skais
46*10520SBhargava.Yenduri@Sun.COMLDLIBS += -lkmf -lpkcs11 -lcryptoutil -lnsl -lsocket
47898Skais
48898Skaisall: $(PROG)
49898Skais
50898Skais$(PROG): $(OBJS)
51898Skais	$(LINK.c) $(OBJS) -o $@ $(LDLIBS) $(DYNFLAGS)
52898Skais	$(POST_PROCESS)
53898Skais
54898Skaisinstall: all $(ROOTUSRLIBPROG)
55898Skais
56898Skaisclean:
57898Skais	$(RM) $(OBJS)
58898Skais
59898Skaischeck:
60898Skais	$(CSTYLE) -pP $(SRCS)
61898Skais
62898Skaislint:	lint_SRCS
63898Skais
64898Skaisinclude ../../../../Makefile.targ
65