Source code of Windows XP (NT5)
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.

72 lines
1.6 KiB

  1. # This makefile has been generated automatically by mwgenmakeC for
  2. # compiling C++ application.
  3. COMPONENT = SHELL
  4. PRODUCT = CDFVIEW
  5. RM = /bin/rm -f
  6. PROTECT = chmod a-w
  7. UNPROTECT = chmod a+w
  8. CP = /bin/cp
  9. DOS2UNIX = /bin/dos2unix
  10. COPY = \
  11. ${RM} $@ ; \
  12. ${CP} $< $@ ; \
  13. ${UNPROTECT} $@; \
  14. ${DOS2UNIX} $@ $@
  15. NO_BROWSER_FILE = 1
  16. VOBS=/vobs
  17. CUSTOM_RULES = ${VOBS}/ie4/shell.template
  18. SOURCES_FILE = sources
  19. SOURCES_IMPORTS = TARGETTYPE TARGETNAME DLLENTRY
  20. DLLDEF_EXPORTS = \
  21. _____cdfview_initDLL
  22. DEFINES += \
  23. -DNO_BROWSER_FILE=1
  24. # Warning: DLL based on MFC (compiled with _USRDLL flag) is not supported yet.
  25. # This makefile is just for demo purpose.
  26. ## Original Windows DLL name:
  27. WDLL = cdfview
  28. ## Target Unix shared library:
  29. DLL = lib${WDLL}.${MW_SHARED_LIBRARY_SUFFIX}
  30. WRESOURCE = ${O}/cdfview.rc
  31. TRESOURCE = ${WDLL}.rxt
  32. ## COMPILE_OPTION can have the values: debug, optimized
  33. COMPILE_OPTION = debug
  34. ## you may define the following variables
  35. PROJECT_CFLAGS = ${DEFINES} -I${O} -I. -I./res -I..
  36. PROJECT_DLLFLAGS = \
  37. -lstocklib\
  38. -lshdocvw \
  39. -lurlmon\
  40. -lwininet\
  41. -lshlwapi\
  42. -lshell32\
  43. -lole32\
  44. -loleaut32\
  45. -luuid\
  46. -ladvapi32
  47. DIP_CFLAGS = -DDLL_SPECIFIC_OPERATOR_NEW
  48. __cplusplus = true
  49. include $(MWHOME)/make.rules.simple
  50. $(O)/%.rc: ../%.rc $(O)/selfreg_cdfview.inf
  51. ${ECHONOISE} "[ $(notdir $<) --> $(O)/$(notdir $@) ]"
  52. ${COPY}
  53. $(O)/%_cdfview.inf: ../res/%.inx
  54. ${ECHOOBJ}
  55. cleaninf -w $< $@