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.

39 lines
782 B

  1. TARGETNAME=mux
  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. C_DEFINES=$(C_DEFINES) -DIEEE_VLAN_SUPPORT=1
  19. !endif
  20. PRECOMPILED_INCLUDE=precomp.h
  21. PRECOMPILED_PCH=precomp.pch
  22. PRECOMPILED_OBJ=precomp.obj
  23. TARGETLIBS=$(DDK_LIB_PATH)\ndis.lib
  24. INCLUDES=
  25. SOURCES=\
  26. miniport.c \
  27. mux.c \
  28. mux.rc \
  29. protocol.c