0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.3.653

Problem:    MingW needs build rule for included XPM files.  Object directory
            for 32 and 64 builds is the same, also for MSVC.
Solution:   Add MingW build rule to use included XPM files.  Add the CPU or
            architecture to the object directory name. (Sergey Khorev)
This commit is contained in:
Bram Moolenaar
2012-09-05 17:57:39 +02:00
parent ac0ddc15e9
commit e2db4361d2
4 changed files with 56 additions and 25 deletions

View File

@@ -213,6 +213,7 @@ CPU = i386
# We're on Windows 95
CPU = i386
!endif # !PROCESSOR_ARCHITECTURE
OBJDIR = $(OBJDIR)$(CPU)
# Build a retail version by default
@@ -283,10 +284,12 @@ NETBEANS_LIB = WSock32.lib
!ifndef XPM
# XPM is not set, use the included xpm files, depending on the architecture.
!if ("$(CPU)" == "AMD64") || ("$(CPU)" == "IA64")
!if "$(CPU)" == "AMD64"
XPM = xpm\x64
!else
!elseif "$(CPU)" == "i386"
XPM = xpm\x86
!else
XPM = no
!endif
!endif
!if "$(XPM)" != "no"