home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / INTERNET / UPC2S1.ZIP / UUCICO.MAK < prev    next >
Text File  |  1993-10-03  |  4KB  |  134 lines

  1. # *--------------------------------------------------------------------*
  2. # *     u u c i c o . m a k                                            *
  3. # *                                                                    *
  4. # *     Changes Copyright (c) 1989-1993 by Kendra Electronic           *
  5. # *     Wonderworks.                                                   *
  6. # *                                                                    *
  7. # *     All rights reserved except those explicitly granted by the     *
  8. # *     UUPC/extended license agreement.                               *
  9. # *--------------------------------------------------------------------*
  10.  
  11. #     $Id: uucico.mak 1.15 1993/10/03 20:36:50 ahd Exp $
  12. #
  13. #     Revision history:
  14. #     $Log: uucico.mak $
  15. # Revision 1.15  1993/10/03  20:36:50  ahd
  16. # Use real suspend module under OS/2
  17. #
  18. # Revision 1.14  1993/10/02  23:27:59  ahd
  19. # Add continue character
  20. #
  21. # Revision 1.13  1993/10/02  23:12:12  dmwatt
  22. # Add TCP/Ip error messages
  23. #
  24. # Revision 1.12  1993/09/29  13:17:37  ahd
  25. # Correct build of uuport.com under DOS
  26. #
  27. # Revision 1.11  1993/09/27  00:44:27  ahd
  28. # Add uuport build for OS/2.
  29. #
  30. # Revision 1.10  1993/09/25  03:07:09  ahd
  31. # Add OS/2 priority function
  32. #
  33. # Revision 1.9  1993/09/24  03:42:24  ahd
  34. # Add OS/2 named pipes support
  35. #
  36. # Revision 1.8  1993/09/20  04:36:42  ahd
  37. # TCP/IP support from Dave Watt
  38. # 't' protocol support
  39. # BC++ 1.0 for OS/2 support
  40. #
  41. # Revision 1.7  1993/08/02  03:22:25  ahd
  42. # Chaanges in support of Robert Denny's Windows 3.x support
  43. #
  44. # Revision 1.6  1993/07/31  16:21:21  ahd
  45. # Windows 3.x support
  46. #
  47.  
  48. .nosilent
  49.  
  50. !include $(UUPCDEFS)
  51.  
  52. !if $(NDEBUG)
  53. LINKOPT=$(LINKOPTN)
  54. !else
  55. LINKOPT=$(LINKOPTD)
  56. !endif
  57.  
  58. .c.obj:
  59.   $(CC) $(CCX) -I$:{ $<}
  60.  
  61. .asm.obj:
  62.         $(TASM) $(TASMOPT) $<,$(OBJ)\$&;
  63.  
  64. .c.com:
  65.         $(CC) -I$: -c- -mt -lt -v- $(CCX) -n$(SRC) $< $(UUPCLIB)
  66.         del $(@:.com=.obj)
  67.  
  68. # *--------------------------------------------------------------------*
  69. # *             *Implicit Rules*                                       *
  70. # *--------------------------------------------------------------------*
  71.  
  72. .path.asm = $(UUCICO)
  73. .path.c   = $(UUCICO)
  74.  
  75. UUCICOCOM = $(OBJ)\checktim.obj $(OBJ)\commlib.obj $(OBJ)\dcp.obj \
  76.             $(OBJ)\dcpfpkt.obj \
  77.             $(OBJ)\dcpgpkt.obj $(OBJ)\dcplib.obj $(OBJ)\dcpsys.obj\
  78.             $(OBJ)\dcpxfer.obj $(OBJ)\dcpstats.obj $(OBJ)\modem.obj\
  79.             $(OBJ)\nbstime.obj $(OBJ)\script.obj $(OBJ)\uucico.obj
  80.  
  81. !if $d(__OS2__)
  82. UUCICOOBJ = $(UUCICOCOM) $(OBJ)\ulibos2.obj $(OBJ)\ulibnmp.obj\
  83.             $(OBJ)\dcptpkt.obj $(OBJ)\prtyos2.obj $(OBJ)\suspend2.obj
  84. !elif $d(WINDOWS)
  85.  
  86. # *--------------------------------------------------------------------*
  87. # *      Delete ulibip.obj and pswerr.obj if you don't have WINSOCK.H. *
  88. # *      You also need to define NOTCPIP to commlib.c so it doesn't    *
  89. # *      try to include the suite's definition.                        *
  90. # *--------------------------------------------------------------------*
  91.  
  92. UUCICOOBJ = $(UUCICOCOM) $(OBJ)\dcptpkt.obj \
  93.             $(OBJ)\ulibwin.obj $(OBJ)\suspend.obj \
  94.             $(OBJ)\ulibip.obj $(OBJ)\pwserr.obj
  95. !else
  96. UUCICOOBJ = $(UUCICOCOM) $(OBJ)\comm.obj $(OBJ)\fossil.obj \
  97.             $(OBJ)\ulib.obj $(OBJ)\ulib14.obj $(OBJ)\ulibfs.obj \
  98.             $(OBJ)\suspend.obj
  99. !endif
  100.  
  101. # *--------------------------------------------------------------------*
  102. # *                Begin rules for building modules.                   *
  103. # *                                                                    *
  104. # *        The first definition is the one built by default.           *
  105. # *--------------------------------------------------------------------*
  106.  
  107. uucico$(PSUFFIX).exe: $(COMMON) $(UUCICOOBJ) $(LIBRARIES)
  108.         $(LINKER) $(LINKOPT) @&&|
  109. $(STARTUP)+
  110. $(UUCICOOBJ)
  111. $<
  112. $(MAP)
  113. $(LIBRARY)
  114. $(DEFFILE)
  115. |
  116. !if !$d(__OS2__)
  117.         tdstrip -s $<
  118. !endif
  119.  
  120. uuport$(PSUFFIX).exe: $(COMMON) $(OBJ)\uuport.obj $(LIBRARIES)
  121.         $(LINKER) $(LINKOPT) @&&|
  122. $(STARTUP)+
  123. $(OBJ)\uuport.obj
  124. $<
  125. $(MAP)
  126. $(LIBRARY)
  127. $(DEFFILE)
  128. |
  129. !if !$d(__OS2__)
  130.         tdstrip -s $<
  131. !endif
  132.  
  133. $(OBJ)\comm.obj: $(UUCICO)\comm.asm
  134.