home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winui / shell / regview / makefile < prev    next >
Encoding:
Makefile  |  1997-09-05  |  2.0 KB  |  68 lines

  1. Proj = RegView
  2. dll = 1
  3.  
  4. # These are "extra" libs beyond the standard set that inetsdk.mak will
  5. #  append to the libs set
  6.  
  7. libs=shell32.lib comctl32.lib
  8.  
  9. # pull in the master SDK makefile that defines all of the macros
  10. #  and all of the build rules
  11.  
  12. !include <inetsdk.mak>
  13.  
  14. # itemize all of the required Object files
  15.  
  16. Objs =   $(ObjDir)\$(Proj).Res  \
  17.          $(ObjDir)\$(Proj).Obj  \
  18.          $(ObjDir)\ClsFact.Obj \
  19.          $(ObjDir)\EnumIDL.Obj \
  20.          $(ObjDir)\ShlFldr.Obj \
  21.          $(ObjDir)\ShlView.Obj \
  22.          $(ObjDir)\PidlMgr.Obj \
  23.          $(ObjDir)\InfoTip.Obj \
  24.          $(ObjDir)\ExtrIcon.Obj \
  25.          $(ObjDir)\DockWndw.Obj \
  26.          $(ObjDir)\Utility.Obj
  27.  
  28. # itemize all of the required include files
  29.  
  30. Includes =  ClsFact.h \
  31.             EnumIDL.h \
  32.             guid.h \
  33.             ShlFldr.h \
  34.             ShlView.h \
  35.             PidlMgr.h \
  36.             InfoTip.h \
  37.             ExtrIcon.h \
  38.             DockWndw.h \
  39.             Utility.h \
  40.             tools.h \
  41.             resource.h
  42.  
  43. # add the .def file to the link flags
  44. linkflags = $(linkflags) -def:RegView.def
  45.  
  46. $(ObjDir)\$(Proj).res   : $(@B).rc $(Includes)  RegView.Ico \
  47.                                                 Folder.ico \
  48.                                                 FolderOp.ico \
  49.                                                 String.ico
  50.  
  51. $(ObjDir)\RegView.Obj   : $(@B).Cpp $(Includes)
  52. $(ObjDir)\ClsFact.Obj   : $(@B).Cpp $(Includes)
  53. $(ObjDir)\EnumIDL.Obj   : $(@B).Cpp $(Includes)
  54. $(ObjDir)\ShlFldr.Obj   : $(@B).Cpp $(Includes)
  55. $(ObjDir)\ShlView.Obj   : $(@B).Cpp $(Includes)
  56. $(ObjDir)\PidlMgr.Obj   : $(@B).Cpp $(Includes)
  57. $(ObjDir)\InfoTip.Obj   : $(@B).Cpp $(Includes)
  58. $(ObjDir)\ExtrIcon.Obj  : $(@B).Cpp $(Includes)
  59. $(ObjDir)\DockWndw.Obj  : $(@B).Cpp $(Includes)
  60. $(ObjDir)\Utility.Obj   : $(@B).Cpp $(Includes)
  61.  
  62. $(ObjDir)\$(Proj).dll   : $(Objs)
  63.  
  64. All: $(ObjDir)\$(Proj).dll
  65.    regsvr32.exe /s /c $(ObjDir)\$(Proj).dll >> $(ObjDir)\Register.Out
  66.  
  67.  
  68.