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