win-pvdrivers

changeset 368:fa0a44a14fe3

modify xenpci mingw build for new file locations
author Andy Grover <andy.grover@oracle.com>
date Wed Jul 09 00:10:57 2008 -0700 (2008-07-09)
parents a438a146b2ae
children 5a762fd1fba9
files xenpci/makefile.mingw xenpci/xenpci.h
line diff
     1.1 --- a/xenpci/makefile.mingw	Wed Jul 09 00:10:22 2008 -0700
     1.2 +++ b/xenpci/makefile.mingw	Wed Jul 09 00:10:57 2008 -0700
     1.3 @@ -1,8 +1,8 @@
     1.4 -W32API_PATH=/home/agrover/temp/w32api-3.11/lib/ddk
     1.5 +W32API_PATH=/home/agrover/temp/w32api-3.11
     1.6  
     1.7 -CFLAGS = -Wall -L$(W32API_PATH) -I../mingw/inc -I/usr/i586-mingw32msvc/include/ddk/ -I../common/include -I../common/include/public -Wno-multichar -Wno-unknown-pragmas
     1.8 +CFLAGS = -Wall -L$(W32API_PATH)/lib/ddk -I$(W32API_PATH)/include/ddk -I../common/include -I../common/include/public -Wno-multichar -Wno-unknown-pragmas
     1.9  
    1.10 -xenpci.sys: xenpci.c xenbus.c evtchn.c gnttbl.c xenpci_fdo.c xenpci_pdo.c memory.c mingw_extras.c
    1.11 +xenpci.sys: xenpci.c xenbus.c evtchn.c gnttbl.c xenpci_fdo.c xenpci_pdo.c memory.c ../mingw/mingw_extras.c
    1.12  	i586-mingw32msvc-gcc $(CFLAGS) -o $@ -s -shared -Wl,--entry,_load@8 -nostdlib $^ -lntoskrnl -lhal
    1.13  
    1.14  test.exe: test.c kexec.h
     2.1 --- a/xenpci/xenpci.h	Wed Jul 09 00:10:22 2008 -0700
     2.2 +++ b/xenpci/xenpci.h	Wed Jul 09 00:10:57 2008 -0700
     2.3 @@ -26,7 +26,7 @@ Foundation, Inc., 51 Franklin Street, Fi
     2.4  #include <ntddk.h>
     2.5  
     2.6  #ifdef __MINGW32__
     2.7 -#include "mingw_extras.h"
     2.8 +#include "../mingw/mingw_extras.h"
     2.9  #else
    2.10  #define DDKAPI
    2.11  #include <wdm.h>