1c28749e9Skais# 2c28749e9Skais# CDDL HEADER START 3c28749e9Skais# 4c28749e9Skais# The contents of this file are subject to the terms of the 571593db2Swyllys# Common Development and Distribution License (the "License"). 671593db2Swyllys# 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# 222ec7cc7fSKrishna Yenduri# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23c28749e9Skais# Use is subject to license terms. 24c28749e9Skais# 25c28749e9Skais# cmd/cmd-inet/usr.sbin/kssl/kssladm/Makefile 26c28749e9Skais# 27c28749e9Skais 28c28749e9SkaisPROG= kssladm 29c28749e9Skais 30c28749e9Skaisinclude $(SRC)/cmd/Makefile.cmd 31c28749e9Skais 32c28749e9SkaisOBJS = \ 33c28749e9Skais kssladm.o \ 34c28749e9Skais kssladm_create.o \ 35c28749e9Skais kssladm_delete.o \ 3671593db2Swyllys ksslutil.o 37c28749e9Skais 38c28749e9SkaisSRCS = $(OBJS:%.o=%.c) 39c28749e9Skais 40c28749e9SkaisROOTUSRLIBPROG = $(PROG:%=$(ROOTLIB)/%) 41c28749e9Skais 42c28749e9Skais.KEEP_STATE: 43c28749e9Skais 44c28749e9SkaisCFLAGS += $(CCVERBOSE) 45*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-uninitialized 46*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-address 47c28749e9Skais 482ec7cc7fSKrishna YenduriLDLIBS += -lkmf -lpkcs11 -lcryptoutil -lnsl -lsocket 49c28749e9Skais 50c28749e9Skaisall: $(PROG) 51c28749e9Skais 52c28749e9Skais$(PROG): $(OBJS) 53c28749e9Skais $(LINK.c) $(OBJS) -o $@ $(LDLIBS) $(DYNFLAGS) 54c28749e9Skais $(POST_PROCESS) 55c28749e9Skais 56c28749e9Skaisinstall: all $(ROOTUSRLIBPROG) 57c28749e9Skais 58c28749e9Skaisclean: 59c28749e9Skais $(RM) $(OBJS) 60c28749e9Skais 61c28749e9Skaischeck: 62c28749e9Skais $(CSTYLE) -pP $(SRCS) 63c28749e9Skais 64c28749e9Skaislint: lint_SRCS 65c28749e9Skais 66c28749e9Skaisinclude ../../../../Makefile.targ 67