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.

48 lines
1.1 KiB

  1. !INCLUDE ..\..\swrast.inc
  2. # Standard sources.inc stuff
  3. MAJORCOMP=d3d
  4. MINORCOMP=d3d8
  5. TARGETNAME=samplesw
  6. TARGETPATH=obj
  7. TARGETTYPE=DYNLINK
  8. DLLENTRY=_DllMainCRTStartup
  9. # .def (Exports) file built from .src file
  10. DLLDEF=$O\samplesw.def
  11. # Do we need this? On for Multi-processor build safety.
  12. # SYNCHRONIZE_DRAIN=1
  13. # Use C++ exception handling for now, so we can rapidly build with STL
  14. USE_NATIVE_EH=1
  15. # Shell Team indicates MSVCRT should be used.
  16. USE_MSVCRT=1
  17. !IF "$(NTDEBUG)" == "ntsd"
  18. DEBUG_CRTS=1
  19. !ENDIF
  20. # We need notably <ddraw.h>, <ddrawi.h>, <d3dhal.h>, & <d3d8ddi.h>
  21. # This could be cleaned up. The interface is not available to the public,
  22. # so the files needed shouldn't be in public, but some directories seem too "private".
  23. # See the precompiled header for concrete listing of files.
  24. INCLUDES = ..\;$(INCLUDES)
  25. PRECOMPILED_INCLUDE=..\pch.h
  26. PRECOMPILED_CXX=1
  27. TARGETLIBS = \
  28. $(SDK_LIB_PATH)\user32.lib \
  29. $(SDK_LIB_PATH)\oleaut32.lib \
  30. $(SDK_LIB_PATH)\advapi32.lib \
  31. $(SDK_LIB_PATH)\uuid.lib \
  32. $(SDK_LIB_PATH)\winmm.lib \
  33. $(SDK_LIB_PATH)\msvcprt.lib \
  34. $(SDK_LIB_PATH)\kernel32.lib
  35. SOURCES = \
  36. ..\SampleSW.cpp \
  37. ..\Main.cpp