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 / metaware.mak < prev    next >
Text File  |  1996-11-19  |  3KB  |  78 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. #  Compiler options:
  26. #
  27. #   -g    : Generate debugger information
  28. #   -W2   : Produce severe errors, errors and warnings
  29. #   -c    : Compile only
  30. #   -D    : define Macro
  31. #   -Idir : Specify a directory (dir) to search for include files 
  32. #
  33. #
  34. #  Linker options:
  35. #
  36. #   /De  : Prepare for Debugging
  37. #   /NOI : Preserve the case sensitivity
  38. #
  39. #
  40. #  To clean up the directory and go back to just the original files
  41. #   issue: nmake -f metaware.mak clean
  42.  
  43. HCOSLIB = D:\HCOS2\LIB
  44. LIBLIST = so32dll.lib tcp32dll.lib $(HCOSLIB)\os2386.lib $(HCOSLIB)\hct.lib
  45.  
  46. # Define the Compiler program to use
  47. CC   = hc -g -w2 -DOS2 -c -Ic:\toolkit\h
  48.  
  49. # Define the Linker program to use
  50. LINK =link386
  51.  
  52. #=======================================================================
  53.  
  54. ALL : echosmt.exe echosrv.exe echostcp.exe
  55.  
  56. echosmt.obj : echosmt.c watcom.mak
  57.   $(CC) echosmt.c
  58.  
  59. echosmt.exe: echosmt.obj
  60.   $(LINK) /De echosmt $(HCOSLIB)\startup.obj,echosmt.exe,NUL,$(LIBLIST),echo.def;
  61.  
  62. echosrv.obj : echosrv.c watcom.mak
  63.   $(CC) echosrv.c
  64.  
  65. echosrv.exe: echosrv.obj
  66.   $(LINK) /De echosrv $(HCOSLIB)\startup.obj,echosrv.exe,NUL,$(LIBLIST),echo.def;
  67.  
  68. echostcp.obj : echostcp.c watcom.mak
  69.   $(CC) echostcp.c
  70.  
  71. echostcp.exe: echostcp.obj
  72.   $(LINK) /De echostcp $(HCOSLIB)\startup.obj,echostcp.exe,NUL,$(LIBLIST),echo.def;
  73.  
  74. clean:
  75.     -del *.obj
  76.     -del *.exe
  77.  
  78.