aboutsummaryrefslogtreecommitdiff
path: root/makefile.after
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-04-30 13:46:01 +0000
committermarha <marha@users.sourceforge.net>2010-04-30 13:46:01 +0000
commit090430d67b3a7fb0aacc249b82428b7ea1424d70 (patch)
tree8e6f9f0822fd3db2f39771a52041e1affa1bfcb9 /makefile.after
parent3e05157bedacb9719dc5f4cc25a44c34396af0ac (diff)
downloadvcxsrv-090430d67b3a7fb0aacc249b82428b7ea1424d70.tar.gz
vcxsrv-090430d67b3a7fb0aacc249b82428b7ea1424d70.tar.bz2
vcxsrv-090430d67b3a7fb0aacc249b82428b7ea1424d70.zip
Now default building is VS2010. VS2008 is still working.
Diffstat (limited to 'makefile.after')
-rw-r--r--makefile.after12
1 files changed, 10 insertions, 2 deletions
diff --git a/makefile.after b/makefile.after
index 32cfc2a56..1fe4e08bd 100644
--- a/makefile.after
+++ b/makefile.after
@@ -38,16 +38,24 @@ endif
PDB := $(EXE:%.exe=%.pdb)
-MANIFESTFILE:=$(OBJDIR)\runtime.manifest
+ifdef VS2008
-all: $(EXE)
+MANIFESTFILE:=$(OBJDIR)\runtime.manifest
$(MANIFESTFILE):
$(MHMAKECONF)/tools/genruntimemanifest $@ $(DEBUG)
+endif
+
+all: $(EXE)
+
$(EXE) : $(OBJS) $(INCLUDELIBFILES) $(RESOBJS) $(MANIFESTFILE) $(EXTRALIB)
+ifndef VS2008
+ $(LINK) $(LINKFLAGS) /OUT:$(relpath $@) $(INCLUDELIBFILES) $(SYSTEMLIBS) $(LINKLIBS) $(EXTRALIB) $(OBJS) $(RESOBJS)
+else
$(LINK) $(LINKFLAGS) /MANIFEST:NO /OUT:$(relpath $@) $(INCLUDELIBFILES) $(SYSTEMLIBS) $(LINKLIBS) $(EXTRALIB) $(OBJS) $(RESOBJS)
mt -nologo -manifest $(MANIFESTFILE) -outputresource:$(relpath $@);\#1
+endif
endif # End WINAPP or TTYAPP stuff