home *** CD-ROM | disk | FTP | other *** search
/ The Developer Connection…ice Driver Kit for OS/2 3 / DEV3-D1.ISO / source / wpshidl / samples / wpsamps / makefile < prev    next >
Encoding:
Makefile  |  1993-11-18  |  2.2 KB  |  59 lines

  1. #****************************************************************************
  2. #
  3. #  Work Place Shell Sample makefile
  4. #
  5. #  This makefile builds the three classes: DRAGEXAM, DRAGFOLD and MYFOLDER
  6. #
  7. #  Note: edit the environment/paths for your development environment
  8. #
  9. #  Copyright (C) 1993 IBM Corporation
  10. #
  11. #      DISCLAIMER OF WARRANTIES.  The following [enclosed] code is
  12. #      sample code created by IBM Corporation. This sample code is not
  13. #      part of any standard or IBM product and is provided to you solely
  14. #      for  the purpose of assisting you in the development of your
  15. #      applications.  The code is provided "AS IS", without
  16. #      warranty of any kind.  IBM shall not be liable for any damages
  17. #      arising out of your use of the sample code, even if they have been
  18. #      advised of the possibility of such damages.                                                    *
  19. #
  20. #****************************************************************************
  21.  
  22. !if [set INCLUDE=d:\som\include;d:\ibmcpp\include;d:\wpshidl\h;d:\toolkt21\c\os2h;.;] || \
  23.     [set LIB=d:\som\lib;d:\ibmcpp\lib;d:\toolkt21\os2lib;] || \
  24.     [set SMINCLUDE=d:\som\include;d:\wpshidl\idl;d:\toolkt21\sc;.;] || \
  25.     [set SMTMP=%TMP%] || \
  26.     [set PATH=d:\som\bin;d:\ibmcpp\bin;d:\toolkt21\os2bin;] || \
  27.     [set DPATH=d:\ibmcpp\locale;d:\ibmcpp\help;] || \
  28.     [set HELP=d:\ibmcpp\help;]
  29. !endif
  30.  
  31. SCFLAGS = -S128000 -C128000 -mnoint
  32.  
  33. all: dragexam.dll dragfold.dll myfolder.dll
  34.  
  35. dragexam.dll: dragexam.obj dragexam.c dragexam.idl
  36.    icc -q -Ss -Ge- -Rn -B"/map /noe" dragexam.DEF SOMTK.LIB dragexam.c
  37.    mapsym dragexam
  38.  
  39. dragfold.dll: dragfold.obj dragfold.idl dragfold.c
  40.    icc -q -Ss -Ge- -Rn -B"/map /noe" dragfold.DEF SOMTK.LIB dragfold.c
  41.    mapsym dragfold
  42.  
  43. myfolder.dll: myfolder.obj myfolder.idl myfolder.c myfolder.rc
  44.    icc -q -Ss -Ge- -Rn -B"/map /noe" myfolder.DEF SOMTK.LIB  myfolder.c
  45.    rc myfolder.rc myfolder.dll
  46.    mapsym myfolder
  47.  
  48.  
  49. dragexam.obj: dragexam.idl
  50.    sc $(SCFLAGS) -maddstar -r -s "c;ih;h;def" $(@B).idl
  51.  
  52. dragfold.obj: dragfold.idl
  53.    sc $(SCFLAGS) -maddstar -r -s "c;ih;h;def" $(@B).idl
  54.  
  55. myfolder.obj: myfolder.idl
  56.    sc $(SCFLAGS) -maddstar -r -s "c;ih;h;def" $(@B).idl
  57.  
  58.  
  59.