win-pvdrivers

view xennet/sources @ 914:3c7778b9f877

Rename xennet* to xennet5* to prepare for creation of NDIS6 driver
author James Harper <james.harper@bendigoit.com.au>
date Sat Apr 30 10:57:23 2011 +1000 (2011-04-30)
parents 730447ed7524
children 4cda50fe71d5
line source
1 !include "..\common.inc"
2 TARGETNAME=xennet
3 TARGETTYPE=DRIVER
4 INF_NAME=$(TARGETNAME)
5 !IF "$(WIN2K_DDKBUILD)" == "1"
6 C_DEFINES=$(C_DEFINES) -D_WIN2K_COMPAT_SLIST_USAGE
7 !ENDIF
8 TARGETLIBS=$(TARGETLIBS) $(DDK_LIB_PATH)\ndis.lib
9 TARGETLIBS=$(TARGETLIBS) ..\xenpci\$(O)\xenpci.lib
10 !IF $(386)
11 TARGETLIBS=$(TARGETLIBS) $(LIBLFDS_DIR)\bin\i386\liblfds.lib
12 !ELSE
13 TARGETLIBS=$(TARGETLIBS) $(LIBLFDS_DIR)\bin\AMD64\liblfds.lib
14 !ENDIF
15 !IF "$(DDK_TARGET_OS)" == "Win2K" || "$(DDK_TARGET_OS)" == "WinXP" || "$(DDK_TARGET_OS)" == "WinNET"
16 C_DEFINES=$(C_DEFINES) -D_GPLPV_NDIS5
17 !ELSE
18 C_DEFINES=$(C_DEFINES) -D_GPLPV_NDIS6
19 !ENDIF
20 NTTARGETFILES=$(NTTARGETFILES) $(OBJ_PATH)\$(O)\$(INF_NAME).inf
21 SOURCES=xennet.rc xennet.c xennet_tx.c xennet_rx.c xennet_oid.c xennet_common.c