home *** CD-ROM | disk | FTP | other *** search
- ##
- ## 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 XENIX with Excelan TCP.
- ## $Header: Makexen,v 2.0 90/03/23 14:40:51 rsalz Exp $
- ##
- SHELL = /bin/sh
- DEFS = -DXENIX
- CFLAGS = $(DEFS) -SEG 1000 -F 4000
- LIBS = -lx -lsocket
-
- ## Client files.
- C_SRC = client.c version.c libxen.c hostdb.c
- C_OBJ = client.o version.o libxen.o hostdb.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
-