home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / viscobv6.zip / vac22os2 / ibmcobol / samples / toolkit / tcpiptk / rcopy / borland.mak next >
Text File  |  1996-11-19  |  4KB  |  82 lines

  1. #********************************************************copyrite.xic******/
  2. #                                                                          /
  3. #   Licensed Materials - Property of IBM                                   /
  4. #   IBM TCP/IP for OS/2                                                    /
  5. #   (C) Copyright IBM Corporation. 1996.                                   /
  6. #                                                                          /
  7. #   All rights reserved.                                                   /
  8. #                                                                          /
  9. #   US Government Users Restricted Rights -                                /
  10. #   Use, duplication or disclosure restricted by GSA ADP Schedule          /
  11. #   Contract with IBM Corp.                                                /
  12. #                                                                          /
  13. #--------------------------------------------------------------------------/
  14. #                                                                          /
  15. #  DISCLAIMER OF WARRANTIES.  The following [enclosed] code is             /
  16. #  sample code created by IBM Corporation. This sample code is not         /
  17. #  part of any standard or IBM product and is provided to you solely       /
  18. #  for  the purpose of assisting you in the development of your            /
  19. #  applications.  The code is provided "AS IS", without                    /
  20. #  warranty of any kind.  IBM shall not be liable for any damages          /
  21. #  arising out of your use of the sample code, even if they have been      /
  22. #  advised of the possibility of such damages.                             /
  23. #                                                                          /
  24. #--------------------------------------------------------------------------/
  25. #  Make Directives
  26. #--------------------------------------------------------------------------/
  27. .AUTODEPEND
  28. .SUFFIXES: .obj .c
  29.  
  30. #--------------------------------------------------------------------------/
  31. #  Make Macros
  32. #--------------------------------------------------------------------------/
  33. BCOS2_DIR  = D:\BCOS2
  34. TOOLKITLIB = C:\TOOLKIT\LIB
  35. STARTUP    = $(BCOS2_DIR)\lib\c02.obj
  36. LIB        = $(BCOS2_DIR)\lib
  37. INCLUDE    = $(BCOS2_DIR)\include;C:\TOOLKIT\H
  38.  
  39. CC         = bcc -c -v -w
  40.  
  41. LFLAGS     = -c -x -v -ap /w-stk
  42. LINK       = tlink $(LFLAGS) -L$(LIB) $(STARTUP)
  43.  
  44. LIBS       = c2 + os2
  45. DLLLIBS    = $(TOOLKITLIB)\ftpapi+  \
  46.          c2mt + os2
  47. #DLLLIBS    = $(TOOLKITLIB)\so32dll+ \
  48. #         $(TOOLKITLIB)\tcp32dll+ \
  49. #         $(TOOLKITLIB)\ftpapi+  \
  50. #         c2mt + os2
  51.  
  52. #--------------------------------------------------------------------------/
  53. #  Make Rules
  54. #--------------------------------------------------------------------------/
  55. .c.obj:
  56.    $(CC) $(CFLAGS) -I$(INCLUDE) {$< }
  57.  
  58. #===========================================================================
  59. #        Explicit Rules
  60. #===========================================================================
  61.  
  62. ALL : rcopy.exe
  63.  
  64. clean:
  65.    -del *.obj
  66.    -del *.exe
  67.  
  68. #--------------------------------------------------------------------------/
  69. #  Dependancies of the make
  70. #--------------------------------------------------------------------------/
  71. #ftpapi.lib: c:\tcpip\dll\ftpapi.dll
  72. #   implib ftpapi.lib c:\tcpip\dll\ftpapi.dll
  73.  
  74. rcopy.obj: rcopy.c
  75.    $(CC) -I$(INCLUDE) $(CFLAGS) /DOS2 rcopy.c
  76.  
  77. rcopy.exe: rcopy.obj rcopyb.def
  78.    $(LINK) rcopy.obj,rcopy.exe,,$(DLLLIBS),rcopyb.def
  79.  
  80. #==<eof>====================================================================
  81.  
  82.