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.

147 lines
3.6 KiB

  1. # This makefile has been generated automatically by mwgenmakeC for
  2. # compiling C++ application.
  3. COMPONENT = SHELL
  4. PRODUCT = BROWSEUI
  5. VOBS=/vobs
  6. CUSTOM_RULES = ${VOBS}/ie4/shell.template
  7. SOURCES_FILE = ../sources.inc
  8. SOURCES_IMPORTS = TARGETTYPE TARGETNAME
  9. DLLENTRY=DllMain
  10. DLLDEF_SRC = ../browseui.src
  11. DLLDEF_EXPORTS = \
  12. IEFrameNewWindowSameThread\
  13. UnixSendDocToMailRecipient\
  14. _____browseui_initDLL\
  15. DEFINES = \
  16. -D_MT=1 \
  17. -DNASHVILLE \
  18. -DIN_SHDOCVW \
  19. -DUNICODE_SHDOCVW \
  20. -DFEATURE_FRAMES \
  21. -DMSOCT2=1 \
  22. -DFEATURE_URLHIST \
  23. -DFEATURE_PICS \
  24. -DFEATURE_MENUBAND \
  25. -DPAGER \
  26. -D_HSFOLDER \
  27. -D_NTSDK \
  28. -D_USRDLL \
  29. -D_ATL_MIN_CRT \
  30. -D_DESK_MOVER \
  31. -D_ATL_STATIC_REGISTRY \
  32. -DVSTF \
  33. -DNOWINRES \
  34. -DNO_SPLASHSCREEN \
  35. # -DNO_OFFICE9STYLE
  36. # Removed from IEUNIX rtw
  37. # -DBETA1_DIALMON_HACK \
  38. # Warning: DLL based on MFC (compiled with _USRDLL flag) is not supported yet.
  39. # This makefile is just for demo purpose.
  40. ## Original Windows DLL name:
  41. WDLL = browseui
  42. ## Target Unix shared library:
  43. DLL = lib${WDLL}.${MW_SHARED_LIBRARY_SUFFIX}
  44. CPP_OBJS := ${SOURCES:%.cpp=%.o}
  45. CPP_OBJS := ${CPP_OBJS:%.cxx=%.o}
  46. DLLOBJS = ${CPP_OBJS:%.c=%.o}
  47. DLLOBJS += ${TARGETS}
  48. SRCS=${SOURCES}
  49. WRESOURCE = ${O}/browseui.rc # Windows resource
  50. TRESOURCE = ${WDLL}.rxt # Target X resource (must match DLL name)
  51. BRESOURCE = ${WDLL}.rxb # Target X resource (must match DLL name)
  52. ## COMPILE_OPTION can have the values: debug, optimized
  53. COMPILE_OPTION = debug
  54. ## you may define the following variables
  55. ##
  56. PROJECT_CFLAGS = ${DEFINES} -I${O} -I..
  57. APP_RCFLAGS = -I${RUN.dir}
  58. PROJECT_DLLFLAGS = -lemclient -lbrowseuisrcc -lbrowseuisrccpp -lbrowseuisrcc \
  59. -lbrowseuint5api \
  60. -lemclient -lbrowseuisrcc -lbrowseuisrccpp -lbrowseuisrcc \
  61. -lbrowseuint5api -lshdocvw\
  62. -lshell32 -lshlwapi -lcomctl32 -lstocklib5 -lstocklib -lcomctl32 -lole32 -ladvapi32 -luuid
  63. DIP_CFLAGS = -DDLL_SPECIFIC_OPERATOR_NEW
  64. __cplusplus = true
  65. include $(MWHOME)/make.rules.simple
  66. # Using original bitmaps.
  67. # TMP_BITMAPS := /vobs/ie4/slm/bitmaps
  68. TMP_BITMAPS := ..
  69. ${O}/browseui.rc: ../browseui.rc ${O}/selfreg_browseui.inf
  70. ${ECHOOBJ}
  71. rm -f ${O}/tbdef.bmp
  72. rm -f ${O}/tbhot.bmp
  73. rm -f ${O}/tbdef16.bmp
  74. rm -f ${O}/tbhot16.bmp
  75. rm -f ${O}/tbdefhi.bmp
  76. rm -f ${O}/tbhothi.bmp
  77. cp ${TMP_BITMAPS}/tbdef.bmp ${O}/tbdef.bmp
  78. cp ${TMP_BITMAPS}/tbhot.bmp ${O}/tbhot.bmp
  79. cp ${TMP_BITMAPS}/tbdef16.bmp ${O}/tbdef16.bmp
  80. cp ${TMP_BITMAPS}/tbhot16.bmp ${O}/tbhot16.bmp
  81. cp ${TMP_BITMAPS}/tbdefhi.bmp ${O}/tbdefhi.bmp
  82. cp ${TMP_BITMAPS}/tbhothi.bmp ${O}/tbhothi.bmp
  83. rm -f ${O}/shdef.bmp
  84. rm -f ${O}/shhot.bmp
  85. rm -f ${O}/shdef16.bmp
  86. rm -f ${O}/shhot16.bmp
  87. rm -f ${O}/shdefhi.bmp
  88. rm -f ${O}/shhothi.bmp
  89. cp ${TMP_BITMAPS}/shdef.bmp ${O}/shdef.bmp
  90. cp ${TMP_BITMAPS}/shhot.bmp ${O}/shhot.bmp
  91. cp ${TMP_BITMAPS}/shdef16.bmp ${O}/shdef16.bmp
  92. cp ${TMP_BITMAPS}/shhot16.bmp ${O}/shhot16.bmp
  93. cp ${TMP_BITMAPS}/shdefhi.bmp ${O}/shdefhi.bmp
  94. cp ${TMP_BITMAPS}/shhothi.bmp ${O}/shhothi.bmp
  95. sed -f rc.sed $< > $@
  96. ${RUN.dir}/%.tlb: ${SDK_DIR}/../lib/sparc/%.tlb
  97. ${ECHOOBJ}
  98. /bin/rm -f $@
  99. /bin/rm -f ${RUN.dir}/${WDLL}.tlb
  100. /bin/cp $< $@
  101. /bin/cp $< ${RUN.dir}/${WDLL}.tlb
  102. chmod -f a-w $@
  103. ${O}/selfreg_browseui.inf: ${O}/selfreg.inx
  104. ${ECHOOBJ}
  105. cleaninf -w $< $@
  106. ${O}/selfreg.inx: ../selfreg.inx
  107. ${ECHOOBJ}
  108. rm -f ${O}/tmp.C ${O}/tmp.i
  109. cp -f $< ${O}/tmp.C
  110. mwc++ -P $< -o ${O}/tmp.i
  111. cp ${O}/tmp.i $@
  112. rm -f ${O}/tmp.C ${O}/tmp.i
  113. ifeq (${MWOS},sunos5)
  114. CCPRE= /usr/ccs/lib/cpp
  115. CCPRE_FLAGS := -B -P -DUNIX
  116. endif
  117. ifeq (${MWOS},ux10)
  118. CCPRE= gcc
  119. CCPRE_FLAGS := -P -E -DUNIX
  120. endif
  121. ${O}/%.dls: %.dlg
  122. ${ECHOOBJ}
  123. ${CCPRE} ${CCPRE_FLAGS} $< > $@