add missing mt.exe calls, to include manifest files into exe / dll files
[obnox/wireshark/wip.git] / plugins / agentx / Makefile.nmake
index 3cf4dc5b3e26a4f8611a22136be14f951e9f9075..acc863edc396d9f106148e7828cec49b34e17eea 100644 (file)
@@ -44,6 +44,9 @@ $(PLUGIN_NAME).rc : moduleinfo.nmake
 $(PLUGIN_NAME).dll $(PLUGIN_NAME).exp $(PLUGIN_NAME).lib : $(OBJECTS) $(LINK_PLUGIN_WITH) $(RESOURCE)
        link -dll /out:$(PLUGIN_NAME).dll $(LDFLAGS) $(OBJECTS) $(LINK_PLUGIN_WITH) \
        $(GLIB_LIBS) $(RESOURCE)
+!IF $(MSC_VER_REQUIRED) >= 1400
+       mt.exe -nologo -manifest "$(PLUGIN_NAME).dll.manifest" -outputresource:$(PLUGIN_NAME).dll;2
+!ENDIF
 
 #
 # Build plugin.c, which contains the plugin version[] string, a