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.

67 lines
1.4 KiB

  1. !ifndef DXROOT
  2. DXROOT=$(BASEDIR)\multimedia\directx
  3. !endif
  4. ALT_PROJECT_TARGET=Win9x
  5. !include $(DXROOT)\project.mk
  6. MAJORCOMP=windows
  7. MINORCOMP=directx
  8. TARGETNAME=dmusic32
  9. TARGETPATH=obj
  10. TARGETTYPE=DYNLINK
  11. UMTYPE=windows
  12. DLLDEF=..\dmusic32.def
  13. DLLENTRY=_DllMainCRTStartup
  14. CHICAGO_PRODUCT=1
  15. #
  16. # Needed as this DLL is not in the NT build, and therefore coffbase.txt
  17. #
  18. DLLBASE=0x60300000
  19. ASM_DEFINES=$(ASM_DEFINES) -DIS_32
  20. USE_MAPSYM=1
  21. USE_CRTDLL=1
  22. !if "$(NTDEBUG)" == "ntsd" || "$(NTDEBUG)" == "cvp" || "$(NTDEBUG)" == "sym"
  23. !if "$(BuildMode)" == "internal"
  24. C_DEFINES = $(C_DEFINES) -DDEBUG=1
  25. !else
  26. C_DEFINES = $(C_DEFINES) -DRDEBUG=1
  27. !endif
  28. !endif
  29. C_DEFINES= $(C_DEFINES) -D_WIN32 -D_DMUSIC_USER_MODE_
  30. !if defined(DMUSIC_INTERNAL)
  31. C_DEFINES= $(C_DEFINES) -DDMUSIC_INTERNAL
  32. !endif
  33. TARGETLIBS=$(DXROOT)\public\sdk\lib\win9x\kernel32.lib \
  34. $(BASEDIR)\public\sdk\lib\*\winmm.lib \
  35. $(BASEDIR)\public\sdk\lib\*\advapi32.lib \
  36. $(BASEDIR)\public\sdk\lib\*\user32.lib \
  37. $(BASEDIR)\public\sdk\lib\*\uuid.lib
  38. NTTARGETFILE0= \
  39. ..\i386\dmthunk.asm
  40. INCLUDES = $(DX_PROJECT_INC_PATH);\
  41. $(DXROOT)\inc;\
  42. $(BASEDIR)\public\sdk\inc;\
  43. ..\..\shared
  44. SOURCES=debug.cpp \
  45. devioctl.cpp \
  46. dm32dll.cpp \
  47. dmeport.cpp \
  48. enumport.cpp \
  49. ..\i386\dmthunk.asm \
  50. opnew.cpp \
  51. dmusic32.rc