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.

187 lines
4.1 KiB

  1. !IF 0
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. Sources.inc
  5. Abstract:
  6. Common makefile settings for DInput.
  7. Author:
  8. RaymondC and a-MarcAn 1996-10-17
  9. History:
  10. Date By Reason
  11. ==== == ======
  12. 1996- RaymondC first version
  13. 1996-10-17 a-MarcAn tidied and adjusted for checkin to windows\media
  14. disabled NTTARGETFILE0
  15. 1996-12-06 RaymondC Split NT and 95 versions
  16. 1997-01-09 a-MarcAn Set to OS version 0x403
  17. NOTE: Commented description of this file is in \nt\bak\bin\sources.tpl
  18. !ENDIF
  19. !ifndef DXROOT
  20. DXROOT=$(BASEDIR)\MultiMedia\DirectX
  21. !endif
  22. !INCLUDE $(DXROOT)\Project.mk
  23. # we have to be able to run w/ all versions of IE but prsht.h insists
  24. # on IE 4.0 if you pass WIN32_WINNT_VERSION of 0x0500
  25. WIN32_IE_VERSION=0x0400
  26. !IFDEF TARGET_WIN95
  27. #
  28. # CHICAGO_PRODUCT: Suppress -DWINNT
  29. # USE_MAPSYM: Create a .sym file
  30. # ALT_PROJECT_TARGET: Alternate drop point (yes, they call it `chicago')
  31. # WIN32_DEFINE: The things we #define; _WIN32_WINNT is the important one
  32. # because it's that one that gives us WH_*_LL.
  33. # We need 0x0403 to get WH_*_LL in SP3 tree
  34. #
  35. DLLBASE=0x70000000
  36. CHICAGO_PRODUCT = 1
  37. ALT_PROJECT_TARGET = WIN9x
  38. C_DEFINES=$(C_DEFINES) -DWIN95 -D_X86_
  39. WIN32_DEFINE = -DWIN32=100 -D_WIN32_WINDOWS=0x0400 -D_WIN32_WINNT=0x0400
  40. ! IF $(FREEBUILD)
  41. #Win9x Free Build
  42. #USE_NOLIBS=1
  43. TARGETLIBS= $(SDK_LIB_PATH)\exsup.lib
  44. #DLLENTRY=DllMain
  45. DLLENTRY=_DllMainCRTStartup
  46. ! ELSE
  47. # Win9x Chk Build
  48. USE_LIBCMT=1
  49. DLLENTRY=_DllMainCRTStartup
  50. ! ENDIF
  51. ! ELSE
  52. #Win2k Build
  53. DLLENTRY=DllMain
  54. ! IF defined( DIRECTX_REDIST )
  55. WIN32_WINNT_VERSION=0x0500
  56. ! ENDIF
  57. C_DEFINES=$(C_DEFINES) -DWINNT -DUNICODE
  58. !ENDIF
  59. USE_MAPSYM = 1
  60. C_DEFINES=$(C_DEFINES) -DNOWINRES -DUSE_SLOW_LL_HOOKS -DHID_SUPPORT
  61. MAJORCOMP=windows
  62. MINORCOMP=media
  63. UMTYPE=windows
  64. TARGETNAME=dinput
  65. TARGETTYPE=DYNLINK
  66. TARGETPATH=obj
  67. INCLUDES=$(INCLUDES); \
  68. ..\;\
  69. $(DXROOT)\inc;\
  70. CONDITIONAL_INCLUDES=\
  71. commctrl.rh \
  72. version.h \
  73. ieverp.h \
  74. $(CONDITIONAL_INCLUDES)
  75. NTTARGETFILES=
  76. #
  77. # 04/10/2000 - allows for addition of BoundsChecker, etc
  78. # libs specified in the OS environment
  79. #
  80. TARGETLIBS=$(TARGETLIBS) \
  81. $(SDK_LIB_PATH)\kernel32.lib \
  82. $(SDK_LIB_PATH)\advapi32.lib \
  83. $(SDK_LIB_PATH)\user32.lib \
  84. $(SDK_LIB_PATH)\uuid.lib \
  85. $(SDK_LIB_PATH)\winmm.lib \
  86. $(TARGETLIBS)
  87. LINKER_FLAGS=$(LINKER_FLAGS) -SECTION:share,RWS
  88. !IF !$(FREEBUILD)
  89. C_DEFINES=$(C_DEFINES) /DDEBUG /D_DEBUG
  90. !endif
  91. SOURCES=\
  92. ..\assert.c \
  93. ..\common.c \
  94. ..\diaphack.c \
  95. ..\dicf.c \
  96. ..\didev.c \
  97. ..\didevdf.c \
  98. ..\didevef.c \
  99. ..\diem.c \
  100. ..\diemm.c \
  101. ..\diemk.c \
  102. ..\diemh.c \
  103. ..\digenj.c \
  104. ..\dical.c \
  105. ..\dijoytyp.c \
  106. ..\dieffj.c \
  107. ..\dieffv.c \
  108. ..\dieshep.c \
  109. ..\digenk.c \
  110. ..\digenm.c \
  111. ..\digenx.c \
  112. ..\digendef.c \
  113. ..\dihel.c \
  114. ..\dimem.c \
  115. ..\dinput.c \
  116. ..\diobj.c \
  117. ..\dieff.c \
  118. ..\didenum.c \
  119. ..\dihidenm.c \
  120. ..\dihidusg.c \
  121. ..\dihid.c \
  122. ..\dihidini.c \
  123. ..\dihiddat.c \
  124. ..\diguid.c \
  125. ..\dijoycfg.c \
  126. ..\dithunk.c \
  127. ..\diaddhw.c \
  128. ..\dijoyreg.c \
  129. ..\direg.c \
  130. ..\disubcls.c \
  131. ..\diexcl.c \
  132. ..\diutil.c \
  133. ..\dilist.c \
  134. ..\dioledup.c \
  135. ..\diregutl.c \
  136. ..\diextdll.c \
  137. ..\valid.c \
  138. ..\diwinnt.c \
  139. ..\dijoyhid.c \
  140. ..\diport.c \
  141. ..\dinput.rc \
  142. ..\guids.c \
  143. ..\diriff.c \
  144. ..\diraw.c \
  145. ..\dilib1.c \
  146. ..\dilib2.c \
  147. ..\dilib3.c \
  148. ..\dilib4.c \
  149. ..\dilib5.c \
  150. DLLDEF=..\dinput.def
  151. PRECOMPILED_INCLUDE=..\dinputpr.h