home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume21 / coda / part01 / Makexen < prev    next >
Encoding:
Text File  |  1990-04-08  |  894 b   |  45 lines

  1. ##
  2. ##  Copyright 1989 BBN Systems and Technologies Corporation.
  3. ##  All Rights Reserved.
  4. ##  This is free software, and may be distributed under the terms of the
  5. ##  GNU Public License; see the file COPYING for more details.
  6. ##
  7. ##  Makefile for CODA client on XENIX with Excelan TCP.
  8. ##  $Header: Makexen,v 2.0 90/03/23 14:40:51 rsalz Exp $
  9. ##
  10. SHELL    = /bin/sh
  11. DEFS    = -DXENIX
  12. CFLAGS    = $(DEFS) -SEG 1000 -F 4000
  13. LIBS    = -lx -lsocket
  14.  
  15. ##  Client files.
  16. C_SRC    = client.c version.c libxen.c hostdb.c
  17. C_OBJ    = client.o version.o libxen.o hostdb.o
  18.  
  19.  
  20. ##  Generic targets.
  21. all:        coda
  22.  
  23. install:    all
  24.     @echo Install according to local convention
  25.  
  26. clean:
  27.     rm -f *.o y.* foo core lint? tags a.out coda
  28.  
  29.  
  30. ##  Lint.
  31. lint:        lintc
  32.  
  33. lintc:        coda
  34.     lint $(DEFS) -a -h -x $(C_SRC) >lintc
  35.  
  36.  
  37. ##  Client.
  38. coda:        $(C_OBJ)
  39.     @rm -f coda
  40.     $(CC) $(CFLAGS) -o coda $(C_OBJ) $(LIBS)
  41.  
  42. $(C_OBJ):    client.h
  43.  
  44. version.o:    patchlevel.h
  45.