[IOU] Add WPP tracing to IOU bus driver.
[mirror/winof/.git] / core / iou / kernel / SOURCES
1 TARGETNAME=ibiou\r
2 TARGETPATH=..\..\..\bin\kernel\obj$(BUILD_ALT_DIR)\r
3 TARGETTYPE=DRIVER\r
4 \r
5 !if $(FREEBUILD)\r
6 ENABLE_EVENT_TRACING=1\r
7 !else\r
8 #ENABLE_EVENT_TRACING=1\r
9 !endif\r
10 \r
11 \r
12 SOURCES= ibiou.rc               \\r
13         iou_driver.c            \\r
14         iou_pnp.c                       \\r
15         iou_ioc_mgr.c\r
16 \r
17 INCLUDES=..\..\..\inc;..\..\..\inc\kernel;\r
18 \r
19 C_DEFINES=$(C_DEFINES) -DDRIVER -DDEPRECATE_DDK_FUNCTIONS -DNEED_CL_OBJ -DWPP_OLDCC\r
20 \r
21 \r
22 TARGETLIBS= \\r
23         $(TARGETPATH)\*\complib.lib\r
24         \r
25 !if !defined(DDK_TARGET_OS) || "$(DDK_TARGET_OS)"=="Win2K"\r
26 #\r
27 # The driver is built in the Win2K build environment\r
28 # - use the library version of safe strings \r
29 #\r
30 TARGETLIBS= $(TARGETLIBS) $(DDK_LIB_PATH)\ntstrsafe.lib\r
31 !endif\r
32 \r
33 !IFDEF ENABLE_EVENT_TRACING\r
34 \r
35 C_DEFINES = $(C_DEFINES) -DEVENT_TRACING\r
36 \r
37 RUN_WPP = $(SOURCES) -km -ext: .c .h .C .H \\r
38   -scan:iou_driver.h \\r
39         -func:IOU_PRINT(LEVEL,FLAGS,(MSG,...)) \\r
40         -func:IOU_PRINT_EXIT(LEVEL,FLAGS,(MSG,...)) \r
41 \r
42 !ENDIF\r
43 \r
44 MSC_WARNING_LEVEL= /W4\r