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.4 KiB

  1. ROOT =..\..\..
  2. TARGETTYPE=WINAPP
  3. BASE =VOLUME
  4. NAME =SNDVOL32
  5. EXT =exe
  6. OBJS =volume.obj \
  7. dlg.obj \
  8. choice.obj \
  9. reg.obj \
  10. vu.obj \
  11. pvcd.obj \
  12. mixer.obj \
  13. nonmixer.obj \
  14. utils.obj
  15. LIBS =shell32.lib \
  16. winmm.lib \
  17. libc.lib \
  18. version.lib \
  19. user32.lib \
  20. gdi32.lib \
  21. kernel32.lib \
  22. comctl32.lib \
  23. advapi32.lib
  24. GOALS =$(PBIN)\$(NAME).$(EXT) $(PBIN)\$(NAME).sym
  25. !if "$(DEBUG)" == "retail"
  26. DEF =
  27. CDEBUG =$(DEF) -Oxs
  28. L32DEBUG=-debug:none
  29. !else
  30. !if "$(DEBUG)" == "debug"
  31. DEF =-DDEBUG_RETAIL
  32. CDEBUG =$(DEF) -Oxs
  33. L32DEBUG=-debug:none
  34. !else
  35. DEF =-DDEBUG
  36. CDEBUG =$(DEF) -Od
  37. L32DEBUG=-debug:full -debugtype:coff
  38. !endif
  39. !endif
  40. CFLAGS =-W3 -D_X86_ $(CDEBUG) -I$(PVER) -Fo$@
  41. RCFLAGS =$(RDEBUG) -v
  42. L32FLAGS=$(L32DEBUG)
  43. IS_32 =TRUE
  44. IS_OEM =TRUE
  45. WANT_C932 =TRUE
  46. !include $(ROOT)\build\project.mk
  47. $(BASE).RES: ..\..\$$(@B).rc ..\..\$(NAME).rcv
  48. @$(RC) $(RCFLAGS) -fo$@ -I$(PVER) -I..\.. ..\..\$(@B).rc
  49. $(NAME).$(EXT) $(NAME).map: $(OBJS) $(BASE).res
  50. @$(LINK32) $(L32FLAGS) @<<
  51. $(L32FLAGS)
  52. -merge:.rdata=.text
  53. -merge:.bss=.data
  54. -base:0x00400000
  55. -machine:ix86
  56. -out:$(@B).$(EXT)
  57. -map:$(@B).map
  58. -subsystem:windows,4.0
  59. $(BASE).RES
  60. $(LIBS)
  61. $(OBJS)
  62. <<