[IBBUS] added INX -> INF file stamping. INF file created in ..\..\..\bin\kernel\xxx
[mirror/winof/.git] / core / bus / kernel / SOURCES
1 TARGETNAME=ibbus\r
2 TARGETPATH=..\..\..\bin\kernel\obj$(BUILD_ALT_DIR)\r
3 TARGETTYPE=DRIVER\r
4 \r
5 !if $(_NT_TOOLS_VERSION) != 0x700\r
6 # WDK build only - transform .inx --> .inf adding date & version stamp.\r
7 # see .\makefile.inc\r
8 INF_NAME=ib_bus\r
9 INF_TARGET=..\..\..\bin\kernel\$(O)\$(INF_NAME).inf\r
10 NTTARGETFILES=$(INF_TARGET)\r
11 MISCFILES=$(NTTARGETFILES)\r
12 !endif\r
13 \r
14 !if $(FREEBUILD)\r
15 ENABLE_EVENT_TRACING=1\r
16 !else\r
17 #ENABLE_EVENT_TRACING=1\r
18 !endif\r
19 \r
20 \r
21 SOURCES= ibbus.rc               \\r
22         bus_driver.c            \\r
23         bus_pnp.c                       \\r
24         bus_port_mgr.c          \\r
25         bus_iou_mgr.c\r
26 \r
27 INCLUDES=..\..\..\inc;..\..\..\inc\kernel;..\..\al;..\..\al\kernel;\r
28 \r
29 C_DEFINES=$(C_DEFINES) -DDRIVER -DDEPRECATE_DDK_FUNCTIONS -DNEED_CL_OBJ\r
30 \r
31 TARGETLIBS= \\r
32         $(TARGETPATH)\*\complib.lib \\r
33         $(TARGETPATH)\*\ibal.lib\r
34         \r
35 !if !defined(DDK_TARGET_OS) || "$(DDK_TARGET_OS)"=="Win2K"\r
36 #\r
37 # The driver is built in the Win2K build environment\r
38 # - use the library version of safe strings \r
39 #\r
40 TARGETLIBS= $(TARGETLIBS) $(DDK_LIB_PATH)\ntstrsafe.lib\r
41 !endif\r
42 \r
43 !IFDEF ENABLE_EVENT_TRACING\r
44 \r
45 C_DEFINES = $(C_DEFINES) -DEVENT_TRACING\r
46 \r
47 RUN_WPP = $(SOURCES) -km -ext: .c .h .C .H \r
48 \r
49 !ENDIF\r
50 \r
51 \r
52 MSC_WARNING_LEVEL= /W4\r