[MTHCA] Remove hard-coded KMDF version numbers; use $(KMDF_VERSION_MAJOR).$(KMDF_VERS...
[mirror/winof/.git] / hw / mthca / kernel / SOURCES
index 5640dc9..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,10 +20,11 @@ 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
                                        \\r
        hca_data.c              \\r
        hca_direct.c            \\r
@@ -24,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
@@ -35,8 +43,8 @@ SOURCES= \
        mt_reset_tavor.c        \\r
        mt_ud_header.c  \\r
        mt_uverbs.c             \\r
-       mt_uverbsmem.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
@@ -75,11 +82,9 @@ TARGETLIBS= \
 !IFDEF ENABLE_EVENT_TRACING\r
 \r
 C_DEFINES = $(C_DEFINES) -DEVENT_TRACING\r
-\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