diff make/windows/makefiles/adlc.make @ 444:ab42bab113e0

Merge
author trims
date Fri, 21 Nov 2008 16:11:03 -0800
parents 3c07cda72b7d
children 520d43965b1f
line wrap: on
line diff
--- a/make/windows/makefiles/adlc.make	Thu Nov 20 11:39:38 2008 -0800
+++ b/make/windows/makefiles/adlc.make	Fri Nov 21 16:11:03 2008 -0800
@@ -102,6 +102,12 @@
 adlc.exe: main.obj adlparse.obj archDesc.obj arena.obj dfa.obj dict2.obj filebuff.obj \
           forms.obj formsopt.obj formssel.obj opcodes.obj output_c.obj output_h.obj
 	$(LINK) $(LINK_FLAGS) /subsystem:console /out:$@ $**
+!if "$(MT)" != ""
+# The previous link command created a .manifest file that we want to
+# insert into the linked artifact so we do not need to track it
+# separately.  Use ";#2" for .dll and ";#1" for .exe:
+	$(MT) /manifest $@.manifest /outputresource:$@;#1
+!endif
 
 $(GENERATED_NAMES_IN_INCL): $(Platform_arch_model).ad adlc.exe includeDB.current 
 	rm -f $(GENERATED_NAMES)