[MTHCA] Remove hard-coded KMDF version numbers; use $(KMDF_VERSION_MAJOR).$(KMDF_VERS...
[mirror/winof/.git] / hw / mthca / kernel / SOURCES
index f3b1a99..f653d22 100644 (file)
@@ -4,6 +4,14 @@ TARGETNAME=mthca
 TARGETPATH=$(TRUNK)\bin\kernel\obj$(BUILD_ALT_DIR)\r
 TARGETTYPE=DRIVER\r
 \r
+KMDF_VERSION_MAJOR=1\r
+\r
+# WDK build only - transform .inx --> .inf adding date & version stamp.\r
+# see .\makefile.inc\r
+INF_NAME=$(TARGETNAME)\r
+INF_TARGET=$(TRUNK)\bin\kernel\$(O)\$(INF_NAME).inf\r
+NTTARGETFILES=$(INF_TARGET)\r
+\r
 !if $(FREEBUILD)\r
 ENABLE_EVENT_TRACING=1\r
 !else\r
@@ -12,7 +20,6 @@ ENABLE_EVENT_TRACING=1
 \r
 SOURCES= \\r
        mthca_log.mc            \\r
-       mthca_log.rc            \\r
        hca.rc                  \\r
        mthca_log.c             \\r
                                        \\r
@@ -77,8 +84,7 @@ TARGETLIBS= \
 C_DEFINES = $(C_DEFINES) -DEVENT_TRACING\r
 RUN_WPP= $(SOURCES) -km -ext: .c .h .C .H \\r
        -scan:hca_debug.h \\r
-       -func:HCA_PRINT(LEVEL,FLAGS,(MSG,...)) \\r
-       -func:HCA_PRINT_EXIT(LEVEL,FLAGS,(MSG,...)) \r
+       -func:HCA_PRINT(LEVEL,FLAGS,(MSG,...)) \r
 !ENDIF\r
 \r
 #      -func:HCA_PRINT_EV(LEVEL,FLAGS,(MSG,...)) \\r