home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / viscobv6.zip / vac22os2 / ibmcobol / samples / toolkit / tcpiptk / echosamp / echosrv / borland.mak next >
Text File  |  1996-11-19  |  4KB  |  94 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.  
  26. #---------------------------------------------------------------------------
  27. #  Make Directives
  28. #---------------------------------------------------------------------------
  29. .AUTODEPEND
  30. .SUFFIXES: .obj .c
  31.  
  32. #---------------------------------------------------------------------------
  33. #  Make Macros
  34. #---------------------------------------------------------------------------
  35. BCOS2_DIR  = D:\BCOS2
  36. TOOLKITLIB = C:\TOOLKIT\LIB
  37. STARTUP    = $(BCOS2_DIR)\lib\c02.obj
  38. LIB        = $(BCOS2_DIR)\lib
  39. INCLUDE    = $(BCOS2_DIR)\include;C:\TOOLKIT\H
  40.  
  41. CC         = bcc -c -v -w
  42.  
  43. LFLAGS     = -c -x -v -ap /w-stk
  44. LINK       = tlink $(LFLAGS) -L$(LIB) $(STARTUP)
  45.  
  46. LIBS       = c2 + os2
  47.  
  48. DLLLIBS    = $(TOOLKITLIB)\so32dll+ \
  49.          $(TOOLKITLIB)\tcp32dll+ \
  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 : echosmt.exe echosrv.exe echostcp.exe
  63.  
  64. clean:
  65.    -del *.obj
  66.    -del *.exe
  67.    -del *.lib
  68.  
  69. #---------------------------------------------------------------------------
  70. #  Dependancies of the make
  71. #---------------------------------------------------------------------------
  72.  
  73. echosmt.obj : echosmt.c borland.mak
  74.   $(CC) -I$(INCLUDE) $(CFLAGS) /DOS2 echosmt.c
  75.  
  76. echosmt.exe: echosmt.obj
  77.    $(LINK) echosmt,echosmt.exe,,$(DLLLIBS),echo.def;
  78.  
  79. echosrv.obj : echosrv.c borland.mak
  80.   $(CC) -I$(INCLUDE) $(CFLAGS) /DOS2 echosrv.c
  81.  
  82. echosrv.exe: echosrv.obj
  83.    $(LINK) echosrv,echosrv.exe,,$(DLLLIBS),echo.def;
  84.  
  85. echostcp.obj : echostcp.c borland.mak
  86.   $(CC) -I$(INCLUDE) $(CFLAGS) /DOS2 echostcp.c
  87.  
  88. echostcp.exe: echostcp.obj
  89.    $(LINK) echostcp,echostcp.exe,,$(DLLLIBS),echo.def;
  90.  
  91.  
  92. #==<eof>====================================================================
  93.  
  94.