[easytag/wip/mingw: 2/10] Conditionally compile win32 compatibility code
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag/wip/mingw: 2/10] Conditionally compile win32 compatibility code
- Date: Wed, 16 Jan 2013 20:54:43 +0000 (UTC)
commit 29425057b24fa069cd8b4b2dc26fa97ba5c8d7b2
Author: David King <amigadave amigadave com>
Date: Tue Jan 15 21:47:35 2013 +0000
Conditionally compile win32 compatibility code
If a Windows (strictly mingw32) host is detected during configure,
compile the Windows compatibility wrapper functions.
Makefile.am | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 54e542a..bcf65a6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -15,6 +15,11 @@ easytag_CFLAGS = \
$(WARN_CFLAGS) \
$(EASYTAG_CFLAGS)
+if WINDOWS_HOST
+win32_sources = \
+ src/win32/win32dep.c
+endif
+
easytag_SOURCES = \
src/id3lib/c_wrapper.cpp \
src/libapetag/apetaglib.c \
@@ -59,7 +64,8 @@ easytag_SOURCES = \
src/setting.c \
src/vcedit.c \
src/wavpack_header.c \
- src/wavpack_tag.c
+ src/wavpack_tag.c \
+ $(win32_sources)
easytag_headers = \
src/id3lib/id3_bugfix.h \
@@ -103,7 +109,8 @@ easytag_headers = \
src/ui_manager.h \
src/vcedit.h \
src/wavpack_header.h \
- src/wavpack_tag.h
+ src/wavpack_tag.h \
+ src/win32/win32dep.h
easytag_LDADD = \
$(EASYTAG_LIBS) \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]