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

  1. #begin sources file
  2. !ifndef DXROOT
  3. DXROOT=$(BASEDIR)\MultiMedia\DirectX
  4. !endif
  5. !INCLUDE $(DXROOT)\Project.mk
  6. MAJORCOMP=dinput
  7. MINORCOMP=dimap
  8. TARGETNAME=dimap
  9. TARGETPATH=obj
  10. TARGETTYPE=DYNLINK
  11. TARGETEXT=dll
  12. UMTYPE=windows
  13. USER_C_FLAGS=$(USER_C_FLAGS) /EHsc
  14. !IFDEF TARGET_WIN95
  15. CHICAGO_PRODUCT = 1
  16. ALT_PROJECT_TARGET = WIN9x
  17. C_DEFINES=$(C_DEFINES) -DWIN95 -D_X86_
  18. !ELSE
  19. C_DEFINES=$(C_DEFINES) -DWINNT -DUNICODE
  20. !ENDIF
  21. DLLDEF=..\dimap.def
  22. USE_LIBCMT=1
  23. DLLENTRY=_DllMainCRTStartup
  24. INCLUDES= $(INCLUDES);\
  25. $(DXROOT)\inc;\
  26. #
  27. # 04/10/2000 - allows for addition of BoundsChecker, etc
  28. # libs specified in the OS environment
  29. #
  30. TARGETLIBS=$(TARGETLIBS) \
  31. $(SDK_LIB_PATH)\libcpmt.lib \
  32. $(SDK_LIB_PATH)\kernel32.lib \
  33. $(SDK_LIB_PATH)\shell32.lib \
  34. $(SDK_LIB_PATH)\advapi32.lib \
  35. $(SDK_LIB_PATH)\user32.lib \
  36. $(SDK_LIB_PATH)\ole32.lib \
  37. $(SDK_LIB_PATH)\dinput8.lib
  38. # Generate symbol file
  39. USE_MAPSYM=1
  40. # Generate PDB file
  41. USE_PDB=1
  42. !IF !$(FREEBUILD)
  43. C_DEFINES=$(C_DEFINES) /DDEBUG /D_DEBUG
  44. !endif
  45. SOURCES=\
  46. ..\dimap.rc \
  47. ..\dimap.cpp \
  48. ..\guids.cpp \
  49. ..\obj.c \
  50. ..\newthrow.cpp \
  51. #end sources file