head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	95.08.05.08.56.53;	author svalente;	state Exp;
branches;
next	1.1;

1.1
date	94.08.27.00.33.33;	author svalente;	state Exp;
branches;
next	;


desc
@Makefile for Athena login.
@


1.2
log
@Added afs libs for setpag().
@
text
@
prog	= login
objs    = login.o athena.o
cc	= gcc -Wall
cflags	= -g -I/usr/athena/include -DATHENA -DSETPAG
ldflags	= 
libs	= -L/usr/athena/lib -lkrb -ldes -lhesiod -lauth -lsys -lrx -llwp

all: $(prog)

$(prog): $(objs)
	$(cc) $(ldflags) -o $@@ $(objs) $(libs)

.c.o:
	$(cc) $(cflags) -c $*.c

clean:
	rm -f $(prog) *.o *~

install: $(prog)
	cp $(prog) /bin/$(prog)
	cp $(prog).1 /usr/man/man1/$(prog).1
@


1.1
log
@Initial revision
@
text
@d5 1
a5 1
cflags	= -g -I/usr/athena/include -DATHENA
d7 1
a7 1
libs	= -L/usr/athena/lib -lkrb -ldes -lhesiod
@
