1 ########################################################################
\r
3 # Copyright(c) Infinicon Systems All rights reserved.
\r
5 ########################################################################
\r
8 # The TARGETNAME. This is name of the item being built (without the
\r
12 ########################################################################
\r
13 # The path where all binaries are built.
\r
15 TARGETPATH=..\..\..\bin\kernel\obj$(BUILD_ALT_DIR)
\r
17 ########################################################################
\r
18 # The type of item that is being built. This is manditory.
\r
21 # DRIVER - A kernel device driver.
\r
22 # EXPORT_DRIVER - A kernel device driver with exports.
\r
23 # PROGRAM - A windows executable.
\r
24 # PROGLIB - A windows library.
\r
25 # MINPORT - A miniport driver.
\r
26 # GDI_DRIVER - A video driver.
\r
27 # LIBRARY - A library
\r
30 ########################################################################
\r
31 # The type of driver being built. This affects the include paths.
\r
32 # Comment out for non-WDM drivers.
\r
36 ########################################################################
\r
37 # All the source files in this project.
\r
51 INCLUDES=..;..\..\..\inc;..\..\..\inc\kernel;
\r
53 C_DEFINES=$(C_DEFINES) -DNDIS_MINIPORT_DRIVER -DNDIS_WDM=1 \
\r
54 -DDEPRECATE_DDK_FUNCTIONS -DNDIS51_MINIPORT -DNEED_CL_OBJ -DBINARY_COMPATIBLE=0
\r
57 $(DDK_LIB_PATH)\ntoskrnl.lib \
\r
58 $(DDK_LIB_PATH)\hal.lib \
\r
59 $(DDK_LIB_PATH)\ndis.lib \
\r
60 $(TARGETPATH)\*\complib.lib
\r
62 #!if !defined(DDK_TARGET_OS) || "$(DDK_TARGET_OS)"=="Win2K"
\r
64 # The driver is built in the Win2K build environment
\r
65 # - use the library version of safe strings
\r
67 #TARGETLIBS= $(TARGETLIBS) $(DDK_LIB_PATH)\ntstrsafe.lib
\r
70 ########################################################################
\r
71 # Set the warning levels to maximum.
\r
72 MSC_WARNING_LEVEL= /W4
\r