summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2015-09-04 18:08:46 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2015-09-04 18:08:46 +0800
commitc0e56e5af9e00137de1eb603ac1625332176f407 (patch)
tree9ab79194fa7d3440fec59c697c15188faac83474
parent7402dfe837bde0cfc2bdb1ab30f1ce7e9822a8f7 (diff)
downloadpango-c0e56e5af9e00137de1eb603ac1625332176f407.tar.gz
MSVC Builds: Rename testsrules_msvc.mak
Rename this to detectenv-msvc.mak to be consistent with the other GNOME projects that support MSVC builds, and clean that file up a bit.
-rw-r--r--build/Makefile.am2
-rw-r--r--build/detectenv-msvc.mak (renamed from build/testsrules_msvc.mak)7
-rw-r--r--build/pango-introspection-msvc.mak3
3 files changed, 2 insertions, 10 deletions
diff --git a/build/Makefile.am b/build/Makefile.am
index 0ca470ba..d562d7a3 100644
--- a/build/Makefile.am
+++ b/build/Makefile.am
@@ -3,7 +3,7 @@ SUBDIRS = win32
EXTRA_DIST = \
pango-introspection-msvc.mak \
introspection-msvc.mak \
- testsrules_msvc.mak \
+ detectenv-msvc.mak \
gen-file-list-pango.py
-include $(top_srcdir)/git.mk
diff --git a/build/testsrules_msvc.mak b/build/detectenv-msvc.mak
index 1f4669ee..020548af 100644
--- a/build/testsrules_msvc.mak
+++ b/build/detectenv-msvc.mak
@@ -63,10 +63,3 @@ LDFLAGS_ARCH = /machine:x64
!else
LDFLAGS_ARCH = /machine:x86
!endif
-
-LD = link.exe
-LD_CFLAGS = /link
-EXEEXT = .exe
-GLIB_LIBS = gobject-2.0.lib gmodule-2.0.lib glib-2.0.lib
-
-PANGO_API_VERSION = 1.0
diff --git a/build/pango-introspection-msvc.mak b/build/pango-introspection-msvc.mak
index 0237626d..52ec8063 100644
--- a/build/pango-introspection-msvc.mak
+++ b/build/pango-introspection-msvc.mak
@@ -1,6 +1,6 @@
# NMake Makefile to build Introspection Files for Pango
-!include testsrules_msvc.mak
+!include detectenv-msvc.mak
APIVERSION = 1.0
@@ -32,7 +32,6 @@ install-introspection: setbuildenv Pango-$(APIVERSION).gir Pango-$(APIVERSION).t
!endif
setbuildenv:
- @set CC=$(CC)
@set PYTHONPATH=$(BASEDIR)\lib\gobject-introspection
@set PATH=win32\vs$(VSVER)\$(CFG)\$(PLAT)\bin;$(BASEDIR)\bin;$(PATH)
@set PKG_CONFIG_PATH=$(PKG_CONFIG_PATH)