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.

39 lines
875 B

  1. TARGETNAME=ndisip
  2. TARGETPATH=obj
  3. TARGETTYPE=DRIVER
  4. USE_MAPSYM=1
  5. TARGETLIBS=$(DDK_LIB_PATH)\ndis.lib
  6. C_DEFINES=$(C_DEFINES) -DNDIS_MINIPORT_DRIVER -DNDIS40 -DNDIS40_MINIPORT
  7. C_DEFINES=$(C_DEFINES) -DBINARY_COMPATIBLE=1
  8. !if "$(BUILD_PRODUCT)" == "MILLENNIUM"
  9. C_DEFINES= $(C_DEFINES) -DWIN9X
  10. !endif
  11. # Why not the default of 0x20? (dgoll)
  12. #DRIVER_ALIGNMENT=0x200
  13. INCLUDES=..\inc
  14. SOURCES=MAIN.C \
  15. NDISAPI.C \
  16. DEVICE.C \
  17. FRAME.C \
  18. MEM.C \
  19. ADAPTER.C \
  20. NDISIP.RC
  21. !ifdef BUILD_SOFTICE_SYMBOLS
  22. CFLAGS=/Zd /Zi
  23. LINKER_FLAGS=$(LINKER_FLAGS) -map -debugtype:map
  24. TARGETPATHEX=$(TARGETPATH)\$(TARGET_DIRECTORY)
  25. NTTARGETFILES=$(TARGETPATHEX)\$(TARGETNAME).nms
  26. # .nms must be built before .dbg because splitsym removes symbols from target.
  27. NTTARGETFILES= $(TARGETPATHEX)\$(TARGETNAME).nms $(NTTARGETFILES)
  28. !endif