#
# 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
# or http://www.opensolaris.org/os/licensing.
# 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 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
SRCS = account.c anlwrk.c bnuconvert.c callers.c \
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-char-subscripts
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-extra
CERRWARN += -_gcc=-Wno-implicit-function-declaration
TLILIB = -lnsl -lsocket
PAMLIB = -lpam
# use this if you don't have strpbrk/getopt in libc
# STRPBRK = strpbrk.o
# GETOPT = getopt.o
PROTOCOLOBJS = dio.o eio.o gio.o xio.o fio.o
OTHEROBJS = utility.o cpmv.o expfile.o gename.o getpwinfo.o \
uucp \
uucp.cat := POBJS = uucpdefs.o uucp.o gwd.o permission.o getargs.o \
uux \
uux.cat := POBJS = uucpdefs.o uux.o mailst.o gwd.o permission.o \
uuxqt \
uuxqt.cat := POBJS = uucpdefs.o uuxqt.o mailst.o getprm.o uucpname.o \
$(OTHEROBJS)
uucico \
uucico.cat := POBJS = uucpdefs.o uucico.o conn.o callers.o cntrl.o \
uucico:= PLIBS = $(TLILIB) -lgen
uuname \
uuname.cat := POBJS = uuname.o uucpname.o uucpdefs.o getpwinfo.o \
uustat \
uustat.cat := POBJS = uustat.o gnamef.o expfile.o uucpdefs.o \
$(GETOPT)
uusched \
uusched.cat := POBJS = uusched.o gnamef.o expfile.o uucpdefs.o \
$(GETOPT)
uucleanup \
uucleanup.cat := POBJS = uucleanup.o gnamef.o expfile.o uucpdefs.o \
uuglist \
uuglist.cat := POBJS = grades.o cpmv.o getargs.o getpwinfo.o strsave.o \
bnuconvert \
bnuconvert.cat := POBJS = bnuconvert.o uucpdefs.o grades.o strsave.o \
remote.unknown \
remote.unknown.cat := POBJS = unknown.o
cu \
cu.cat := POBJS = cu.o callers.o getargs.o line.o uucpdefs.o \
cu:= PLIBS = $(TLILIB) -lgen
ct \
ct.cat := POBJS = ct.o callers.o getargs.o line.o uucpdefs.o \
ct:= PLIBS = $(TLILIB) -lgen
uudecode \
uudecode.cat := POBJS = uudecode.o common.o
uuencode \
uuencode.cat := POBJS = uuencode.o
uucheck \
uucheck.cat := POBJS = uucheck.o uucpname.o getargs.o $(GETOPT)
in.uucpd \
in.uucpd.cat := POBJS = in.uucpd.o
in.uucpd:= PLIBS = $(TLILIB) $(PAMLIB)