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.

42 lines
935 B

  1. TARGETNAME=passthru
  2. TARGETPATH=obj
  3. TARGETTYPE=DRIVER
  4. C_DEFINES=$(C_DEFINES) -DNDIS_MINIPORT_DRIVER -DNDIS_WDM=1
  5. !if !defined(DDK_TARGET_OS) || "$(DDK_TARGET_OS)"=="Win2K"
  6. #
  7. # The driver is built in the Win2K build environment
  8. #
  9. C_DEFINES=$(C_DEFINES) -DNDIS40_MINIPORT=1
  10. C_DEFINES=$(C_DEFINES) -DNDIS40=1
  11. !else
  12. #
  13. # The driver is built in the XP or .NET build environment
  14. # So let us build NDIS 5.1 version.
  15. #
  16. C_DEFINES=$(C_DEFINES) -DNDIS51_MINIPORT=1
  17. C_DEFINES=$(C_DEFINES) -DNDIS51=1
  18. !endif
  19. # Uncomment the following to build for Win98/SE/WinMe
  20. # This causes several APIs that are not present in Win9X to be
  21. # ifdef'ed out.
  22. # C_DEFINES=$(C_DEFINES) -DWIN9X=1
  23. PRECOMPILED_INCLUDE=precomp.h
  24. PRECOMPILED_PCH=precomp.pch
  25. PRECOMPILED_OBJ=precomp.obj
  26. TARGETLIBS=$(DDK_LIB_PATH)\ndis.lib
  27. USE_MAPSYM=1
  28. INCLUDES=
  29. SOURCES=\
  30. miniport.c \
  31. passthru.c \
  32. passthru.rc \
  33. protocol.c