Need two MT commands, one for dll files and one for exe files.

This commit is contained in:
Janet B. Anderson
2006-03-09 22:30:19 +00:00
parent d208fdf7cf
commit b1b5bbab0e
2 changed files with 4 additions and 3 deletions

View File

@@ -277,6 +277,7 @@ POSIX_CPPFLAGS_YES =
# useManifestTool.pl returns 0(don't use) or 1(use).
#
ifeq ($(shell $(PERL) $(EPICS_BASE_TOOLS)/useManifestTool.pl),1)
MT_COMMAND = mt.exe /manifest $@.manifest /outputresource:$@;\#2
MT_DLL_COMMAND = mt.exe /manifest $@.manifest /outputresource:$@;\#2
MT_EXE_COMMAND = mt.exe /manifest $@.manifest /outputresource:$@;\#1
endif

View File

@@ -427,7 +427,7 @@ else
$(PRODNAME): $(PRODNAME_OBJS) $(PRODNAME_RESS)
@$(RM) $@
$(PRODNAME_LINKER) $(PRODNAME_OBJS) $(PRODNAME_RESS) $(LDLIBS)
$(MT_COMMAND)
$(MT_EXE_COMMAND)
endif
endif # ifdef PRODNAME_SRCS
@@ -739,7 +739,7 @@ $(DLL_LINK_LIBNAME) $(SHRLIBNAME): $(LIBOBJS) $(LIBNAME_RESS)
else
$(DLL_LINK_LIBNAME) $(SHRLIBNAME): $(LIBOBJS) $(LIBNAME_RESS)
$(LINK.shrlib) $(LIBOBJS) $(DLL_LDLIBS) $(LIBNAME_RESS)
$(MT_COMMAND)
$(MT_DLL_COMMAND)
endif
ifdef BORLANDC