Print this page
8114 EOF rwho


   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 2009 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 # Copyright 2011 Nexenta Systems, Inc. All rights reserved.
  26 # Copyright 2016 Toomas Soome <tsoome@me.com>
  27 #
  28 
  29 PROG=           finger rdate ruptime rwho whois
  30 SUIDPROG=       rcp rlogin rsh
  31 ALL=            $(PROG) $(SUIDPROG)
  32 SRCS=           $(ALL:%=%.c)
  33 KCMDPROGS=      rcp rlogin rsh
  34 
  35 SUBDIRS=        chat dns-sd ftp nc nca netstat \
  36                 pppd pppdump pppstats rdist talk telnet tftp
  37 SUBDIR1=        talk 
  38 MSGSUBDIRS=     nca talk
  39 
  40 # As programs get lint-clean, add them here.  Eventually.
  41 # This hack should go away, and all in PROG should be lint-clean.
  42 LINTCLEAN=      rlogin.c rsh.c rcp.c rdate.c rwho.c whois.c
  43 
  44 # Likewise, as subdirs get lint-clean, add them here.  Once
  45 # they're all clean, replace the dependency of the lint target
  46 # with SUBDIRS.  Also (sigh) deal with the commented-out build lines
  47 # for the lint rule.
  48 LINTSUBDIRS=    nca netstat pppd pppstats tftp
  49 
  50 include ../../Makefile.cmd
  51 include ../Makefile.cmd-inet
  52 
  53 COMMONOBJS=     kcmd.o
  54 COMMONPOFILES=  $(COMMONOBJS:.o=.po)
  55 COMMONSRCS=     $(CMDINETCOMMONDIR)/$(COMMONOBJS:.o=.c)
  56 
  57 POFILES=        rlogin.po rsh.po rcp.po $(COMMONPOFILES)
  58 POFILE=         usr.bin.po
  59 
  60 CLOBBERFILES += $(ALL)
  61 CLEANFILES +=   kcmd.o rcp.o rlogin.o rsh.o
  62 




   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 2009 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 # Copyright 2011 Nexenta Systems, Inc. All rights reserved.
  26 # Copyright 2016 Toomas Soome <tsoome@me.com>
  27 #
  28 
  29 PROG=           finger rdate whois
  30 SUIDPROG=       rcp rlogin rsh
  31 ALL=            $(PROG) $(SUIDPROG)
  32 SRCS=           $(ALL:%=%.c)
  33 KCMDPROGS=      rcp rlogin rsh
  34 
  35 SUBDIRS=        chat dns-sd ftp nc nca netstat \
  36                 pppd pppdump pppstats rdist talk telnet tftp
  37 SUBDIR1=        talk 
  38 MSGSUBDIRS=     nca talk
  39 
  40 # As programs get lint-clean, add them here.  Eventually.
  41 # This hack should go away, and all in PROG should be lint-clean.
  42 LINTCLEAN=      rlogin.c rsh.c rcp.c rdate.c whois.c
  43 
  44 # Likewise, as subdirs get lint-clean, add them here.  Once
  45 # they're all clean, replace the dependency of the lint target
  46 # with SUBDIRS.  Also (sigh) deal with the commented-out build lines
  47 # for the lint rule.
  48 LINTSUBDIRS=    nca netstat pppd pppstats tftp
  49 
  50 include ../../Makefile.cmd
  51 include ../Makefile.cmd-inet
  52 
  53 COMMONOBJS=     kcmd.o
  54 COMMONPOFILES=  $(COMMONOBJS:.o=.po)
  55 COMMONSRCS=     $(CMDINETCOMMONDIR)/$(COMMONOBJS:.o=.c)
  56 
  57 POFILES=        rlogin.po rsh.po rcp.po $(COMMONPOFILES)
  58 POFILE=         usr.bin.po
  59 
  60 CLOBBERFILES += $(ALL)
  61 CLEANFILES +=   kcmd.o rcp.o rlogin.o rsh.o
  62