home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / dsstlkt5.zip / dssos2tk / dss / MAKE.1 < prev    next >
Text File  |  1998-05-08  |  3KB  |  80 lines

  1. ###
  2. ### Makefile for DSS Toolkit Sample Applications
  3. ###
  4. ### This makefile assumes that the proper environment
  5. ### variables have been set up to point to the directories
  6. ### containing the OS/2 3.0 toolkit, the IBM Visual Age C++
  7. ### for OS/2 version 3.0 compiler, and the DSS Toolkit headers
  8. ### and .LIB files.
  9. ###
  10. ### For example, assume that
  11. ### - the VACPP compiler is installed on drive Z:,
  12. ###   in the IBMCPP.30 directory (and its subdirectories)
  13. ### - the OS/2 3.0 toolkit is also installed on drive Z:,
  14. ###   in the TOOLKT30 directory (and its subdirectories)
  15. ### - the DSS toolkit is installed on drive L:, in
  16. ###   subdirectories of L:\IBMLAN\NETSRC.
  17. ###
  18. ### The makefile also assumes that source files are in the current
  19. ### directory.  Object and executable files will be placed in the
  20. ### current directory.
  21. ###
  22. ### To set up the environment to build the sample programs,
  23. ### the following statements would be issued at the command line:
  24. ###
  25. ### SET BEGINLIBPATH=Z:\IBMCPP.30\DLL;%BEGINLIBPATH%
  26. ### PATH=Z:\IBMCPP.30\BIN;Z:\TOOLKT30\BIN;%path%
  27. ### SET DPATH=Z:\IBMCPP.30\LOCALE;Z:\IBMCPP.30\HELP;%DPATH%
  28. ### SET INCLUDE=Z:\IBMCPP.30\INCLUDE;Z:\TOOLKT30\H;L:\IBMLAN\NETSRC\H;%INCLUDE%
  29. ### SET LIB=Z:\IBMCPP.30\LIB;Z:\TOOLKT30\LIB;L:\IBMLAN\NETSRC\OS2\LIB;%LIB%
  30. ### SET HELP=Z:\IBMCPP.30\HELP;%HELP%
  31. ### SET BOOKSHELF=Z:\IBMCPP.30\HELP;%BOOKSHELF%
  32. ### SET HELPNDX=DDE4.NDX+%HELPNDX%
  33. ### SET TZ=EST5EDT,0,0,0,0,0,0,0,0,0
  34. ###
  35. ### To invoke this makefile, type:
  36. ###    nmake -e
  37. ###
  38.  
  39. all: fileen32.exe messag32.exe mlogon32.exe sadmin32.exe alias32.exe user32.exe
  40.  
  41. fileen32.exe: fileen32.obj errmsg32.obj
  42.    ilink  /DE /CO fileen32.obj errmsg32.obj netapi32.lib sample32.def
  43.  
  44. messag32.exe: messag32.obj
  45.    ilink  /DE /CO messag32.obj netapi32.lib sample32.def
  46.  
  47. mlogon32.exe: mlogon32.obj errmsg32.obj
  48.    ilink  /DE /CO /ST:8192 mlogon32.obj upm32.lib sample32.def
  49.  
  50. sadmin32.exe: sadmin32.obj errmsg32.obj
  51.    ilink  /DE /CO sadmin32.obj errmsg32.obj netapi32.lib sample32.def
  52.  
  53. alias32.exe: alias32.obj
  54.    ilink  /DE /CO alias32.obj errmsg32.obj netapi32.lib sample32.def
  55.  
  56. user32.exe: user32.obj
  57.    ilink  /DE /CO user32.obj errmsg32.obj netapi32.lib sample32.def
  58.  
  59. errmsg32.obj: errmsg.c
  60.    -icc /W3 /C /Foerrmsg32 /Gt+ /Ti+ /DPURE_32   errmsg.c
  61.  
  62. fileen32.obj: fileen32.c
  63.    -icc /W3 /C /Gt+ /Ti+ /DPURE_32   fileen32.c
  64.  
  65. messag32.obj: messag32.c
  66.    -icc /W3 /C /Gt+ /Ti+ /DPURE_32  messag32.c
  67.  
  68. mlogon32.obj: mlogon32.c
  69.    -icc /W3 /C /Gt+ /Ti+ /DPURE_32  /Fomlogon32.obj mlogon32.c
  70.  
  71. sadmin32.obj: sadmin32.c
  72.    -icc /W3 /C /Gt+ /Ti+ /DPURE_32  sadmin32.c
  73.  
  74. alias32.obj: alias32.c
  75.    -icc /W3 /C /Gt+ /Ti+ /DPURE_32  alias32.c
  76.  
  77. user32.obj: user32.c
  78.    -icc /W3 /C /Gt+ /Ti+ /DPURE_32  user32.c
  79.  
  80.