annotate src/GvimExt/Makefile @ 8180:1e48ffa2d697 v7.4.1383

commit https://github.com/vim/vim/commit/271273c39f2150ecdaa67fe1a2a8e9cdc63db545 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Feb 21 20:30:22 2016 +0100 patch 7.4.1383 Problem: GvimExt only loads the old libintl.dll. Solution: Also try loading libint-8.dll. (Ken Takata, closes https://github.com/vim/vim/issues/608)
author Christian Brabandt <cb@256bit.org>
date Sun, 21 Feb 2016 20:45:03 +0100
parents a98b93736894
children c036c0f636d5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
4e2284e71352 updated for version 7.0002
vimboss
parents:
diff changeset
1 # Makefile for GvimExt, using MSVC
4e2284e71352 updated for version 7.0002
vimboss
parents:
diff changeset
2 # Options:
4e2284e71352 updated for version 7.0002
vimboss
parents:
diff changeset
3 # DEBUG=yes Build debug version (for VC7 and maybe later)
4e2284e71352 updated for version 7.0002
vimboss
parents:
diff changeset
4 #
4e2284e71352 updated for version 7.0002
vimboss
parents:
diff changeset
5
4e2284e71352 updated for version 7.0002
vimboss
parents:
diff changeset
6 TARGETOS=BOTH
6809
932370264f0f patch 7.4.726
Bram Moolenaar <bram@vim.org>
parents: 3943
diff changeset
7 !ifndef APPVER
932370264f0f patch 7.4.726
Bram Moolenaar <bram@vim.org>
parents: 3943
diff changeset
8 APPVER=5.0
932370264f0f patch 7.4.726
Bram Moolenaar <bram@vim.org>
parents: 3943
diff changeset
9 !endif
10
4e2284e71352 updated for version 7.0002
vimboss
parents:
diff changeset
10
4e2284e71352 updated for version 7.0002
vimboss
parents:
diff changeset
11 !if "$(DEBUG)" != "yes"
4e2284e71352 updated for version 7.0002
vimboss
parents:
diff changeset
12 NODEBUG = 1
4e2284e71352 updated for version 7.0002
vimboss
parents:
diff changeset
13 !endif
4e2284e71352 updated for version 7.0002
vimboss
parents:
diff changeset
14
7566
1dd5b27a79b1 commit https://github.com/vim/vim/commit/4514d2769b05faf6edcca42c3ab3d42da84270f1
Christian Brabandt <cb@256bit.org>
parents: 6809
diff changeset
15 !ifdef PROCESSOR_ARCHITECTURE
1dd5b27a79b1 commit https://github.com/vim/vim/commit/4514d2769b05faf6edcca42c3ab3d42da84270f1
Christian Brabandt <cb@256bit.org>
parents: 6809
diff changeset
16 # On Windows NT
1dd5b27a79b1 commit https://github.com/vim/vim/commit/4514d2769b05faf6edcca42c3ab3d42da84270f1
Christian Brabandt <cb@256bit.org>
parents: 6809
diff changeset
17 ! ifndef CPU
1dd5b27a79b1 commit https://github.com/vim/vim/commit/4514d2769b05faf6edcca42c3ab3d42da84270f1
Christian Brabandt <cb@256bit.org>
parents: 6809
diff changeset
18 CPU = i386
7591
4447dc38bc22 commit https://github.com/vim/vim/commit/3d6d5cc3a417c04d9772596ea83f8e6b41321781
Christian Brabandt <cb@256bit.org>
parents: 7566
diff changeset
19 ! if !defined(PLATFORM) && defined(TARGET_CPU)
4447dc38bc22 commit https://github.com/vim/vim/commit/3d6d5cc3a417c04d9772596ea83f8e6b41321781
Christian Brabandt <cb@256bit.org>
parents: 7566
diff changeset
20 PLATFORM = $(TARGET_CPU)
4447dc38bc22 commit https://github.com/vim/vim/commit/3d6d5cc3a417c04d9772596ea83f8e6b41321781
Christian Brabandt <cb@256bit.org>
parents: 7566
diff changeset
21 ! endif
7566
1dd5b27a79b1 commit https://github.com/vim/vim/commit/4514d2769b05faf6edcca42c3ab3d42da84270f1
Christian Brabandt <cb@256bit.org>
parents: 6809
diff changeset
22 ! ifdef PLATFORM
1dd5b27a79b1 commit https://github.com/vim/vim/commit/4514d2769b05faf6edcca42c3ab3d42da84270f1
Christian Brabandt <cb@256bit.org>
parents: 6809
diff changeset
23 ! if ("$(PLATFORM)" == "x64") || ("$(PLATFORM)" == "X64")
1dd5b27a79b1 commit https://github.com/vim/vim/commit/4514d2769b05faf6edcca42c3ab3d42da84270f1
Christian Brabandt <cb@256bit.org>
parents: 6809
diff changeset
24 CPU = AMD64
1dd5b27a79b1 commit https://github.com/vim/vim/commit/4514d2769b05faf6edcca42c3ab3d42da84270f1
Christian Brabandt <cb@256bit.org>
parents: 6809
diff changeset
25 ! elseif ("$(PLATFORM)" != "x86") && ("$(PLATFORM)" != "X86")
1dd5b27a79b1 commit https://github.com/vim/vim/commit/4514d2769b05faf6edcca42c3ab3d42da84270f1
Christian Brabandt <cb@256bit.org>
parents: 6809
diff changeset
26 ! error *** ERROR Unknown target platform "$(PLATFORM)". Make aborted.
1dd5b27a79b1 commit https://github.com/vim/vim/commit/4514d2769b05faf6edcca42c3ab3d42da84270f1
Christian Brabandt <cb@256bit.org>
parents: 6809
diff changeset
27 ! endif
1dd5b27a79b1 commit https://github.com/vim/vim/commit/4514d2769b05faf6edcca42c3ab3d42da84270f1
Christian Brabandt <cb@256bit.org>
parents: 6809
diff changeset
28 ! endif
1dd5b27a79b1 commit https://github.com/vim/vim/commit/4514d2769b05faf6edcca42c3ab3d42da84270f1
Christian Brabandt <cb@256bit.org>
parents: 6809
diff changeset
29 ! endif
1dd5b27a79b1 commit https://github.com/vim/vim/commit/4514d2769b05faf6edcca42c3ab3d42da84270f1
Christian Brabandt <cb@256bit.org>
parents: 6809
diff changeset
30 !else
1dd5b27a79b1 commit https://github.com/vim/vim/commit/4514d2769b05faf6edcca42c3ab3d42da84270f1
Christian Brabandt <cb@256bit.org>
parents: 6809
diff changeset
31 CPU = i386
1dd5b27a79b1 commit https://github.com/vim/vim/commit/4514d2769b05faf6edcca42c3ab3d42da84270f1
Christian Brabandt <cb@256bit.org>
parents: 6809
diff changeset
32 !endif
1dd5b27a79b1 commit https://github.com/vim/vim/commit/4514d2769b05faf6edcca42c3ab3d42da84270f1
Christian Brabandt <cb@256bit.org>
parents: 6809
diff changeset
33
3943
d3c291efdb0b updated for version 7.3.727
Bram Moolenaar <bram@vim.org>
parents: 1569
diff changeset
34 !ifdef SDK_INCLUDE_DIR
d3c291efdb0b updated for version 7.3.727
Bram Moolenaar <bram@vim.org>
parents: 1569
diff changeset
35 !include $(SDK_INCLUDE_DIR)\Win32.mak
d3c291efdb0b updated for version 7.3.727
Bram Moolenaar <bram@vim.org>
parents: 1569
diff changeset
36 !else
d3c291efdb0b updated for version 7.3.727
Bram Moolenaar <bram@vim.org>
parents: 1569
diff changeset
37 !include <Win32.mak>
d3c291efdb0b updated for version 7.3.727
Bram Moolenaar <bram@vim.org>
parents: 1569
diff changeset
38 !endif
10
4e2284e71352 updated for version 7.0002
vimboss
parents:
diff changeset
39
4e2284e71352 updated for version 7.0002
vimboss
parents:
diff changeset
40 all: gvimext.dll
4e2284e71352 updated for version 7.0002
vimboss
parents:
diff changeset
41
4e2284e71352 updated for version 7.0002
vimboss
parents:
diff changeset
42 gvimext.dll: gvimext.obj \
4e2284e71352 updated for version 7.0002
vimboss
parents:
diff changeset
43 gvimext.res
714
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 10
diff changeset
44 # $(implib) /NOLOGO -machine:$(CPU) -def:gvimext.def $** -out:gvimext.lib
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 10
diff changeset
45 # $(link) $(dlllflags) -base:0x1C000000 -out:$*.dll $** $(olelibsdll) shell32.lib gvimext.lib comctl32.lib gvimext.exp
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 10
diff changeset
46 $(link) $(lflags) -dll -def:gvimext.def -base:0x1C000000 -out:$*.dll $** $(olelibsdll) shell32.lib comctl32.lib
1117
a13e4b242735 updated for version 7.0-243
vimboss
parents: 714
diff changeset
47 if exist $*.dll.manifest mt -nologo -manifest $*.dll.manifest -outputresource:$*.dll;2
10
4e2284e71352 updated for version 7.0002
vimboss
parents:
diff changeset
48
4e2284e71352 updated for version 7.0002
vimboss
parents:
diff changeset
49 gvimext.obj: gvimext.h
4e2284e71352 updated for version 7.0002
vimboss
parents:
diff changeset
50
4e2284e71352 updated for version 7.0002
vimboss
parents:
diff changeset
51 .cpp.obj:
7566
1dd5b27a79b1 commit https://github.com/vim/vim/commit/4514d2769b05faf6edcca42c3ab3d42da84270f1
Christian Brabandt <cb@256bit.org>
parents: 6809
diff changeset
52 $(cc) $(cflags) -DFEAT_GETTEXT $(cvarsmt) $*.cpp
10
4e2284e71352 updated for version 7.0002
vimboss
parents:
diff changeset
53
4e2284e71352 updated for version 7.0002
vimboss
parents:
diff changeset
54 gvimext.res: gvimext.rc
7887
a98b93736894 commit https://github.com/vim/vim/commit/bc073092254df17b282d162d8e8181e8f6a7a356
Christian Brabandt <cb@256bit.org>
parents: 7591
diff changeset
55 $(rc) /nologo $(rcflags) $(rcvars) gvimext.rc
10
4e2284e71352 updated for version 7.0002
vimboss
parents:
diff changeset
56
4e2284e71352 updated for version 7.0002
vimboss
parents:
diff changeset
57 clean:
7566
1dd5b27a79b1 commit https://github.com/vim/vim/commit/4514d2769b05faf6edcca42c3ab3d42da84270f1
Christian Brabandt <cb@256bit.org>
parents: 6809
diff changeset
58 - if exist gvimext.dll del gvimext.dll
1dd5b27a79b1 commit https://github.com/vim/vim/commit/4514d2769b05faf6edcca42c3ab3d42da84270f1
Christian Brabandt <cb@256bit.org>
parents: 6809
diff changeset
59 - if exist gvimext.lib del gvimext.lib
1dd5b27a79b1 commit https://github.com/vim/vim/commit/4514d2769b05faf6edcca42c3ab3d42da84270f1
Christian Brabandt <cb@256bit.org>
parents: 6809
diff changeset
60 - if exist gvimext.exp del gvimext.exp
1dd5b27a79b1 commit https://github.com/vim/vim/commit/4514d2769b05faf6edcca42c3ab3d42da84270f1
Christian Brabandt <cb@256bit.org>
parents: 6809
diff changeset
61 - if exist gvimext.obj del gvimext.obj
1dd5b27a79b1 commit https://github.com/vim/vim/commit/4514d2769b05faf6edcca42c3ab3d42da84270f1
Christian Brabandt <cb@256bit.org>
parents: 6809
diff changeset
62 - if exist gvimext.res del gvimext.res
1dd5b27a79b1 commit https://github.com/vim/vim/commit/4514d2769b05faf6edcca42c3ab3d42da84270f1
Christian Brabandt <cb@256bit.org>
parents: 6809
diff changeset
63 - if exist gvimext.dll.manifest del gvimext.dll.manifest