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.

98 lines
1.9 KiB

  1. #############################################################################
  2. #
  3. # Microsoft Confidential
  4. # Copyright (C) Microsoft Corporation 1995-1996
  5. # All Rights Reserved.
  6. #
  7. # Makefile for TWEAKUI
  8. #
  9. #############################################################################
  10. # We must be Win95-compatible
  11. BLDPROJ=OPK2
  12. !IFDEF BLDROOT
  13. ROOT=$(BLDROOT)
  14. !else
  15. ROOT=c:\win32
  16. !endif
  17. SRCDIR=..
  18. IS_32=TRUE
  19. IS_SDK=TRUE
  20. IS_PRIVATE = TRUE # IShellView is internal
  21. DEPENDNAME=..\depend.mk
  22. WANT_C1032=TRUE
  23. BUILD_COFF=TRUE
  24. BUILDDLL=TRUE
  25. L32EXE=TWEAKUI.DLL
  26. L32RES=TWEAKUI.RES
  27. L32DEF=$(SRCDIR)\TWEAKUI.DEF
  28. L32MAP=TWEAKUI.MAP
  29. #
  30. # "What I say three times is true."
  31. # -- Lewis Carroll, "The Hunting of the Snark"
  32. #
  33. # I hate master.mk
  34. #
  35. DLLENTRY=Entry32
  36. DEFENTRY=Entry32
  37. L32FLAGS=$(L32FLAGS) -entry:$(DLLENTRY) -def:$(L32DEF)
  38. L32OBJS=\
  39. TWEAKUI.OBJ \
  40. COMMON.OBJ \
  41. GENERAL.OBJ \
  42. MOUSE.OBJ \
  43. EXPLORER.OBJ \
  44. LINK.OBJ \
  45. DESKTOP.OBJ \
  46. CONTROL.OBJ \
  47. NETWORK.OBJ \
  48. MYCOMP.OBJ \
  49. TOOLS.OBJ \
  50. ADDRM.OBJ \
  51. BOOT.OBJ \
  52. REPAIR.OBJ \
  53. PARANOIA.OBJ \
  54. OLE.OBJ \
  55. WITH.OBJ \
  56. PIDL.OBJ \
  57. PICKICON.OBJ \
  58. MISC.OBJ \
  59. LV.OBJ \
  60. LVCHK.OBJ \
  61. REG.OBJ \
  62. EXPIRE.OBJ \
  63. IE4.OBJ \
  64. STRINGS.OBJ \
  65. TARGETS=$(L32EXE)
  66. L32LIBSNODEP=kernel32.lib advapi32.lib user32.lib shell32.lib \
  67. comctl32.lib comdlg32.lib gdi32.lib version.lib
  68. # I hate includes.exe
  69. #
  70. # Must manually exclude all the random header files that never change.
  71. #
  72. # And it still doesn't generate the dependency for the .rc file properly,
  73. # so
  74. #
  75. # WARNING WARNING WARNING
  76. #
  77. # After an "nmake depend", append the following lines to depend.mk by hand:
  78. #
  79. # $(OBJDIR)\tweakui.res: ..\tweakui.rc ..\tweakui.h
  80. #
  81. INCFLAGS=$(INCFLAGS) -nwindows.h -nwindowsx.h -nshellapi.h -nshlobj.h -nregstr.h -ncommdlg.h -ncpl.h -ncommctrl.h -nprsht.h -n..\inc16\shsemip.h
  82. L32FLAGS=$(L32FLAGS) -base:0x40000000
  83. !include $(ROOT)\dev\master.mk
  84. INCLUDE=$(ROOT)\win\core\shell\inc;$(INCLUDE)
  85. CFLAGS=$(CFLAGS) -YX -Zp1 -Oxs -W3 -WX -Gz