Added symbol __NTDRIVER__ to identify drivers.
authorEric Kohl <eric.kohl@reactos.org>
Fri, 22 Jun 2001 12:30:02 +0000 (12:30 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Fri, 22 Jun 2001 12:30:02 +0000 (12:30 +0000)
svn path=/trunk/; revision=2000

30 files changed:
reactos/drivers/bus/acpi/makefile
reactos/drivers/bus/isapnp/makefile
reactos/drivers/dd/beep/makefile
reactos/drivers/dd/blue/makefile
reactos/drivers/dd/floppy/Makefile
reactos/drivers/dd/ide/makefile
reactos/drivers/dd/null/makefile
reactos/drivers/dd/parallel/makefile
reactos/drivers/dd/ramdrv/makefile
reactos/drivers/dd/serial/makefile
reactos/drivers/dd/vga/display/makefile
reactos/drivers/dd/vga/miniport/makefile
reactos/drivers/dd/vidport/makefile
reactos/drivers/fs/ext2/makefile
reactos/drivers/fs/minix/Makefile
reactos/drivers/fs/ms/Makefile
reactos/drivers/fs/np/Makefile
reactos/drivers/fs/template/makefile
reactos/drivers/fs/vfat/makefile
reactos/drivers/input/keyboard/makefile
reactos/drivers/input/mouclass/makefile
reactos/drivers/input/psaux/makefile
reactos/drivers/input/sermouse/makefile
reactos/drivers/net/afd/makefile
reactos/drivers/net/dd/ne2000/Makefile
reactos/drivers/net/ndis/Makefile
reactos/drivers/net/tcpip/makefile
reactos/drivers/net/tdi/Makefile
reactos/drivers/net/tditest/makefile
reactos/drivers/net/wshtcpip/makefile

index 4a90165..4caaf6e 100644 (file)
@@ -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
 
index d482cc1..37927b4 100644 (file)
@@ -2,7 +2,7 @@ PATH_TO_TOP = ../../..
 
 TARGET=isapnp
 
-CFLAGS = -I.
+CFLAGS = -D__NTDRIVER__ -I.
 
 LIBS = $(PATH_TO_TOP)/ntoskrnl/ntoskrnl.a
 
index e64102d..16f4d94 100644 (file)
@@ -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
 
index b272279..c3c044d 100644 (file)
@@ -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
 
index 77e7880..de15364 100644 (file)
@@ -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
 
index 0d770fe..895a278 100644 (file)
@@ -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
 
index b365c75..f2b6f5c 100644 (file)
@@ -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
 
index a6f8c4a..f761329 100644 (file)
@@ -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
 
index 0668e4d..7b6c28c 100644 (file)
@@ -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
 
index 08bb50a..93840a1 100644 (file)
@@ -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
 
index 87acd1d..847e7c0 100644 (file)
@@ -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)
index e8813ef..22c52ba 100644 (file)
@@ -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
 
index 96779fa..17f6acf 100644 (file)
@@ -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
 
index d7eb80a..d69839c 100644 (file)
@@ -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
 
index f2d7c07..4fe6aaa 100644 (file)
@@ -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
 
index afd372c..01025ce 100644 (file)
@@ -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
index c88554c..88586b8 100644 (file)
@@ -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
 
index 9009429..4f196e9 100644 (file)
@@ -3,7 +3,7 @@
 #
 OBJECTS = template.o
 
-BASE_CFLAGS = -I../../../include
+CFLAGS = -D__NTDRIVER__ -I../../../include
 
 all: tfsd.o
 
index 34b0604..062b048 100644 (file)
@@ -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
index e68a08d..f14051a 100644 (file)
@@ -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
 
index a9c35b7..af64776 100644 (file)
@@ -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
 
index 5db1487..ecc113d 100644 (file)
@@ -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
 
index 7f59693..a5cb2d0 100644 (file)
@@ -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
 
index a311d12..57ecf4b 100644 (file)
@@ -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 \
index 8b48067..d9e9725 100644 (file)
@@ -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
 
index 2b2c825..1e1079f 100644 (file)
@@ -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 \
index 2696c2a..0aa2f2d 100644 (file)
@@ -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 \
index 1efc85e..3cc90d3 100644 (file)
@@ -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
index d8b4e17..6fbffc5 100644 (file)
@@ -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
index 6a5795c..b03eb5a 100644 (file)
@@ -2,7 +2,7 @@
 
 PATH_TO_TOP = ../../..
 
-CFLAGS = -I./ -DUNICODE
+CFLAGS = -D__NTDRIVER__ -I./ -DUNICODE
 
 TARGETNAME=wshtcpip