##
##  Copyright 1989 BBN Systems and Technologies Corporation.
##  All Rights Reserved.
##  This is free software, and may be distributed under the terms of the
##  GNU Public License; see the file COPYING for more details.
##
##  Makefile for CODA client on ATT3B2 with Wollongong TCP.
##  $Header: Makeatt3b2,v 2.0 90/03/23 14:40:46 rsalz Exp $
##

##  THIS MAKEFILE MIGHT BE WRONG!

SHELL	= /bin/sh
DEFS	= -DATTsysv -DATT3B2
CFLAGS	= -g $(DEFS)
LIBS	= -lnet -lnsl_s

##  Client files.
C_SRC	= client.c version.c libatt.c
C_OBJ	= client.o version.o libatt.o


##  Generic targets.
all:		coda

install:	all
	@echo Install according to local convention

clean:
	rm -f *.o y.* foo core lint? tags a.out coda


##  Lint.
lint:		lintc

lintc:		coda
	lint $(DEFS) -a -h -x $(C_SRC) >lintc


##  Client.
coda:		$(C_OBJ)
	@rm -f coda
	$(CC) $(CFLAGS) -o coda $(C_OBJ) $(LIBS)

$(C_OBJ):	client.h

version.o:	patchlevel.h
