[easytag/wip/mingw: 4/12] Conditionally compile win32 compatibility code
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag/wip/mingw: 4/12] Conditionally compile win32 compatibility code
- Date: Wed, 16 Jan 2013 21:04:33 +0000 (UTC)
commit 0e17566dff4047f44c71ca6ecc4d51968811d81d
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]