Makefile (7c478bd9) Makefile (69bb4bb4)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License, Version 1.0 only
6# (the "License"). You may not use this file except in compliance
7# with the License.
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
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#
22#
23# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
21# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
24# Use is subject to license terms.
25#
26# ident "%Z%%M% %I% %E% SMI"
27#
28
29PROG= finger rdate ruptime rwho whois
30SUIDPROG= rcp rlogin rsh
31ALL= $(PROG) $(SUIDPROG)
32SRCS= $(ALL:%=%.c)
33KCMDPROGS= rcp rlogin rsh
34
35SUBDIRS= chat ftp nca netstat pppd pppdump pppstats rdist talk tftp telnet
36SUBDIR1= talk
37MSGSUBDIRS= nca talk
38
39# As programs get lint-clean, add them here. Eventually.
40# This hack should go away, and all in PROG should be lint-clean.
22# Use is subject to license terms.
23#
24# ident "%Z%%M% %I% %E% SMI"
25#
26
27PROG= finger rdate ruptime rwho whois
28SUIDPROG= rcp rlogin rsh
29ALL= $(PROG) $(SUIDPROG)
30SRCS= $(ALL:%=%.c)
31KCMDPROGS= rcp rlogin rsh
32
33SUBDIRS= chat ftp nca netstat pppd pppdump pppstats rdist talk tftp telnet
34SUBDIR1= talk
35MSGSUBDIRS= nca talk
36
37# As programs get lint-clean, add them here. Eventually.
38# This hack should go away, and all in PROG should be lint-clean.
41LINTCLEAN= rlogin.c rsh.c rcp.c rdate.c
39LINTCLEAN= rlogin.c rsh.c rcp.c rdate.c rwho.c
42
43# Likewise, as subdirs get lint-clean, add them here. Once
44# they're all clean, replace the dependency of the lint target
45# with SUBDIRS. Also (sigh) deal with the commented-out build lines
46# for the lint rule.
40
41# Likewise, as subdirs get lint-clean, add them here. Once
42# they're all clean, replace the dependency of the lint target
43# with SUBDIRS. Also (sigh) deal with the commented-out build lines
44# for the lint rule.
47LINTSUBDIRS= nca netstat pppd tftp
45LINTSUBDIRS= nca netstat pppd pppstats tftp
48
49include ../../Makefile.cmd
50include ../Makefile.cmd-inet
51
52COMMONOBJS= kcmd.o
53COMMONPOFILES= $(COMMONOBJS:.o=.po)
54COMMONSRCS= $(CMDINETCOMMONDIR)/$(COMMONOBJS:.o=.c)
55

--- 127 unchanged lines hidden ---
46
47include ../../Makefile.cmd
48include ../Makefile.cmd-inet
49
50COMMONOBJS= kcmd.o
51COMMONPOFILES= $(COMMONOBJS:.o=.po)
52COMMONSRCS= $(CMDINETCOMMONDIR)/$(COMMONOBJS:.o=.c)
53

--- 127 unchanged lines hidden ---