home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 2 / FFMCD02.bin / new / comm / net / amitcp / amitcp-2.2 / src / devs / smakefile
Encoding:
Makefile  |  1993-12-21  |  1.7 KB  |  86 lines

  1. # $Id: Smakefile,v 1.1 1993/10/14 00:10:53 ppessi Exp $
  2. #
  3. # Smakefile for AmiTCP/IP Network Drivers
  4. #
  5. # Copyright © 1993 AmiTCP/IP Group, <amitcp-group@hut.fi>
  6. #               Helsinki University of Technology, Finland.
  7. #                  All rights reserved.
  8. #
  9. # Created      : Fri May 14 22:23:09 1993 ppessi
  10. # Last modified: Wed Oct 13 03:22:58 1993 ppessi
  11. #
  12. # $Log: Smakefile,v $
  13. # Revision 1.1  1993/10/14  00:10:53  ppessi
  14. # Initial revision
  15. #
  16. #
  17.  
  18. DEST = AmiTCP:
  19.  
  20. #
  21. # These will be made
  22. #
  23. DEVS = agnet/agnet rhslip/rhslip.device rhslip/rhcslip.device
  24.  
  25. MAKELINK = makelink
  26. MKDIR = makedir
  27. MAKE = smake
  28. RM   = delete
  29. CP = copy dates
  30.  
  31. AGNET_SRC = agnet/Smakefile agnet/agnet_rev.rev \
  32.     agnet/agnet.h agnet/agnet_protos.h agnet/bases.h agnet/lrandom.h \
  33.     agnet/agnet.c agnet/device.c agnet/init.c agnet/lrandom.c \
  34.     agnet/simplerexx.h agnet/simplerexx.c
  35.  
  36. RHSLIP_SRC = rhslip/COPYRIGHT rhslip/Smakefile     rhslip/rhslip0.config \
  37.     rhslip/Makefile.cslip rhslip/Makefile.slip \
  38.     rhslip/README.Rhialto rhslip/cslip.c rhslip/cslip.h \
  39.     rhslip/device_funcs.c rhslip/device_protos.h rhslip/endcode.asm \
  40.     rhslip/slip_device.asm rhslip/slip_device.h rhslip/slip_device.i \
  41.     rhslip/slip_rev.h rhslip/slip_rev.i rhslip/slip_rev.rev
  42.  
  43. all: devs 
  44.  
  45. devs: $(DEVS)
  46.  
  47. agnet/agnet: $(AGNET_SRC) 
  48.     execute < <
  49.     set echo on
  50.     $(RM) $@
  51.     cd agnet
  52.     $(MAKE) 
  53.     cd /
  54.     set echo off
  55. <
  56.  
  57. rhslip/rhslip.device: $(RHSLIP_SRC)
  58.     execute < <
  59.     $(RM) $@
  60.     cd rhslip
  61.     $(MAKE) rhslip.device
  62.     cd /
  63. <
  64.  
  65. rhslip/rhcslip.device: $(RHSLIP_SRC)
  66.     execute < <
  67.     $(RM) $@
  68.     cd rhslip
  69.     $(MAKE) rhcslip.device
  70.     cd /
  71. <
  72.  
  73. clean:
  74.     -$(RM) \#?/(\#?.(o|lnk|map|test)|SCOPTIONS)
  75.  
  76. cleaner: clean
  77.     -$(RM) $(DEVS) 
  78.  
  79. install: 
  80.     execute < <
  81.     cd agnet
  82.     $(MAKE) DEST=$(DEST) install
  83.     cd /rhslip
  84.     $(MAKE) DEST=$(DEST) install
  85. <
  86.