Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

168 lines
4.7 KiB

  1. ###############################################################################
  2. #
  3. # Microsoft Confidential
  4. # Copyright (C) Microsoft Corporation 1996-1998
  5. # All Rights Reserved.
  6. #
  7. # Internet SDK include files
  8. #
  9. ###############################################################################
  10. !ifndef ARCH
  11. ARCH =i386
  12. ARCHTOOLS=x86
  13. !endif
  14. IS_32 =TRUE
  15. IS_SDK =TRUE
  16. WANT_C1032=TRUE
  17. DEVTOOLS =$(ROOT)\dev\tools\binw\$(ARCHTOOLS)
  18. SDKINCDIR=$(ROOT)\dev\sdk\inc
  19. INCDIR=$(ROOT)\dev\inc
  20. COMMONTOOLS=$(ROOT)\dev\tools\common
  21. PROXY=..\proxy
  22. MIDL =$(DEVTOOLS)\midl.exe
  23. MIDLFLAGS = /client none /server none /ms_ext /c_ext /env win32 /Oic -D_MIDL_USER_MARSHAL_DISABLED=1
  24. TLBFLAGS = -o Errors.log \
  25. -cpp_opt "-I.. -I. /C /E /D__MKTYPLIB__ -nologo "
  26. # List of main dependents
  27. LOCLIST= comcat.h docobj.h hlink.h hliface.h urlmon.h urlhist.h \
  28. inetsdk.h wininet.h urlcache.h servprov.h htiframe.h htiface.h exdisp.h activaut.h activscp.h \
  29. activdbg.h objsafe.h mimeinfo.h
  30. DEPLIST= $(SDKINCDIR)\comcat.h $(SDKINCDIR)\docobj.h \
  31. $(SDKINCDIR)\hlink.h $(SDKINCDIR)\hliface.h $(SDKINCDIR)\urlmon.h \
  32. $(SDKINCDIR)\inetsdk.h \
  33. $(SDKINCDIR)\wininet.h \
  34. $(INCDIR)\wininet.h \
  35. $(SDKINCDIR)\urlcache.h $(SDKINCDIR)\htiface.h $(SDKINCDIR)\htiframe.h \
  36. $(SDKINCDIR)\servprov.h \
  37. $(SDKINCDIR)\exdispid.h \
  38. $(SDKINCDIR)\hlinkez.h \
  39. $(SDKINCDIR)\activaut.h \
  40. $(SDKINCDIR)\activscp.h \
  41. $(SDKINCDIR)\activdbg.h \
  42. $(SDKINCDIR)\autodiscovery.h \
  43. $(SDKINCDIR)\objsafe.h \
  44. $(SDKINCDIR)\urlhist.h \
  45. $(SDKINCDIR)\mimeinfo.h \
  46. ..\retail\$(ARCH)\exdisp.tlb
  47. CLEANLIST=$(DEPLIST) $(LOCLIST) *.x Errors.log
  48. MAKE: $(DEPLIST)
  49. ###### Don't move this line #######
  50. !include $(ROOT)\dev\master.mk
  51. ###################################
  52. ..\retail\$(ARCH)\exdisp.tlb: exdisp.odl
  53. mktyplib $(TLBFLAGS) -tlb ..\retail\$(ARCH)\exdisp.tlb -h exdisp.h $?
  54. copy exdisp.h $(SDKINCDIR)
  55. $(SDKINCDIR)\exdispid.h: exdispid.h
  56. copy exdispid.h $(SDKINCDIR)
  57. $(SDKINCDIR)\shdispid.h: shdispid.h
  58. copy shdispid.h $(SDKINCDIR)
  59. $(SDKINCDIR)\comcat.h comcat.h: comcat.idl
  60. $(SDKINCDIR)\activaut.h activaut.h: activaut.idl
  61. $(MIDL) $(MIDLFLAGS) /header $(*B).h \
  62. /iid ..\uuid\$(*B).c $?
  63. copy $(*B).h $(SDKINCDIR)
  64. $(SDKINCDIR)\activscp.h activscp.h: activscp.idl
  65. $(MIDL) $(MIDLFLAGS) /header $(*B).h \
  66. /iid ..\uuid\$(*B).c $?
  67. copy $(*B).h $(SDKINCDIR)
  68. $(SDKINCDIR)\activdbg.h activdbg.h: activdbg.idl
  69. $(MIDL) $(MIDLFLAGS) /header $(*B).h \
  70. /iid ..\uuid\$(*B).c $?
  71. copy $(*B).h $(SDKINCDIR)
  72. $(SDKINCDIR)\AutoDiscovery.h AutoDiscovery.h: AutoDiscovery.idl
  73. $(MIDL) $(MIDLFLAGS) /header $(*B).h \
  74. /iid ..\uuid\$(*B).c $?
  75. copy $(*B).h $(SDKINCDIR)
  76. $(SDKINCDIR)\objsafe.h objsafe.h: objsafe.idl
  77. $(MIDL) $(MIDLFLAGS) /header $(*B).h \
  78. /iid ..\uuid\$(*B).c $?
  79. copy $(*B).h $(SDKINCDIR)
  80. $(SDKINCDIR)\urlmon.h urlmon.h: urlmon.idl
  81. $(MIDL) $(MIDLFLAGS) /header $(*B).h \
  82. /iid ..\uuid\$(*B).c $?
  83. copy $(*B).h $(SDKINCDIR)
  84. $(SDKINCDIR)\urlhist.h urlhist.h: urlhist.idl
  85. $(MIDL) $(MIDLFLAGS) /header $(*B).h \
  86. /iid ..\uuid\$(*B).c $?
  87. copy $(*B).h $(SDKINCDIR)
  88. $(SDKINCDIR)\docobj.h docobj.h: docobj.idl
  89. $(SDKINCDIR)\hliface.h hliface.h: hliface.idl
  90. $(SDKINCDIR)\htiframe.h htiframe.h: htiframe.idl
  91. $(SDKINCDIR)\htiface.h htiface.h: htiface.idl
  92. $(SDKINCDIR)\mimeinfo.h mimeinfo.h: mimeinfo.idl
  93. $(SDKINCDIR)\hlink.h hlink.h: hlink.idl
  94. $(SDKINCDIR)\hlinkez.h: hlinkez.h
  95. copy hlinkez.h $(SDKINCDIR)
  96. $(SDKINCDIR)\inetsdk.h inetsdk.h: inetsdk.idl
  97. $(SDKINCDIR)\servprov.h servprov.h: servprov.idl
  98. $(SDKINCDIR)\urlmon.h urlmon.h: urlmon.idl
  99. $(SDKINCDIR)\urlcache.h urlcache.h: urlcache.w
  100. wininet.h: wininet.w
  101. $(SDKINCDIR)\wininet.h $(INCDIR)\wininet.h : wininet.h
  102. inetsdk.idl: comcat.idl docobj.idl urlmon.idl hlink.idl activaut.idl activscp.idl activdbg.idl AutoDiscovery.idl objsafe.idl
  103. .idl.h:
  104. $(MIDL) $(MIDLFLAGS) /dlldata ..\proxy\dlldata.c /header $(*B).h \
  105. /iid ..\uuid\$(*B).c /proxy ..\proxy\$(*B).c $?
  106. copy $(*B).h $(SDKINCDIR)
  107. .idl{$(SDKINCDIR)}.h:
  108. $(MIDL) $(MIDLFLAGS) /dlldata ..\proxy\dlldata.c /header $(*B).h \
  109. /iid ..\uuid\$(*B).c /proxy ..\proxy\$(*B).c $?
  110. copy $(*B).h $(SDKINCDIR)
  111. .w.h:
  112. -del $(*B).x > NUL
  113. -del $(*B).p > NUL
  114. $(DEVTOOLS)\hsplit -4 -o $(*B).x $(*B).p $(*B).w
  115. $(DEVTOOLS)\wcshdr < $(*B).x > $(*B).h
  116. del $(*B).x
  117. -del $(*B).p > NUL
  118. .h{$(INCDIR)}.h:
  119. copy $(*B).h $(INCDIR)
  120. .h{$(SDKINCDIR)}.h:
  121. $(COMMONTOOLS)\mkpublic $(*B).h $(SDKINCDIR)\$(*B).h
  122. .odl{..\retail\$(ARCH)}.tlb:
  123. .odl.tlb:
  124. mktyplib $(TLBFLAGS) -tlb ..\retail\$(ARCH)\$*.tlb $*.odl
  125. # Add suffixes for MIDL compiler, Type Lib, and UNICODE coversion
  126. .SUFFIXES: .idl .w .odl .tlb