Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
c0c79a3f09914f35651895ffc111883455b7f62dtz#
c0c79a3f09914f35651895ffc111883455b7f62dtz# CDDL HEADER START
c0c79a3f09914f35651895ffc111883455b7f62dtz#
c0c79a3f09914f35651895ffc111883455b7f62dtz# The contents of this file are subject to the terms of the
c0c79a3f09914f35651895ffc111883455b7f62dtz# Common Development and Distribution License (the "License").
c0c79a3f09914f35651895ffc111883455b7f62dtz# You may not use this file except in compliance with the License.
c0c79a3f09914f35651895ffc111883455b7f62dtz#
c0c79a3f09914f35651895ffc111883455b7f62dtz# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c0c79a3f09914f35651895ffc111883455b7f62dtz# or http://www.opensolaris.org/os/licensing.
c0c79a3f09914f35651895ffc111883455b7f62dtz# See the License for the specific language governing permissions
c0c79a3f09914f35651895ffc111883455b7f62dtz# and limitations under the License.
c0c79a3f09914f35651895ffc111883455b7f62dtz#
c0c79a3f09914f35651895ffc111883455b7f62dtz# When distributing Covered Code, include this CDDL HEADER in each
c0c79a3f09914f35651895ffc111883455b7f62dtz# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c0c79a3f09914f35651895ffc111883455b7f62dtz# If applicable, add the following below this CDDL HEADER, with the
c0c79a3f09914f35651895ffc111883455b7f62dtz# fields enclosed by brackets "[]" replaced with your own identifying
c0c79a3f09914f35651895ffc111883455b7f62dtz# information: Portions Copyright [yyyy] [name of copyright owner]
c0c79a3f09914f35651895ffc111883455b7f62dtz#
c0c79a3f09914f35651895ffc111883455b7f62dtz# CDDL HEADER END
c0c79a3f09914f35651895ffc111883455b7f62dtz#
c0c79a3f09914f35651895ffc111883455b7f62dtz# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
c0c79a3f09914f35651895ffc111883455b7f62dtz#
c0c79a3f09914f35651895ffc111883455b7f62dtz# Copyright 2010 Nexenta Systems, Inc. All rights reserved.
c0c79a3f09914f35651895ffc111883455b7f62dtz
c0c79a3f09914f35651895ffc111883455b7f62dtzPROG = cryptoadm
c0c79a3f09914f35651895ffc111883455b7f62dtz
c0c79a3f09914f35651895ffc111883455b7f62dtzOBJS = cryptoadm.o \
c0c79a3f09914f35651895ffc111883455b7f62dtz adm_uef.o \
c0c79a3f09914f35651895ffc111883455b7f62dtz adm_kef.o \
c0c79a3f09914f35651895ffc111883455b7f62dtz adm_kef_ioctl.o \
c0c79a3f09914f35651895ffc111883455b7f62dtz adm_kef_util.o \
c0c79a3f09914f35651895ffc111883455b7f62dtz adm_util.o \
c0c79a3f09914f35651895ffc111883455b7f62dtz adm_metaslot.o
c0c79a3f09914f35651895ffc111883455b7f62dtz
c0c79a3f09914f35651895ffc111883455b7f62dtzSRCS = $(OBJS:.o=.c)
c0c79a3f09914f35651895ffc111883455b7f62dtz
c0c79a3f09914f35651895ffc111883455b7f62dtzinclude ../../Makefile.cmd
c0c79a3f09914f35651895ffc111883455b7f62dtz
c0c79a3f09914f35651895ffc111883455b7f62dtzPOFILES = $(OBJS:%.o=%.po)
c0c79a3f09914f35651895ffc111883455b7f62dtzPOFILE = $(PROG)_all.po
c0c79a3f09914f35651895ffc111883455b7f62dtz
c0c79a3f09914f35651895ffc111883455b7f62dtzCFLAGS += $(CCVERBOSE)
c0c79a3f09914f35651895ffc111883455b7f62dtzCERRWARN += -_gcc=-Wno-uninitialized
c0c79a3f09914f35651895ffc111883455b7f62dtzCERRWARN += -_gcc=-Wno-parentheses
c0c79a3f09914f35651895ffc111883455b7f62dtz
c0c79a3f09914f35651895ffc111883455b7f62dtzLDLIBS += -lcryptoutil
c0c79a3f09914f35651895ffc111883455b7f62dtz
c0c79a3f09914f35651895ffc111883455b7f62dtz.KEEP_STATE:
c0c79a3f09914f35651895ffc111883455b7f62dtz
c0c79a3f09914f35651895ffc111883455b7f62dtzall: $(PROG)
c0c79a3f09914f35651895ffc111883455b7f62dtz
c0c79a3f09914f35651895ffc111883455b7f62dtz$(PROG): $(OBJS)
c0c79a3f09914f35651895ffc111883455b7f62dtz $(LINK.c) $(OBJS) -o $@ $(LDLIBS) $(DYNFLAGS)
c0c79a3f09914f35651895ffc111883455b7f62dtz $(POST_PROCESS)
c0c79a3f09914f35651895ffc111883455b7f62dtz
c0c79a3f09914f35651895ffc111883455b7f62dtz$(POFILE): $(POFILES)
c0c79a3f09914f35651895ffc111883455b7f62dtz $(RM) $@; cat $(POFILES) > $@
c0c79a3f09914f35651895ffc111883455b7f62dtz
c0c79a3f09914f35651895ffc111883455b7f62dtzinstall: all $(ROOTSBINPROG)
c0c79a3f09914f35651895ffc111883455b7f62dtz $(RM) $(ROOTUSRSBINPROG)
c0c79a3f09914f35651895ffc111883455b7f62dtz -$(SYMLINK) ../../sbin/$(PROG) $(ROOTUSRSBINPROG)
c0c79a3f09914f35651895ffc111883455b7f62dtz
c0c79a3f09914f35651895ffc111883455b7f62dtzclean:
c0c79a3f09914f35651895ffc111883455b7f62dtz $(RM) -f $(OBJS) $(PROG)
c0c79a3f09914f35651895ffc111883455b7f62dtz
c0c79a3f09914f35651895ffc111883455b7f62dtzlint: lint_SRCS
c0c79a3f09914f35651895ffc111883455b7f62dtz
c0c79a3f09914f35651895ffc111883455b7f62dtzinclude ../../Makefile.targ
c0c79a3f09914f35651895ffc111883455b7f62dtz