From 0514d0e92b76747963c9e58ca4106ecc686793cc Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Fri, 22 Jun 2001 12:30:02 +0000 Subject: [PATCH] Added symbol __NTDRIVER__ to identify drivers. svn path=/trunk/; revision=2000 --- reactos/drivers/bus/acpi/makefile | 2 +- reactos/drivers/bus/isapnp/makefile | 2 +- reactos/drivers/dd/beep/makefile | 4 ++-- reactos/drivers/dd/blue/makefile | 4 ++-- reactos/drivers/dd/floppy/Makefile | 4 ++-- reactos/drivers/dd/ide/makefile | 4 ++-- reactos/drivers/dd/null/makefile | 4 ++-- reactos/drivers/dd/parallel/makefile | 4 ++-- reactos/drivers/dd/ramdrv/makefile | 4 ++-- reactos/drivers/dd/serial/makefile | 4 ++-- reactos/drivers/dd/vga/display/makefile | 4 ++-- reactos/drivers/dd/vga/miniport/makefile | 4 ++-- reactos/drivers/dd/vidport/makefile | 6 ++++-- reactos/drivers/fs/ext2/makefile | 4 ++-- reactos/drivers/fs/minix/Makefile | 4 ++-- reactos/drivers/fs/ms/Makefile | 4 +++- reactos/drivers/fs/np/Makefile | 4 ++-- reactos/drivers/fs/template/makefile | 2 +- reactos/drivers/fs/vfat/makefile | 6 +++--- reactos/drivers/input/keyboard/makefile | 4 ++-- reactos/drivers/input/mouclass/makefile | 4 ++-- reactos/drivers/input/psaux/makefile | 4 ++-- reactos/drivers/input/sermouse/makefile | 4 ++-- reactos/drivers/net/afd/makefile | 2 +- reactos/drivers/net/dd/ne2000/Makefile | 4 ++-- reactos/drivers/net/ndis/Makefile | 2 +- reactos/drivers/net/tcpip/makefile | 2 +- reactos/drivers/net/tdi/Makefile | 4 ++-- reactos/drivers/net/tditest/makefile | 2 +- reactos/drivers/net/wshtcpip/makefile | 2 +- 30 files changed, 56 insertions(+), 52 deletions(-) diff --git a/reactos/drivers/bus/acpi/makefile b/reactos/drivers/bus/acpi/makefile index 4a90165b022..4caaf6e687d 100644 --- a/reactos/drivers/bus/acpi/makefile +++ b/reactos/drivers/bus/acpi/makefile @@ -2,7 +2,7 @@ PATH_TO_TOP = ../../.. TARGET=acpi -CFLAGS = -I./include -I./ospm/include +CFLAGS = -D__NTDRIVER__ -I./include -I./ospm/include LIBS = $(PATH_TO_TOP)/ntoskrnl/ntoskrnl.a diff --git a/reactos/drivers/bus/isapnp/makefile b/reactos/drivers/bus/isapnp/makefile index d482cc17bc2..37927b4c91d 100644 --- a/reactos/drivers/bus/isapnp/makefile +++ b/reactos/drivers/bus/isapnp/makefile @@ -2,7 +2,7 @@ PATH_TO_TOP = ../../.. TARGET=isapnp -CFLAGS = -I. +CFLAGS = -D__NTDRIVER__ -I. LIBS = $(PATH_TO_TOP)/ntoskrnl/ntoskrnl.a diff --git a/reactos/drivers/dd/beep/makefile b/reactos/drivers/dd/beep/makefile index e64102dacaf..16f4d94c939 100644 --- a/reactos/drivers/dd/beep/makefile +++ b/reactos/drivers/dd/beep/makefile @@ -1,11 +1,11 @@ -# $Id: makefile,v 1.9 2000/11/20 19:59:10 ekohl Exp $ +# $Id: makefile,v 1.10 2001/06/22 12:23:49 ekohl Exp $ # # PATH_TO_TOP = ../../.. TARGET = beep -BASE_CFLAGS = -I../../../include +CFLAGS = -D__NTDRIVER__ -I../../../include OBJECTS = beep.o beep.coff ../../../ntoskrnl/ntoskrnl.a diff --git a/reactos/drivers/dd/blue/makefile b/reactos/drivers/dd/blue/makefile index b2722794cdd..c3c044dd62e 100644 --- a/reactos/drivers/dd/blue/makefile +++ b/reactos/drivers/dd/blue/makefile @@ -1,11 +1,11 @@ -# $Id: makefile,v 1.15 2000/09/12 10:12:12 jean Exp $ +# $Id: makefile,v 1.16 2001/06/22 12:23:56 ekohl Exp $ # # PATH_TO_TOP = ../../.. TARGET = blue -BASE_CFLAGS = -I../../../include +CFLAGS = -D__NTDRIVER__ -I../../../include OBJECTS = $(TARGET).o $(TARGET).coff ../../../ntoskrnl/ntoskrnl.a diff --git a/reactos/drivers/dd/floppy/Makefile b/reactos/drivers/dd/floppy/Makefile index 77e78804b85..de15364a27e 100644 --- a/reactos/drivers/dd/floppy/Makefile +++ b/reactos/drivers/dd/floppy/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.6 2001/03/31 15:53:56 phreak Exp $ +# $Id: Makefile,v 1.7 2001/06/22 12:24:04 ekohl Exp $ # # PATH_TO_TOP = ../../.. @@ -7,7 +7,7 @@ TARGET=floppy OBJECTS = floppy.o isr.o dpc.o $(TARGET).coff ../../../ntoskrnl/ntoskrnl.a -CFLAGS = -I. +CFLAGS = -D__NTDRIVER__ -I. all: $(TARGET).sys diff --git a/reactos/drivers/dd/ide/makefile b/reactos/drivers/dd/ide/makefile index 0d770fe07fa..895a2781246 100644 --- a/reactos/drivers/dd/ide/makefile +++ b/reactos/drivers/dd/ide/makefile @@ -1,4 +1,4 @@ -# $Id: makefile,v 1.21 2001/02/18 22:16:05 dwelch Exp $ +# $Id: makefile,v 1.22 2001/06/22 12:24:53 ekohl Exp $ # # PATH_TO_TOP = ../../.. @@ -7,7 +7,7 @@ TARGET=ide OBJECTS = $(TARGET).o $(TARGET).coff ../../../ntoskrnl/ntoskrnl.a -CFLAGS = -I. -g +CFLAGS = -D__NTDRIVER__ -I. -g all: $(TARGET).sys.unstripped $(TARGET).sys diff --git a/reactos/drivers/dd/null/makefile b/reactos/drivers/dd/null/makefile index b365c755a8a..f2b6f5cd4dd 100644 --- a/reactos/drivers/dd/null/makefile +++ b/reactos/drivers/dd/null/makefile @@ -1,4 +1,4 @@ -# $Id: makefile,v 1.10 2000/11/20 19:59:10 ekohl Exp $ +# $Id: makefile,v 1.11 2001/06/22 12:25:04 ekohl Exp $ # # PATH_TO_TOP = ../../.. @@ -6,7 +6,7 @@ PATH_TO_TOP = ../../.. TARGETNAME=null OBJECTS= $(TARGETNAME).o $(TARGETNAME).coff ../../../ntoskrnl/ntoskrnl.a -BASE_CFLAGS = -I../../../include +CFLAGS = -D__NTDRIVER__ -I../../../include all: $(TARGETNAME).sys diff --git a/reactos/drivers/dd/parallel/makefile b/reactos/drivers/dd/parallel/makefile index a6f8c4a8723..f761329f764 100644 --- a/reactos/drivers/dd/parallel/makefile +++ b/reactos/drivers/dd/parallel/makefile @@ -1,4 +1,4 @@ -# $Id: makefile,v 1.11 2000/11/20 19:59:10 ekohl Exp $ +# $Id: makefile,v 1.12 2001/06/22 12:25:14 ekohl Exp $ # # PATH_TO_TOP = ../../.. @@ -6,7 +6,7 @@ PATH_TO_TOP = ../../.. TARGET=parallel OBJECTS= $(TARGET).o $(TARGET).coff ../../../ntoskrnl/ntoskrnl.a -BASE_CFLAGS = -I. -I../../../include +CFLAGS = -D__NTDRIVER__ -I. -I../../../include all: $(TARGET).sys diff --git a/reactos/drivers/dd/ramdrv/makefile b/reactos/drivers/dd/ramdrv/makefile index 0668e4d9f62..7b6c28c9752 100644 --- a/reactos/drivers/dd/ramdrv/makefile +++ b/reactos/drivers/dd/ramdrv/makefile @@ -1,4 +1,4 @@ -# $Id: makefile,v 1.1 2001/06/18 03:10:00 phreak Exp $ +# $Id: makefile,v 1.2 2001/06/22 12:25:24 ekohl Exp $ # # PATH_TO_TOP = ../../.. @@ -7,7 +7,7 @@ TARGET=ramdrv OBJECTS = ramdrv.o ../../../ntoskrnl/ntoskrnl.a -CFLAGS = -I. +CFLAGS = -D__NTDRIVER__ -I. all: $(TARGET).sys diff --git a/reactos/drivers/dd/serial/makefile b/reactos/drivers/dd/serial/makefile index 08bb50ad063..93840a19aab 100644 --- a/reactos/drivers/dd/serial/makefile +++ b/reactos/drivers/dd/serial/makefile @@ -1,4 +1,4 @@ -# $Id: makefile,v 1.11 2000/11/20 19:59:10 ekohl Exp $ +# $Id: makefile,v 1.12 2001/06/22 12:25:35 ekohl Exp $ # # PATH_TO_TOP = ../../.. @@ -6,7 +6,7 @@ PATH_TO_TOP = ../../.. TARGET= serial OBJECTS= $(TARGET).o $(TARGET).coff ../../../ntoskrnl/ntoskrnl.a -BASE_CFLAGS = -I. -I../../../include +CFLAGS = -D__NTDRIVER__ -I. -I../../../include all: $(TARGET).sys diff --git a/reactos/drivers/dd/vga/display/makefile b/reactos/drivers/dd/vga/display/makefile index 87acd1d5cf7..847e7c08c90 100644 --- a/reactos/drivers/dd/vga/display/makefile +++ b/reactos/drivers/dd/vga/display/makefile @@ -1,11 +1,11 @@ -# $Id: makefile,v 1.14 2001/05/02 12:29:07 jfilby Exp $ +# $Id: makefile,v 1.15 2001/06/22 12:26:01 ekohl Exp $ # # Makefile for ReactOS vgaddi.dll # PATH_TO_TOP = ../../../.. TARGET=vgaddi -CFLAGS = -I. +CFLAGS = -D__NTDRIVER__ -I. ifneq ($(HOST),mingw32-windows) ifneq ($(HOST),mingw32-linux) diff --git a/reactos/drivers/dd/vga/miniport/makefile b/reactos/drivers/dd/vga/miniport/makefile index e8813efa3f4..22c52ba5ad6 100644 --- a/reactos/drivers/dd/vga/miniport/makefile +++ b/reactos/drivers/dd/vga/miniport/makefile @@ -1,8 +1,8 @@ -# $Id: makefile,v 1.5 2000/11/20 19:59:11 ekohl Exp $ +# $Id: makefile,v 1.6 2001/06/22 12:26:09 ekohl Exp $ # # PATH_TO_TOP = ../../../.. -CFLAGS = +CFLAGS = -D__NTDRIVER__ MP_OBJECTS = vgamp.o initvga.o vgavideo.o vgamp.coff ../../../../ntoskrnl/ntoskrnl.a ../../vidport/vidport.a diff --git a/reactos/drivers/dd/vidport/makefile b/reactos/drivers/dd/vidport/makefile index 96779faa1ed..17f6acf3f71 100644 --- a/reactos/drivers/dd/vidport/makefile +++ b/reactos/drivers/dd/vidport/makefile @@ -1,11 +1,13 @@ -# $Id: makefile,v 1.10 2000/11/20 19:59:11 ekohl Exp $ +# $Id: makefile,v 1.11 2001/06/22 12:26:18 ekohl Exp $ # # PATH_TO_TOP = ../../.. + TARGET=vidport + OBJECTS = $(TARGET).o $(TARGET).coff ../../../ntoskrnl/ntoskrnl.a -BASE_CFLAGS = -I../../../include +CFLAGS = -D__NTDRIVER__ -I../../../include all: $(TARGET).sys vidport.a diff --git a/reactos/drivers/fs/ext2/makefile b/reactos/drivers/fs/ext2/makefile index d7eb80a2fbb..d69839c6cfa 100644 --- a/reactos/drivers/fs/ext2/makefile +++ b/reactos/drivers/fs/ext2/makefile @@ -1,4 +1,4 @@ -# $Id: makefile,v 1.10 2001/06/13 10:59:29 ekohl Exp $ +# $Id: makefile,v 1.11 2001/06/22 12:26:30 ekohl Exp $ # # Linux Ext2 IFS Driver # @@ -11,7 +11,7 @@ OBJECTS = super.o blockdev.o inode.o file.o dir.o rw.o quota.o security.o \ LIBS = ../../../ntoskrnl/ntoskrnl.a -CFLAGS = -g -Wall +CFLAGS = -D__NTDRIVER__ -g -Wall all: $(TARGETNAME).sys diff --git a/reactos/drivers/fs/minix/Makefile b/reactos/drivers/fs/minix/Makefile index f2d7c07720c..4fe6aaa0147 100644 --- a/reactos/drivers/fs/minix/Makefile +++ b/reactos/drivers/fs/minix/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.4 2001/06/13 10:59:50 ekohl Exp $ +# $Id: Makefile,v 1.5 2001/06/22 12:26:38 ekohl Exp $ # # PATH_TO_TOP = ../../.. @@ -7,7 +7,7 @@ TARGET=minixfs OBJECTS = $(TARGET).o minix.coff ../../../ntoskrnl/ntoskrnl.a -CFLAGS = -I. -g +CFLAGS = -D__NTDRIVER__ -I. -g all: $(TARGET).sys diff --git a/reactos/drivers/fs/ms/Makefile b/reactos/drivers/fs/ms/Makefile index afd372c610d..01025ce3269 100644 --- a/reactos/drivers/fs/ms/Makefile +++ b/reactos/drivers/fs/ms/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.2 2001/05/06 19:28:50 ea Exp $ +# $Id: Makefile,v 1.3 2001/06/22 12:26:46 ekohl Exp $ # # Mailslot File System # @@ -10,6 +10,8 @@ OBJECTS = create.o finfo.o fsctrl.o msfs.o rw.o msfs.coff LIBS = $(PATH_TO_TOP)/ntoskrnl/ntoskrnl.a +CFLAGS = -D__NTDRIVER__ + all: $(TARGETNAME).sys .phony: all diff --git a/reactos/drivers/fs/np/Makefile b/reactos/drivers/fs/np/Makefile index c88554c204a..88586b8c390 100644 --- a/reactos/drivers/fs/np/Makefile +++ b/reactos/drivers/fs/np/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.7 2001/06/12 12:35:04 ekohl Exp $ +# $Id: Makefile,v 1.8 2001/06/22 12:27:02 ekohl Exp $ # # Named Pipes File System # @@ -6,7 +6,7 @@ PATH_TO_TOP = ../../.. TARGETNAME=npfs -#BASE_CFLAGS = -I../../../include +CFLAGS = -D__NTDRIVER__ -I../../../include OBJECTS = create.o finfo.o fsctrl.o mount.o rw.o volume.o npfs.coff diff --git a/reactos/drivers/fs/template/makefile b/reactos/drivers/fs/template/makefile index 90094295e66..4f196e9bdae 100644 --- a/reactos/drivers/fs/template/makefile +++ b/reactos/drivers/fs/template/makefile @@ -3,7 +3,7 @@ # OBJECTS = template.o -BASE_CFLAGS = -I../../../include +CFLAGS = -D__NTDRIVER__ -I../../../include all: tfsd.o diff --git a/reactos/drivers/fs/vfat/makefile b/reactos/drivers/fs/vfat/makefile index 34b0604fecd..062b0486629 100644 --- a/reactos/drivers/fs/vfat/makefile +++ b/reactos/drivers/fs/vfat/makefile @@ -1,4 +1,4 @@ -# $Id: makefile,v 1.30 2001/06/15 11:15:32 ekohl Exp $ +# $Id: makefile,v 1.31 2001/06/22 12:27:48 ekohl Exp $ # # PATH_TO_TOP = ../../.. @@ -10,7 +10,7 @@ OBJECTS = blockdev.o close.o create.o dir.o dirwr.o iface.o string.o fat.o \ LIBS = $(PATH_TO_TOP)/ntoskrnl/ntoskrnl.a -CFLAGS = -g -Wall -Werror +CFLAGS = -D__NTDRIVER__ -g -Wall -Werror all: $(TARGET).sys.unstripped $(TARGET).sys @@ -27,7 +27,7 @@ ifeq ($(DOSCLI),yes) - $(RM) $(TARGET).sys - $(RM) $(TARGET).sys.unstripped else - - $(RM) $(OBJECTS) $(TARGET).coff junk.tmp base.tmp temp.exp $(TARGET).sys $(TARGET).sys.unstripped + - $(RM) *.o $(TARGET).coff junk.tmp base.tmp temp.exp $(TARGET).sys $(TARGET).sys.unstripped endif .phony: clean diff --git a/reactos/drivers/input/keyboard/makefile b/reactos/drivers/input/keyboard/makefile index e68a08d4821..f14051a3dc5 100644 --- a/reactos/drivers/input/keyboard/makefile +++ b/reactos/drivers/input/keyboard/makefile @@ -1,4 +1,4 @@ -# $Id: makefile,v 1.3 2001/04/10 17:48:17 dwelch Exp $ +# $Id: makefile,v 1.4 2001/06/22 12:28:00 ekohl Exp $ # # PATH_TO_TOP = ../../.. @@ -7,7 +7,7 @@ TARGET=keyboard OBJECTS = $(TARGET).o $(TARGET).coff ../../../ntoskrnl/ntoskrnl.a -CFLAGS = -O2 -I. -g +CFLAGS = -D__NTDRIVER__ -O2 -I. -g all: $(TARGET).sys $(TARGET).sys.unstripped diff --git a/reactos/drivers/input/mouclass/makefile b/reactos/drivers/input/mouclass/makefile index a9c35b7763d..af64776d8c3 100644 --- a/reactos/drivers/input/mouclass/makefile +++ b/reactos/drivers/input/mouclass/makefile @@ -1,4 +1,4 @@ -# $Id: makefile,v 1.3 2000/11/20 19:59:11 ekohl Exp $ +# $Id: makefile,v 1.4 2001/06/22 12:28:07 ekohl Exp $ # # TARGET = mouclass @@ -7,7 +7,7 @@ PATH_TO_TOP = ../../.. OBJECTS = $(TARGET).o $(TARGET).coff ../../../ntoskrnl/ntoskrnl.a -CFLAGS = -O2 -I. +CFLAGS = -D__NTDRIVER__ -O2 -I. all: $(TARGET).sys diff --git a/reactos/drivers/input/psaux/makefile b/reactos/drivers/input/psaux/makefile index 5db1487f44b..ecc113d10b0 100644 --- a/reactos/drivers/input/psaux/makefile +++ b/reactos/drivers/input/psaux/makefile @@ -1,4 +1,4 @@ -# $Id: makefile,v 1.2 2000/11/20 19:59:12 ekohl Exp $ +# $Id: makefile,v 1.3 2001/06/22 12:28:16 ekohl Exp $ # # TARGET = psaux @@ -7,7 +7,7 @@ PATH_TO_TOP = ../../.. OBJECTS = $(TARGET).o controller.o mouse.o $(TARGET).coff ../../../ntoskrnl/ntoskrnl.a -CFLAGS = -O2 -I. +CFLAGS = -D__NTDRIVER__ -O2 -I. all: $(TARGET).sys diff --git a/reactos/drivers/input/sermouse/makefile b/reactos/drivers/input/sermouse/makefile index 7f59693c4ad..a5cb2d06804 100644 --- a/reactos/drivers/input/sermouse/makefile +++ b/reactos/drivers/input/sermouse/makefile @@ -1,4 +1,4 @@ -# $Id: makefile,v 1.3 2001/05/26 08:19:03 jfilby Exp $ +# $Id: makefile,v 1.4 2001/06/22 12:28:25 ekohl Exp $ # # TARGET = sermouse @@ -7,7 +7,7 @@ PATH_TO_TOP = ../../.. OBJECTS = $(TARGET).o $(TARGET).coff ../../../ntoskrnl/ntoskrnl.a -CFLAGS = -O2 -I. +CFLAGS = -D__NTDRIVER__ -O2 -I. all: $(TARGET).sys diff --git a/reactos/drivers/net/afd/makefile b/reactos/drivers/net/afd/makefile index a311d1201d9..57ecf4b888b 100644 --- a/reactos/drivers/net/afd/makefile +++ b/reactos/drivers/net/afd/makefile @@ -4,7 +4,7 @@ PATH_TO_TOP = ../../.. TARGETNAME=afd -CFLAGS = -I./include -DDBG +CFLAGS = -D__NTDRIVER__ -I./include -DDBG RESOURCE_OBJECT = $(TARGETNAME).coff AFD_OBJECTS = afd/afd.o afd/dispatch.o afd/event.o afd/opnclose.o afd/rdwr.o \ diff --git a/reactos/drivers/net/dd/ne2000/Makefile b/reactos/drivers/net/dd/ne2000/Makefile index 8b48067295d..d9e97252e33 100644 --- a/reactos/drivers/net/dd/ne2000/Makefile +++ b/reactos/drivers/net/dd/ne2000/Makefile @@ -1,9 +1,9 @@ -# $Id: Makefile,v 1.7 2001/01/17 17:14:34 jean Exp $ +# $Id: Makefile,v 1.8 2001/06/22 12:28:52 ekohl Exp $ # # PATH_TO_TOP = ../../../.. -CFLAGS = -Iinclude +CFLAGS = -D__NTDRIVER__ -Iinclude TARGETNAME = ne2000 diff --git a/reactos/drivers/net/ndis/Makefile b/reactos/drivers/net/ndis/Makefile index 2b2c8256e97..1e1079f6536 100644 --- a/reactos/drivers/net/ndis/Makefile +++ b/reactos/drivers/net/ndis/Makefile @@ -4,7 +4,7 @@ PATH_TO_TOP = ../../.. TARGETNAME=ndis -CFLAGS = -I./include -DNDIS_WRAPPER -DBINARY_COMPATIBLE=1 -DDBG +CFLAGS = -D__NTDRIVER__ -I./include -DNDIS_WRAPPER -DBINARY_COMPATIBLE=1 -DDBG RESOURCE_OBJECT = $(TARGETNAME).coff NDIS_OBJECTS = ndis/main.o ndis/40gone.o ndis/50gone.o ndis/buffer.o ndis/cl.o \ diff --git a/reactos/drivers/net/tcpip/makefile b/reactos/drivers/net/tcpip/makefile index 2696c2ab426..0aa2f2d3a1b 100644 --- a/reactos/drivers/net/tcpip/makefile +++ b/reactos/drivers/net/tcpip/makefile @@ -4,7 +4,7 @@ PATH_TO_TOP = ../../.. TARGETNAME=tcpip -CFLAGS = -I./include -O2 -DDBG +CFLAGS = -D__NTDRIVER__ -I./include -O2 -DDBG RESOURCE_OBJECT = $(TARGETNAME).coff TCPIP_OBJECTS = tcpip/main.o tcpip/address.o tcpip/checksum.o \ diff --git a/reactos/drivers/net/tdi/Makefile b/reactos/drivers/net/tdi/Makefile index 1efc85e9fe7..3cc90d30163 100644 --- a/reactos/drivers/net/tdi/Makefile +++ b/reactos/drivers/net/tdi/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.10 2000/11/20 19:59:13 ekohl Exp $ +# $Id: Makefile,v 1.11 2001/06/22 12:29:40 ekohl Exp $ # # TDI.SYS build spec # @@ -6,7 +6,7 @@ PATH_TO_TOP = ../../../ TARGETNAME=tdi -CFLAGS = +CFLAGS = -D__NTDRIVER__ OBJECTS_CTE = cte/stubs.o cte/string.o OBJECTS_TDI = tdi/stubs.o tdi/obsolete.o tdi/handler.o tdi/dereg.o diff --git a/reactos/drivers/net/tditest/makefile b/reactos/drivers/net/tditest/makefile index d8b4e173b35..6fbffc59311 100644 --- a/reactos/drivers/net/tditest/makefile +++ b/reactos/drivers/net/tditest/makefile @@ -4,7 +4,7 @@ PATH_TO_TOP = ../../.. TARGETNAME=tditest -CFLAGS = -I./include +CFLAGS = -D__NTDRIVER__ -I./include RESOURCE_OBJECT = $(TARGETNAME).coff TDITEST_OBJECTS = tditest/tditest.o diff --git a/reactos/drivers/net/wshtcpip/makefile b/reactos/drivers/net/wshtcpip/makefile index 6a5795c456b..b03eb5ae84f 100644 --- a/reactos/drivers/net/wshtcpip/makefile +++ b/reactos/drivers/net/wshtcpip/makefile @@ -2,7 +2,7 @@ PATH_TO_TOP = ../../.. -CFLAGS = -I./ -DUNICODE +CFLAGS = -D__NTDRIVER__ -I./ -DUNICODE TARGETNAME=wshtcpip -- 2.17.1