3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen# CDDL HEADER START
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen# The contents of this file are subject to the terms of the
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen# Common Development and Distribution License (the "License").
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen# You may not use this file except in compliance with the License.
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen# See the License for the specific language governing permissions
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen# and limitations under the License.
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen# When distributing Covered Code, include this CDDL HEADER in each
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen# If applicable, add the following below this CDDL HEADER, with the
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen# fields enclosed by brackets "[]" replaced with your own identifying
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen# information: Portions Copyright [yyyy] [name of copyright owner]
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen# CDDL HEADER END
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen# Use is subject to license terms.
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen# Copyright 2011 Nexenta Systems, Inc. All rights reserved.
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen# Copyright 2016 Toomas Soome <tsoome@me.com>
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen# As programs get lint-clean, add them here. Eventually.
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen# This hack should go away, and all in PROG should be lint-clean.
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowenLINTCLEAN= rlogin.c rsh.c rcp.c rdate.c rwho.c whois.c
c72a257507602f1216d9367518c13b9db9e385a8jamiebowen# Likewise, as subdirs get lint-clean, add them here. Once
c72a257507602f1216d9367518c13b9db9e385a8jamiebowen# they're all clean, replace the dependency of the lint target
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen# with SUBDIRS. Also (sigh) deal with the commented-out build lines
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen# for the lint rule.
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowenCOMMONSRCS= $(CMDINETCOMMONDIR)/$(COMMONOBJS:.o=.c)
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowenCPPFLAGS += -DSYSV -DSTRNET -DBSD_COMP -I$(CMDINETCOMMONDIR)
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen# Eventually just plain CFLAGS should be += -v, but not until all in
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen# PROGS are lint clean.
cb241c1aa2096e51864b45398cc15850b0ce4d8cjamiebowen# Enable large file support for reading the lastlog file.
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowenrcp lint-rcp := LDLIBS += -lsocket -lsec -lsendfile
cb241c1aa2096e51864b45398cc15850b0ce4d8cjamieboweninclude $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen$(KCMDPROGS) := LDFLAGS += $(ZIGNORE) $(KRUNPATH) \
c72a257507602f1216d9367518c13b9db9e385a8jamiebowen# "-erroff=E_NAME_USED_NOT_DEF2" and "-erroff=E_NAME_DEF_NOT_USED2"
cb241c1aa2096e51864b45398cc15850b0ce4d8cjamiebowen# are required because lint problems in the Kerberos 5 framework.
c72a257507602f1216d9367518c13b9db9e385a8jamiebowen# Extra source files to lint with
$(RM) $@
$(POST_PROCESS)
$(POST_PROCESS)
$(POST_PROCESS)
$(ROOTSUNWRCP):
$(ROOTRSHSYMLINK):
$(ROOTREMSHSYMLINK):
FRC:
$(LINTLOCALS):