xref: /titanic_41/usr/src/cmd/cmd-inet/usr.sbin/kssl/ksslcfg/Makefile (revision a192e900f6d2b0e1a822e3252c0dfd795ed49d76)
1c28749e9Skais#
2c28749e9Skais# CDDL HEADER START
3c28749e9Skais#
4c28749e9Skais# The contents of this file are subject to the terms of the
5*a192e900Samaguire# Common Development and Distribution License (the "License").
6*a192e900Samaguire# You may not use this file except in compliance with the License.
7c28749e9Skais#
8c28749e9Skais# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9c28749e9Skais# or http://www.opensolaris.org/os/licensing.
10c28749e9Skais# See the License for the specific language governing permissions
11c28749e9Skais# and limitations under the License.
12c28749e9Skais#
13c28749e9Skais# When distributing Covered Code, include this CDDL HEADER in each
14c28749e9Skais# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15c28749e9Skais# If applicable, add the following below this CDDL HEADER, with the
16c28749e9Skais# fields enclosed by brackets "[]" replaced with your own identifying
17c28749e9Skais# information: Portions Copyright [yyyy] [name of copyright owner]
18c28749e9Skais#
19c28749e9Skais# CDDL HEADER END
20c28749e9Skais#
21c28749e9Skais#
22*a192e900Samaguire# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23c28749e9Skais# Use is subject to license terms.
24c28749e9Skais#
25c28749e9Skais# ident	"%Z%%M%	%I%	%E% SMI"
26c28749e9Skais#
27c28749e9Skais# cmd/cmd-inet/usr.sbin/kssl/kssladm/Makefile
28c28749e9Skais#
29c28749e9Skais
30c28749e9SkaisPROG= ksslcfg
31c28749e9SkaisMANIFEST= kssl-proxy.xml
32c28749e9Skais
33c28749e9Skaisinclude $(SRC)/cmd/Makefile.cmd
34c28749e9Skais
35c28749e9SkaisOBJS =	\
36c28749e9Skais    ksslcfg.o \
37c28749e9Skais    ksslcfg_create.o \
38c28749e9Skais    ksslcfg_delete.o
39c28749e9Skais
40c28749e9SkaisPOFILES = $(OBJS:%.o=%.po)
41c28749e9SkaisPOFILE = $(PROG)_all.po
42c28749e9Skais
43c28749e9SkaisSRCS = $(OBJS:%.o=%.c)
44c28749e9Skais
45abf1b5ddSkaisROOTMANIFESTDIR= $(ROOTSVCNETWORKSSL)
46c28749e9Skais
47c28749e9Skais.KEEP_STATE:
48c28749e9Skais
49c28749e9SkaisCFLAGS +=	$(CCVERBOSE)
50c28749e9Skais
51c28749e9SkaisLDLIBS += -lscf -lnsl
52c28749e9Skais
53c28749e9Skaisall: $(PROG)
54c28749e9Skais
55c28749e9Skais$(PROG): $(OBJS)
56c28749e9Skais	$(LINK.c) $(OBJS) -o $@ $(LDLIBS) $(DYNFLAGS)
57c28749e9Skais	$(POST_PROCESS)
58c28749e9Skais
59c28749e9Skais$(POFILE): $(POFILES)
60c28749e9Skais	$(RM) $@; cat $(POFILES) > $@
61c28749e9Skais
62c28749e9Skaisinstall: all $(ROOTUSRSBINPROG) $(ROOTMANIFEST)
63c28749e9Skais
64c28749e9Skaisclean:
65c28749e9Skais	$(RM) $(OBJS)
66c28749e9Skais
67c28749e9Skaischeck: $(CHKMANIFEST)
68c28749e9Skais	$(CSTYLE) -pP $(SRCS)
69c28749e9Skais
70c28749e9Skaislint:	lint_SRCS
71c28749e9Skais
72c28749e9Skais$(ROOTUSRSBINPROG): $(ROOTUSRSBIN)
73c28749e9Skais
74c28749e9Skais$(ROOTUSRSBIN):
75c28749e9Skais	$(MKDIR) -p $@
76c28749e9Skais
77c28749e9Skaisinclude ../../../../Makefile.targ
78