#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# Copyright 2011 Nexenta Systems, Inc. All rights reserved.
# Copyright 2016 Toomas Soome <tsoome@me.com>
#
# As programs get lint-clean, add them here. Eventually.
# This hack should go away, and all in PROG should be lint-clean.
# Likewise, as subdirs get lint-clean, add them here. Once
# they're all clean, replace the dependency of the lint target
# with SUBDIRS. Also (sigh) deal with the commented-out build lines
# for the lint rule.
include ../../Makefile.cmd
CLOBBERFILES += $(ALL)
# Eventually just plain CFLAGS should be += -v, but not until all in
# PROGS are lint clean.
# Enable large file support for reading the lastlog file.
-L$(ROOT)$(KLIBDIR_DO) \
-L$(ROOT)$(KLIBDIR_GL)
$(COMMONPOFILES) \
$(KCMDPROGS) \
-I$(CMDINETCOMMONDIR) \
# "-erroff=E_NAME_USED_NOT_DEF2" and "-erroff=E_NAME_DEF_NOT_USED2"
# are required because lint problems in the Kerberos 5 framework.
# Extra source files to lint with
# Messaging - copy $POFILES to $POFILE to work with the parent directory
# Makefile's '_msg' target.
#
$(COMMONPOFILES): $(COMMONSRCS)
$(RM) $@
$(COMMONOBJS): $(COMMONSRCS)
$(COMPILE.c) $(COMMONSRCS)
$(POST_PROCESS)
$(POST_PROCESS)
$(POST_PROCESS)
$(ROOTSUNWRCP):
$(ROOTRSHSYMLINK):
$(ROOTREMSHSYMLINK):
FRC:
$(RM) $(CLEANFILES)
$(RM) $(CLOBBERFILES)
$(LINTLOCALS):