diff options
author | Yang Tse <yangsita@gmail.com> | 2009-11-21 13:28:07 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-11-21 13:28:07 +0000 |
commit | fdfbc5d8da912adde7f3e6c8d147b5c7946bf330 (patch) | |
tree | 382d2396e505cfbe0b399ec53ad4eaf503a37aaa /ares | |
parent | 504e6d7ae67a0aa72078fbeab208bf43c81b1f20 (diff) |
Add manifest stuff to msvc makefile
Diffstat (limited to 'ares')
-rw-r--r-- | ares/Makefile.msvc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ares/Makefile.msvc b/ares/Makefile.msvc index 307e52f24..a0cc17169 100644 --- a/ares/Makefile.msvc +++ b/ares/Makefile.msvc @@ -395,15 +395,21 @@ ALL: c-ares acountry adig ahost c-ares: $(HHEADERS) $(CSOURCES) $(CARES_OBJDIR) $(CARES_OBJS) $(CARES_OUTDIR) $(CARES_LINK) $(CARES_LFLAGS) /out:$(CARES_OUTDIR)\$(CARES_TARGET) $(CARES_OBJS) +! IF "$(USE_RES_FILE)" == "TRUE" + IF EXIST $(CARES_OUTDIR)\$(CARES_TARGET).manifest mt -nologo -manifest $(CARES_OUTDIR)\$(CARES_TARGET).manifest -outputresource:$(CARES_OUTDIR)\$(CARES_TARGET);2 +! ENDIF acountry: c-ares acountry.c $(SAMPLESOURCES) $(SAMPLEHEADERS) $(PROG1_OBJDIR) $(PROG1_OBJS) $(PROG1_OUTDIR) $(SPROG_LINK) $(SPROG_LFLAGS) /out:$(PROG1_OUTDIR)\acountry.exe $(PROG1_OBJS) + IF EXIST $(PROG1_OUTDIR)\acountry.exe.manifest mt -nologo -manifest $(PROG1_OUTDIR)\acountry.exe.manifest -outputresource:$(PROG1_OUTDIR)\acountry.exe;1 adig: c-ares adig.c $(SAMPLESOURCES) $(SAMPLEHEADERS) $(PROG2_OBJDIR) $(PROG2_OBJS) $(PROG2_OUTDIR) $(SPROG_LINK) $(SPROG_LFLAGS) /out:$(PROG2_OUTDIR)\adig.exe $(PROG2_OBJS) + IF EXIST $(PROG2_OUTDIR)\adig.exe.manifest mt -nologo -manifest $(PROG2_OUTDIR)\adig.exe.manifest -outputresource:$(PROG2_OUTDIR)\adig.exe;1 ahost: c-ares ahost.c $(SAMPLESOURCES) $(SAMPLEHEADERS) $(PROG3_OBJDIR) $(PROG3_OBJS) $(PROG3_OUTDIR) $(SPROG_LINK) $(SPROG_LFLAGS) /out:$(PROG3_OUTDIR)\ahost.exe $(PROG3_OBJS) + IF EXIST $(PROG3_OUTDIR)\ahost.exe.manifest mt -nologo -manifest $(PROG3_OUTDIR)\ahost.exe.manifest -outputresource:$(PROG3_OUTDIR)\ahost.exe;1 $(CARES_OUTDIR): $(CARES_DIR) @if not exist $(CARES_OUTDIR) mkdir $(CARES_OUTDIR) |