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.

109 lines
2.7 KiB

  1. #
  2. # Copyright (c) 1998-2000 Microsoft Corporation
  3. #
  4. #
  5. LIBS= \
  6. ..\..\..\public\sdk\lib16\libw.lib \
  7. ..\..\..\public\sdk\lib16\mmsystem.lib \
  8. ..\..\..\public\sdk\lib16\kernel.lib
  9. !if $(FREEBUILD)
  10. DEFS=
  11. !else
  12. DEFS=-DDEBUG_RETAIL=1 -DDEBUG=1
  13. !endif
  14. CL=$(DXROOT)\public\tools\c816\bin\cl
  15. ML=$(BASEDIR)\tools\x86\ml
  16. THUNK=$(BASEDIR)\tools\x86\thunk
  17. LINK=$(DXROOT)\public\tools\c816\bin\link
  18. MAPSYM=$(DXROOT)\public\tools\c816\bin\mapsym
  19. RC=$(DXROOT)\public\tools\c816\bin\rc
  20. C16FLAGS=-DWIN16 -DWINVER=0x0400 /Alnw /GD -G3s -Fd$* -Fo$@ -Fc -Fl -c $(DEFS) \
  21. -I..\..\..\public\tools\c816\inc \
  22. -I..\..\..\public\sdk\inc16
  23. AFLAGS=-D?MEDIUM -D?QUIET -c -Zm -Fo$@ $(DEFS) \
  24. -I..\..\..\public\sdk\inc16
  25. RFLAGS=$(DEFS)
  26. OBJS= \
  27. $(O)\libentry.obj \
  28. $(O)\alloc.obj \
  29. $(O)\debug.obj \
  30. $(O)\device.obj \
  31. $(O)\dmthunk.obj \
  32. $(O)\dmusic16.obj \
  33. $(O)\equeue.obj \
  34. $(O)\list.obj \
  35. $(O)\locks.obj \
  36. $(O)\midiin.obj \
  37. $(O)\midiout.obj \
  38. $(O)\dmhelp.obj \
  39. $(O)\mmdevldr.obj
  40. $(O)\dmusic16.res: ..\dmusic16.rc
  41. $(DXROOT)\public\tools\c816\bin\rc \
  42. -I..\..\..\inc \
  43. -I..\..\..\public\sdk\inc16 \
  44. $(RFLAGS) -r -fo $@ ..\dmusic16.rc
  45. $(O)\dmusic16.dll: $(OBJS) $(O)\dmusic16.res
  46. $(LINK) @<<
  47. $(OBJS: =+
  48. ),
  49. $(O)\dmusic16.dll /AL:16/onerror:noexe/NODEF,
  50. $(O)\dmusic16.map,
  51. $(LIBS),
  52. ..\dmusic16.def
  53. <<
  54. $(RC) $(O)\dmusic16.res $@
  55. $(MAPSYM) -o $(@:dll=sym) $(O)\dmusic16.map
  56. $(O)\alloc.obj: ..\alloc.c
  57. $(CL) $(C16FLAGS) ..\$(@B).c
  58. $(O)\debug.obj: ..\debug.c
  59. $(CL) $(C16FLAGS) ..\$(@B).c
  60. $(O)\device.obj: ..\device.c
  61. $(CL) $(C16FLAGS) ..\$(@B).c
  62. $(O)\dmusic16.obj: ..\dmusic16.c
  63. $(CL) $(C16FLAGS) ..\$(@B).c
  64. $(O)\equeue.obj: ..\equeue.c
  65. $(CL) $(C16FLAGS) ..\$(@B).c
  66. $(O)\list.obj: ..\list.c
  67. $(CL) $(C16FLAGS) ..\$(@B).c
  68. $(O)\locks.obj: ..\locks.c
  69. $(CL) $(C16FLAGS) ..\$(@B).c
  70. $(O)\midiin.obj: ..\midiin.c
  71. $(CL) $(C16FLAGS) ..\$(@B).c
  72. $(O)\midiout.obj: ..\midiout.c
  73. $(CL) $(C16FLAGS) ..\$(@B).c
  74. $(O)\dmhelp.obj: ..\dmhelp.asm
  75. $(ML) $(AFLAGS) ..\$(@B).asm
  76. $(O)\libentry.obj: ..\libentry.asm
  77. $(ML) $(AFLAGS) ..\$(@B).asm
  78. $(O)\mmdevldr.obj: ..\mmdevldr.asm
  79. $(ML) $(AFLAGS) ..\$(@B).asm
  80. $(O)\uldiv.obj: ..\uldiv.asm
  81. $(ML) $(AFLAGS) ..\$(@B).asm
  82. $(O)\dmthunk.obj: $(O)\dmthunk.asm
  83. $(ML) -c -DIS_16 -Fo$(O)\dmthunk.obj $(O)\dmthunk.asm
  84. $(O)\dmthunk.asm: ..\..\dmusic32\dmthunk.thk
  85. $(THUNK) -o $(O)\dmthunk.asm ..\..\dmusic32\dmthunk.thk