Mercurial > vim
annotate src/GvimExt/Makefile @ 8744:ff9973bbbfcb v7.4.1661
commit https://github.com/vim/vim/commit/fa8b2e173dd5f6c4a5cfd326abdcf68b8eebf90d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 26 22:19:27 2016 +0100
patch 7.4.1661
Problem: No test for special characters in channel eval command.
Solution: Testing sending and receiving text with special characters.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 26 Mar 2016 22:30:04 +0100 |
parents | a98b93736894 |
children | c036c0f636d5 |
rev | line source |
---|---|
10 | 1 # Makefile for GvimExt, using MSVC |
2 # Options: | |
3 # DEBUG=yes Build debug version (for VC7 and maybe later) | |
4 # | |
5 | |
6 TARGETOS=BOTH | |
6809 | 7 !ifndef APPVER |
8 APPVER=5.0 | |
9 !endif | |
10 | 10 |
11 !if "$(DEBUG)" != "yes" | |
12 NODEBUG = 1 | |
13 !endif | |
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 | 34 !ifdef SDK_INCLUDE_DIR |
35 !include $(SDK_INCLUDE_DIR)\Win32.mak | |
36 !else | |
37 !include <Win32.mak> | |
38 !endif | |
10 | 39 |
40 all: gvimext.dll | |
41 | |
42 gvimext.dll: gvimext.obj \ | |
43 gvimext.res | |
714 | 44 # $(implib) /NOLOGO -machine:$(CPU) -def:gvimext.def $** -out:gvimext.lib |
45 # $(link) $(dlllflags) -base:0x1C000000 -out:$*.dll $** $(olelibsdll) shell32.lib gvimext.lib comctl32.lib gvimext.exp | |
46 $(link) $(lflags) -dll -def:gvimext.def -base:0x1C000000 -out:$*.dll $** $(olelibsdll) shell32.lib comctl32.lib | |
1117 | 47 if exist $*.dll.manifest mt -nologo -manifest $*.dll.manifest -outputresource:$*.dll;2 |
10 | 48 |
49 gvimext.obj: gvimext.h | |
50 | |
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 | 53 |
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 | 56 |
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 |