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