aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-09 13:15:40 +0100
committerMax Kellermann <max@duempel.org>2014-12-09 14:04:33 +0100
commit1ecde309e4d8c5285037f9ba55beb44e5677b580 (patch)
treef3a856faa9489f69f5260dfad5783b1ced8a25cd
parentd62a738460c2647187384eaaf31c9aebcdda3b9d (diff)
downloadmpd-1ecde309e4d8c5285037f9ba55beb44e5677b580.tar.gz
mpd-1ecde309e4d8c5285037f9ba55beb44e5677b580.tar.xz
mpd-1ecde309e4d8c5285037f9ba55beb44e5677b580.zip
src/win32: move resources to win32/
Diffstat (limited to '')
-rw-r--r--Makefile.am10
-rw-r--r--configure.ac2
-rw-r--r--win32/res/mpd.ico (renamed from src/win32/mpd.ico)bin353118 -> 353118 bytes
-rw-r--r--win32/res/mpd.rc.in (renamed from src/win32/mpd_win32_rc.rc.in)2
4 files changed, 7 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am
index 28fa4c520..3cded98ca 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -331,14 +331,14 @@ endif
# Windows resource file
#
-src/win32/mpd_win32_rc.$(OBJEXT): src/win32/mpd_win32_rc.rc
+win32/res/mpd.$(OBJEXT): %.$(OBJEXT): %.rc
$(WINDRES) -i $< -o $@
if HAVE_WINDOWS
-noinst_DATA = src/win32/mpd_win32_rc.rc
+noinst_DATA = win32/res/mpd.rc
-EXTRA_src_mpd_DEPENDENCIES = src/win32/mpd_win32_rc.$(OBJEXT)
-src_mpd_LDFLAGS = -Wl,src/win32/mpd_win32_rc.$(OBJEXT)
+EXTRA_src_mpd_DEPENDENCIES = win32/res/mpd.$(OBJEXT)
+src_mpd_LDFLAGS = -Wl,win32/res/mpd.$(OBJEXT)
endif
if ENABLE_DATABASE
@@ -2231,4 +2231,4 @@ EXTRA_DIST = $(doc_DATA) autogen.sh \
android/src/Bridge.java \
android/src/Loader.java \
android/src/Main.java \
- src/win32/mpd_win32_rc.rc.in src/win32/mpd.ico
+ win32/res/mpd.rc.in win32/res/mpd.ico
diff --git a/configure.ac b/configure.ac
index addb278ab..59e9829c6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -97,7 +97,7 @@ linux*)
mingw32* | windows*)
AC_CONFIG_FILES([
- src/win32/mpd_win32_rc.rc
+ win32/res/mpd.rc
])
AC_CHECK_TOOL(WINDRES, windres)
AM_CPPFLAGS="$AM_CPPFLAGS -DWIN32_LEAN_AND_MEAN"
diff --git a/src/win32/mpd.ico b/win32/res/mpd.ico
index 86fd9fe43..86fd9fe43 100644
--- a/src/win32/mpd.ico
+++ b/win32/res/mpd.ico
Binary files differ
diff --git a/src/win32/mpd_win32_rc.rc.in b/win32/res/mpd.rc.in
index e5312dc78..3a33e9981 100644
--- a/src/win32/mpd_win32_rc.rc.in
+++ b/win32/res/mpd.rc.in
@@ -3,7 +3,7 @@
#define VERSION_NUMBER @VERSION_MAJOR@,@VERSION_MINOR@,@VERSION_REVISION@,@VERSION_EXTRA@
#define VERSION_NUMBER_STR "@VERSION_MAJOR@,@VERSION_MINOR@,@VERSION_REVISION@,@VERSION_EXTRA@"
-MPD_ICON ICON "@top_srcdir@/src/win32/mpd.ico"
+MPD_ICON ICON "@top_srcdir@/win32/res/mpd.ico"
1 VERSIONINFO
FILETYPE VFT_APP