xref: /titanic_52/usr/src/cmd/bnu/Makefile.inc (revision bdfc6d18da790deeec2e0eb09c625902defe2498)
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.
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#
22#
23# Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26# ident	"%Z%%M%	%I%	%E% SMI"
27#
28# This file is included by Makefile. The idea is to unclutter it (Makefile).
29#
30
31SRCS =		account.c anlwrk.c bnuconvert.c callers.c		\
32		chremdir.c cntrl.c conn.c cpmv.c ct.c			\
33		cu.c dial.c dio.c dkbreak.c				\
34		dkdial.c dkerr.c dkminor.c dtnamer.c eio.c		\
35		expfile.c fio.c gename.c getargs.c getopt.c getprm.c	\
36		getpwinfo.c gio.c gnamef.c gnxseq.c grades.c		\
37		gtcfile.c gwd.c imsg.c in.uucpd.c interface.c limits.c	\
38		line.c logent.c mailst.c perfstat.c			\
39		permission.c pk0.c pk1.c pkdefs.c security.c		\
40		setmode.c shio.c statlog.c stoa.c strecpy.c strpbrk.c	\
41		strsave.c sysfiles.c systat.c ulockf.c unknown.c	\
42		utility.c uucheck.c uucico.c uucleanup.c uucp.c		\
43		uucpdefs.c uucpname.c uudecode.c uuencode.c		\
44		uuglist.c uuname.c uusched.c uustat.c uux.c		\
45		uuxqt.c versys.c xio.c xqt.c				\
46		../chmod/common.c
47
48
49TLILIB =	-lnsl -lsocket
50PAMLIB =        -lpam
51
52# use this if you don't have strpbrk/getopt in libc
53# STRPBRK =	strpbrk.o
54# GETOPT =	getopt.o
55
56PROTOCOLOBJS =	dio.o eio.o gio.o xio.o fio.o
57
58OTHEROBJS =	utility.o cpmv.o expfile.o gename.o getpwinfo.o \
59		ulockf.o xqt.o logent.o gnamef.o systat.o	\
60		sysfiles.o strsave.o $(GETOPT)
61
62uucp \
63uucp.cat :=	POBJS =	uucpdefs.o uucp.o gwd.o permission.o getargs.o	\
64			getprm.o uucpname.o versys.o gtcfile.o grades.o	\
65			$(STRPBRK) chremdir.o mailst.o $(OTHEROBJS)
66
67uux \
68uux.cat :=	POBJS =	uucpdefs.o uux.o mailst.o gwd.o permission.o	\
69			getargs.o getprm.o uucpname.o versys.o gtcfile.o \
70			grades.o chremdir.o $(STRPBRK) $(OTHEROBJS)
71
72uuxqt \
73uuxqt.cat :=	POBJS =	uucpdefs.o uuxqt.o mailst.o getprm.o uucpname.o \
74			permission.o getargs.o gtcfile.o grades.o	\
75			$(STRPBRK) shio.o chremdir.o account.o		\
76			perfstat.o statlog.o security.o limits.o	\
77			$(OTHEROBJS)
78
79uucico \
80uucico.cat :=	POBJS =	uucpdefs.o uucico.o conn.o callers.o cntrl.o	\
81			pk0.o pk1.o anlwrk.o permission.o getargs.o	\
82			gnxseq.o pkdefs.o imsg.o gtcfile.o grades.o	\
83			mailst.o uucpname.o line.o chremdir.o		\
84			interface.o statlog.o strecpy.o stoa.o		\
85			perfstat.o account.o security.o limits.o	\
86			$(STRPBRK) $(PROTOCOLOBJS) $(OTHEROBJS)		\
87			versys.o setmode.o
88uucico:=	PLIBS =	$(TLILIB)
89
90uuname \
91uuname.cat :=	POBJS =	uuname.o uucpname.o uucpdefs.o getpwinfo.o	\
92			sysfiles.o strsave.o getargs.o
93
94uustat \
95uustat.cat :=	POBJS =	uustat.o gnamef.o expfile.o uucpdefs.o		\
96			getpwinfo.o ulockf.o getargs.o utility.o	\
97			uucpname.o versys.o strsave.o sysfiles.o	\
98			cpmv.o mailst.o permission.o $(STRPBRK)	\
99			$(GETOPT)
100
101uusched \
102uusched.cat :=	POBJS =	uusched.o gnamef.o expfile.o uucpdefs.o		\
103			getpwinfo.o ulockf.o systat.o getargs.o		\
104			utility.o limits.o permission.o uucpname.o	\
105			$(GETOPT)
106
107uucleanup \
108uucleanup.cat := POBJS = uucleanup.o gnamef.o expfile.o uucpdefs.o	\
109			getpwinfo.o uucpname.o ulockf.o getargs.o	\
110			cpmv.o utility.o $(GETOPT)
111
112uuglist \
113uuglist.cat :=	POBJS =	grades.o cpmv.o getargs.o getpwinfo.o strsave.o	\
114			uuglist.o uucpdefs.o expfile.o uucpname.o $(GETOPT)
115
116bnuconvert \
117bnuconvert.cat := POBJS = bnuconvert.o uucpdefs.o grades.o strsave.o	\
118			getpwinfo.o getargs.o cpmv.o chremdir.o		\
119			expfile.o gename.o gnamef.o gtcfile.o logent.o	\
120			systat.o ulockf.o utility.o uucpname.o $(GETOPT)
121
122remote.unknown \
123remote.unknown.cat := POBJS =	unknown.o
124
125cu \
126cu.cat :=	POBJS =	cu.o callers.o getargs.o line.o uucpdefs.o	\
127			ulockf.o conn.o interface.o strsave.o		\
128			sysfiles.o strecpy.o stoa.o setmode.o
129cu:=		PLIBS =	$(TLILIB)
130
131ct \
132ct.cat :=	POBJS =	ct.o callers.o getargs.o line.o uucpdefs.o	\
133			ulockf.o conn.o interface.o sysfiles.o		\
134			strsave.o strecpy.o stoa.o setmode.o
135ct:=		PLIBS =	$(TLILIB)
136
137uudecode \
138uudecode.cat :=	POBJS =	uudecode.o common.o
139
140uuencode \
141uuencode.cat :=	POBJS =	uuencode.o
142
143uucheck \
144uucheck.cat :=	POBJS =	uucheck.o uucpname.o getargs.o $(GETOPT)
145
146in.uucpd \
147in.uucpd.cat :=	POBJS = in.uucpd.o
148in.uucpd:=	PLIBS = $(TLILIB) $(PAMLIB)
149