[mthca] Fix a build break. [mlnx: 4411]
[mirror/winof/.git] / hw / mthca / kernel / SOURCES
index 4c7f63e..269da79 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,8 +20,8 @@ ENABLE_EVENT_TRACING=1
 \r
 SOURCES= \\r
        mthca_log.mc            \\r
-       mthca_log.rc            \\r
        hca.rc                  \\r
+       mthca_log.c             \\r
                                        \\r
        ..\hca_utils.c          \\r
        ..\mt_utils.c           \\r
@@ -25,7 +33,6 @@ SOURCES= \
        hca_memory.c    \\r
        hca_pci.c                       \\r
        hca_pnp.c               \\r
-       hca_smp.c               \\r
        hca_verbs.c             \\r
                                        \\r
        mt_cache.c              \\r
@@ -37,6 +44,7 @@ SOURCES= \
        mt_ud_header.c  \\r
        mt_uverbs.c             \\r
        mt_verbs.c              \\r
+       mt_pa_cash.c            \\r
                                        \\r
        mthca_allocator.c       \\r
        mthca_av.c              \\r
@@ -44,7 +52,6 @@ SOURCES= \
        mthca_cmd.c             \\r
        mthca_cq.c              \\r
        mthca_eq.c              \\r
-       mthca_log.c             \\r
        mthca_mad.c             \\r
        mthca_main.c            \\r
        mthca_mcg.c             \\r
@@ -66,6 +73,7 @@ INCLUDES=\
 C_DEFINES=$(C_DEFINES) -DDRIVER -DDEPRECATE_DDK_FUNCTIONS -D__LITTLE_ENDIAN\r
 \r
 TARGETLIBS= \\r
+        $(DDK_LIB_PATH)\ntstrsafe.lib   \\r
        $(TARGETPATH)\*\complib.lib     \\r
        $(DDK_LIB_PATH)\wdmguid.lib\r
 \r
@@ -77,8 +85,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