diff options
author | François Revol <revol@free.fr> | 2015-09-17 22:18:15 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-09-17 22:46:46 +0200 |
commit | 352ec364f02aaf40fee571a1f7258cb3be0c17f3 (patch) | |
tree | 32b636addac5a504d4b809bb476902412f28257f /Makefile.am | |
parent | 54f684b7b3e8ab1e7e5cbac43397e6b87934a51e (diff) | |
download | mpd-352ec364f02aaf40fee571a1f7258cb3be0c17f3.tar.gz mpd-352ec364f02aaf40fee571a1f7258cb3be0c17f3.tar.xz mpd-352ec364f02aaf40fee571a1f7258cb3be0c17f3.zip |
Makefile.am: add the Haiku resources to the mpd binary
Diffstat (limited to '')
-rw-r--r-- | Makefile.am | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index b6b351268..e4dc88a7d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -342,6 +342,28 @@ EXTRA_src_mpd_DEPENDENCIES = win32/res/mpd.$(OBJEXT) src_mpd_LDFLAGS = -Wl,win32/res/mpd.$(OBJEXT) endif +# +# Haiku resource file +# + +src/haiku/mpd.rsrc: src/haiku/mpd.rdef + $(RC) -o $@ $< + +if HAVE_HAIKU +noinst_DATA = src/haiku/mpd.rdef + +EXTRA_src_mpd_DEPENDENCIES = src/haiku/mpd.rsrc + +src/mpd.haiku-rsrc-done: src/mpd src/haiku/mpd.rsrc + $(XRES) -o src/mpd src/haiku/mpd.rsrc + @touch src/mpd.haiku-rsrc-done + +all-local: src/mpd.haiku-rsrc-done + +clean-local: + rm -rf src/haiku/mpd.rsrc src/mpd.haiku-rsrc-done +endif + if ENABLE_DATABASE if ENABLE_INOTIFY libmpd_a_SOURCES += \ @@ -2243,4 +2265,5 @@ EXTRA_DIST = $(doc_DATA) autogen.sh \ android/src/Bridge.java \ android/src/Loader.java \ android/src/Main.java \ - win32/res/mpd.rc.in win32/res/mpd.ico + win32/res/mpd.rc.in win32/res/mpd.ico \ + src/haiku/App_MusicPD |