head	1.5;
access;
symbols
	ATH7_7:1.4
	ATH7_4:1.2
	ATH7_6:1.3;
locks; strict;
comment	@# @;


1.5
date	95.11.28.14.06.54;	author miki;	state Exp;
branches;
next	1.4;

1.4
date	94.08.14.15.16.16;	author cfields;	state Exp;
branches;
next	1.3;

1.3
date	92.11.08.19.24.58;	author probe;	state Exp;
branches;
next	1.2;

1.2
date	92.05.18.18.24.43;	author cfields;	state Exp;
branches;
next	1.1;

1.1
date	92.05.01.12.24.52;	author cfields;	state Exp;
branches;
next	;


desc
@New Imakefile for ftpd to replace Makefile.
(Old Makefile still under RCS)
@


1.5
log
@Solaris requires more AFSLIBS for linking and the AFSLIBS require the full
ucblib instead of libbsd
@
text
@DEFINES	=	-DATHENA -DSETPAG
AFSLIBS = $(AFSDIR)/lib/afs/libauth.a $(AFSDIR)/lib/afs/libsys.a

#ifdef _AIX
LIBS	=	$(AFSLIBS) -lkrb -ldes -lhesiod -lodm -lcfg -ls
#else
#ifdef ultrix
LIBS	=	$(AFSLIBS) -lkrb -ldes -lhesiod -lnsyslog
#else
#ifdef SOLARIS
AFSLIBS = $(AFSDIR)/lib/afs/libauth.a $(AFSDIR)/lib/afs/libsys.a \
       $(AFSDIR)/lib/librx.a $(AFSDIR)/lib/liblwp.a
LDLIBS=/usr/athena/lib/libresolv.a -lsocket -lnsl /usr/ucblib/libucb.a -lelf -ldl
LIBS	=	$(AFSLIBS) -lkrb -ldes -lhesiod 
#else
LIBS	=	$(AFSLIBS) -lkrb -ldes -lhesiod
#endif
#endif
#endif

CFILES	=	ftpd.c athena_ftpd.c ftpcmd.y glob.c logwtmp.c\
			popen.c vers.c
OBJS	=	ftpd.o athena_ftpd.o ftpcmd.o glob.o logwtmp.o\
			popen.o vers.o strpbrk.o strtok.o getusershell.o

vers.c:		ftpd.c ftpcmd.y athena_ftpd.c
		sh newvers.sh

#ifdef ultrix
glob.o:		glob.c
		${CC} ${CFLAGS} -UPOSIX -c glob.c
#endif

SimpleProgram(ftpd,${OBJS},${LIBS},/etc/athena/ftpd)
install_man(ftpd.8c,ftpd.8c)
create_depend(${CFILES})
@


1.4
log
@4.3 style syslog changes for Ultrix
Link with bsd libs for Solaris. (?)
7.7 checkin; changes by vrt
@
text
@d11 4
a14 1
LIBS	=	$(AFSLIBS) -lkrb -ldes -lhesiod -lbsd
@


1.3
log
@$(AFSDIR) is now set already... use it...
@
text
@d7 6
d14 2
@


1.2
log
@Support setpag
@
text
@d1 1
a1 8
DEFINES		=	-DATHENA -DSETPAG

#ifdef UseInstalled
AFSDIR = /mit/afsdev/bld/dest
#else
AFSDIR = /usr/local
#endif

d5 1
a5 1
LIBS		=	$(AFSLIBS) -lkrb -ldes -lhesiod -lodm -lcfg -ls
d7 1
a7 1
LIBS		=	$(AFSLIBS) -lkrb -ldes -lhesiod
d10 1
a10 1
CFILES		=	ftpd.c athena_ftpd.c ftpcmd.y glob.c logwtmp.c\
d12 1
a12 1
OBJS		=	ftpd.o athena_ftpd.o ftpcmd.o glob.o logwtmp.o\
@


1.1
log
@Initial revision
@
text
@d1 10
a10 1
DEFINES		=	-DATHENA
d12 1
a12 1
LIBS		=	-lkrb -ldes -lhesiod -lodm -lcfg -ls
d14 1
a14 1
LIBS		=	-lkrb -ldes -lhesiod
@
