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.

70 lines
1.8 KiB

  1. TARGETNAME=portcls
  2. TARGETTYPE=EXPORT_DRIVER
  3. TARGETPATH=obj
  4. PASS1_PUBLISH={$(O)\portcls.lib=$(DDK_LIB_PATH)\portcls.lib}
  5. USE_MAPSYM=1
  6. PORTPATH=..\ports\lib\*
  7. MINIDIR=..\miniport\lib\*
  8. TARGETLIBS= \
  9. $(PORTPATH)\dmusprt.lib \
  10. $(PORTPATH)\topoprt.lib \
  11. $(PORTPATH)\wavecyc.lib \
  12. $(PORTPATH)\wavepci.lib \
  13. $(MINIDIR)\DMusUART.lib \
  14. $(MINIDIR)\fmsynth.lib \
  15. $(MINIDIR)\uart.lib \
  16. $(DDK_LIB_PATH)\drmk.lib \
  17. $(DDK_LIB_PATH)\ks.lib \
  18. $(DDK_LIB_PATH)\stdunk.lib
  19. INCLUDES= \
  20. ..\inc; \
  21. $(DDK_INC_PATH);
  22. MSC_WARNING_LEVEL=-W3 -WX
  23. C_DEFINES=-D_WIN32 -DUNDER_NT -DUNICODE -D_UNICODE -DUSE_DMA_MACROS
  24. #
  25. # Enable if you want PortCls to expire (nominally 60 days)
  26. #
  27. #C_DEFINES= $(C_DEFINES) -DTIME_BOMB -DDAYS_UNTIL_EXPIRATION=60
  28. #
  29. # Different levels of debug printage. First is nothing but
  30. # catastrophic errors, last is everything under the sun.
  31. #
  32. #C_DEFINES= $(C_DEFINES) -DDEBUG_LEVEL=DEBUGLVL_ERROR
  33. C_DEFINES= $(C_DEFINES) -DDEBUG_LEVEL=DEBUGLVL_TERSE
  34. #C_DEFINES= $(C_DEFINES) -DDEBUG_LEVEL=DEBUGLVL_VERBOSE
  35. #C_DEFINES= $(C_DEFINES) -DDEBUG_LEVEL=DEBUGLVL_BLAB
  36. LINKER_FLAGS=-map
  37. SOURCES= \
  38. portcls.rc \
  39. callback.cpp \
  40. dma.cpp \
  41. event.cpp \
  42. irpstrm.cpp \
  43. kso.cpp \
  44. minihelp.cpp \
  45. perf.cpp \
  46. portcls.cpp \
  47. porthelp.cpp \
  48. porttbl.cpp \
  49. power.cpp \
  50. property.cpp \
  51. registry.cpp \
  52. resource.cpp \
  53. service.cpp \
  54. shmisc.cpp \
  55. shreq.cpp \
  56. sync.cpp