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.

41 lines
830 B

  1. # Copyright (c) Microsoft Corporation. All rights reserved.
  2. #
  3. # sources
  4. # Microsoft Virutal Miniport Driver
  5. # BUILD command sources file
  6. #
  7. TARGETNAME=netvmini
  8. TARGETPATH=obj
  9. TARGETTYPE=DRIVER
  10. TARGETLIBS=$(DDK_LIB_PATH)\ndis.lib
  11. # System and NDIS wrapper definitions.
  12. C_DEFINES=$(C_DEFINES) -DNDIS_MINIPORT_DRIVER=1
  13. C_DEFINES=$(C_DEFINES) -DNDIS_WDM=1 -DIOCTL_INTERFACE
  14. !if !defined(DDK_TARGET_OS) || "$(DDK_TARGET_OS)"=="Win2K"
  15. #
  16. # The driver is built in the Win2K build environment
  17. #
  18. C_DEFINES=$(C_DEFINES) -DNDIS50_MINIPORT=1
  19. !else
  20. #
  21. # The driver is built in the XP or .NET build environment
  22. # So let us build NDIS 5.1 version.
  23. #
  24. C_DEFINES=$(C_DEFINES) -DNDIS51_MINIPORT=1
  25. !endif
  26. SOURCES = \
  27. miniport.c \
  28. init.c \
  29. request.c \
  30. sendrcv.c \
  31. ioctl.c \
  32. netvmini.rc