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

  1. #
  2. # Smakefile for route
  3. #
  4. # Copyright © 1993 AmiTCP/IP Group, <amitcp-group@hut.fi>
  5. #                  Helsinki University of Technology, Finland.
  6. #                  All rights reserved.
  7. #
  8. # Created      : Mon Mar 22 07:17:50 1993 ppessi
  9. # Last modified: Sat Oct  9 00:11:22 1993 ppessi
  10. #
  11. # $Log: Smakefile,v $
  12. # Revision 1.4  1993/10/14  00:04:15  ppessi
  13. # SCOPTIONS is now created automatically from Smakefile
  14. #
  15. # Revision 1.3  1993/08/12  09:32:18  jraja
  16. # Changed email address.
  17. #
  18. # Revision 1.2  1993/05/04  13:43:27  jraja
  19. # *** empty log message ***
  20. #
  21. # Revision 1.1  93/05/03  10:29:30  10:29:30  jraja (Jarno Tapio Rajahalme)
  22. # Initial revision
  23. #
  24.  
  25. MAKE = smake
  26.  
  27. PROG= route
  28.  
  29. RM= delete
  30. CC= sc
  31. LD= slink
  32.  
  33. SRC= $(PROG).c 
  34. OBJS= $(PROG).o 
  35. LIBS= LIB NETLIB:net.lib 
  36.  
  37. OPTFLAGS= Optimize Stripdebug NoDebug
  38. DEBUGFLAGS= NoOptimize DEBUG=FULLFLUSH
  39.  
  40. DEFS="DEF=RCS_ID_C=static char *rcsid" \
  41.       DEF=AMIGA 
  42. IDIRS=  IDIR=netinclude: 
  43. SCFLAGS= STRINGMERGE STRUCTUREEQUIVALENCE \
  44.      NOSTACKCHECK NOMULTIPLEINCLUDES \
  45.      NOERRORSOURCE NOVERSION NOERRORHIGHLIGHT \
  46.      SMALLCODE SMALLDATA \
  47.      MAP MAPHUNK MAPSYMBOLS MAPLIB MAPXREFERENCE \
  48.      LINKEROPTIONS=plain NOICONS \
  49.      OPTINL OPTTIME OPTCOMP=5 OPTDEP=5 OPTRDEP=5 \
  50.      $(IDIRS) $(DEFS)
  51.  
  52. $(PROG): SCOPTIONS $(OBJS)
  53.     $(CC) LINK TO $@ OBJ $(OBJS) BATCH $(LIBS)
  54.  
  55. $(PROG)1: SCOPTIONS $(OBJS)
  56.     $(CC) LINK TO $@ OBJ $(OBJS) netlib:autoinit1.o BATCH $(LIBS)
  57.  
  58. $(PROG)2: SCOPTIONS $(OBJS)
  59.     $(CC) LINK TO $@ OBJ $(OBJS) netlib:autoinit2.o BATCH $(LIBS)
  60.  
  61. SCOPTIONS: Smakefile
  62.     copy to $@ <from < 
  63. $(OPTFLAGS) $(SCFLAGS) 
  64. <
  65.  
  66. # smake clean debug all to make a debugging version
  67. DEBUG:
  68.     copy to SCOPTIONS <from < 
  69. $(DEBUGFLAGS) $(SCFLAGS) 
  70. <
  71.  
  72. clean:
  73.     -$(RM) \#?.o \#?.map \#?.lnk SCOPTIONS
  74.  
  75. # DO NOT DELETE THIS LINE -- make depend depends on it.
  76.  
  77.