comparison src/GvimExt/Make_ming.mak @ 3110:d3758064ff99 v7.3.326

updated for version 7.3.326 Problem: MingW 4.6 no longer supports the -mno-cygwin option. Solution: Split the Cygwin and MingW makefiles. (Matsushita Shougo)
author Bram Moolenaar <bram@vim.org>
date Fri, 30 Sep 2011 16:56:02 +0200
parents f921368d43c3
children cc3f3d35c549
comparison
equal deleted inserted replaced
3109:cfa5c7f5737f 3110:d3758064ff99
1 # Project: gvimext 1 # Project: gvimext
2 # Generates gvimext.dll with gcc. 2 # Generates gvimext.dll with gcc.
3 # Can be used for Cygwin and MingW (MingW ignores -mno-cygwin) 3 # To be used with MingW.
4 # 4 #
5 # Originally, the DLL base address was fixed: -Wl,--image-base=0x1C000000 5 # Originally, the DLL base address was fixed: -Wl,--image-base=0x1C000000
6 # Now it is allocated dymanically by the linker by evaluating all DLLs 6 # Now it is allocated dymanically by the linker by evaluating all DLLs
7 # already loaded in memory. The binary image contains as well information 7 # already loaded in memory. The binary image contains as well information
8 # for automatic pseudo-rebasing, if needed by the system. ALV 2004-02-29 8 # for automatic pseudo-rebasing, if needed by the system. ALV 2004-02-29
29 endif 29 endif
30 30
31 ifeq ($(CROSS),yes) 31 ifeq ($(CROSS),yes)
32 DEL = rm 32 DEL = rm
33 ifeq ($(MINGWOLD),yes) 33 ifeq ($(MINGWOLD),yes)
34 CXXFLAGS := -O2 -mno-cygwin -fvtable-thunks 34 CXXFLAGS := -O2 -fvtable-thunks
35 else 35 else
36 CXXFLAGS := -O2 -mno-cygwin 36 CXXFLAGS := -O2
37 endif 37 endif
38 else 38 else
39 CXXFLAGS := -O2 -mno-cygwin 39 CXXFLAGS := -O2
40 ifneq (sh.exe, $(SHELL)) 40 ifneq (sh.exe, $(SHELL))
41 DEL = rm 41 DEL = rm
42 else 42 else
43 DEL = del 43 DEL = del
44 endif 44 endif
73 $(RES): gvimext_ming.rc 73 $(RES): gvimext_ming.rc
74 $(WINDRES) $(WINDRES_FLAGS) --input-format=rc --output-format=coff -DMING $? -o $@ 74 $(WINDRES) $(WINDRES_FLAGS) --input-format=rc --output-format=coff -DMING $? -o $@
75 75
76 clean: clean-custom 76 clean: clean-custom
77 -$(DEL) $(OBJ) $(RES) $(DLL) 77 -$(DEL) $(OBJ) $(RES) $(DLL)
78