2 REVISION=@EXTRA_VERSION@
4 REVISION=`git rev-parse --short master`
7 -include Makefile.config
11 gmpc_VALAFLAGS=--pkg=gmodule-2.0 --pkg=config --pkg=gtk+-2.0 --pkg=gmpc --pkg=libmpd --pkg=libxml-2.0 --pkg=fix --vapidir=$(top_srcdir)/src/vapi/ --basedir=$(top_builddir)/src/ -H gmpc-extras.h --library=gmpc-extras --use-header
20 Plugins/extraplaylist.c\
22 Plugins/sidebar-search.vala\
23 Plugins/sidebar-play-queue-time.vala\
24 Plugins/sidebar-next-song.vala
29 Widgets/GmpcVolume.vala\
30 Widgets/gmpc-progress.vala\
31 Widgets/mpd-async-request.c\
32 Widgets/gmpc-song-list.vala\
33 Widgets/gmpc-clicklabel.vala\
34 Widgets/playlist3-messages.c\
35 Widgets/gmpc-image-async.vala\
36 Widgets/advanced_settings.vala\
37 Widgets/gmpc-widgets-qtable.vala\
38 Widgets/gmpc-widgets-popupmenu.vala\
39 Widgets/gmpc-metadata-backdrop.vala\
40 Widgets/gmpc-metadata-text-label.vala\
41 Widgets/gmpc-metadata-similarsongs.vala\
42 Widgets/gmpc-metadata-similarartists.vala\
43 Widgets/gmpc-profiles.vala\
44 Widgets/gmpc-sidebar-view.vala\
45 Widgets/gmpc-stats-label.vala\
46 Widgets/gmpc-widgets-overlay.vala\
55 Tools/gmpc-database-update-tracker.vala\
56 Tools/gmpc-metadata-prefetcher.vala\
57 Tools/gmpc-liststore-sort.vala\
58 Tools/gmpc-metadata-appearance.vala \
59 Tools/gmpc_easy_download.c\
60 Tools/mpd-easy-commands.c\
61 Tools/advanced-search.c\
62 Tools/setup-assistant.c\
63 Tools/bug-information.c\
64 Tools/mpdinteraction.c\
77 browsers/playlist3-current-playlist-browser.c\
78 browsers/gmpc-metadata-browser2.vala\
79 browsers/playlist3-playlist-editor.c\
80 browsers/playlist3-find2-browser.c\
81 browsers/playlist3-tag2-browser.c\
82 browsers/playlist3-file-browser.c\
83 browsers/gmpc-nowplaying2.vala\
84 browsers/server-information.c
87 $(gmpc_WIDGETS_FILES)\
88 $(gmpc_BROWSERS_FILES)\
92 vala/gmpc-connection.vala\
93 vala/gmpc-easy-command.vala\
94 vala/gmpc-favorites.vala\
95 vala/gmpc-mpddata-treeview-tooltip.vala\
96 vala/gmpc-plugin.vala\
97 vala/gmpc-url-fetching-gui.vala\
98 vala/gmpc-metadata-editwindow.vala\
99 vala/gmpc-paned-size-group.vala\
100 vala/gmpc-sidebar-plugins.vala\
110 # MetaData/metadata-cache-sqlite.c\
111 # MetaData/metadata-cache.c\
115 nodist_gmpc_SOURCES=\
121 gmpc_DEPENDENCIES = gmpc-win32.o
122 gmpc_LDADD += gmpc-win32.o
126 $(gmpc_GOBSTAMPFILES)\
129 gmpc-win32.o: gmpc-win32.rc
130 $(LIBTOOL) --mode=compile --tag=RC $(RC) -i $^ -o $@
134 @if test "$(REVISION)" != "$(CONF_VERSION)"; then\
135 echo "Writing new Makefile.config file";\
136 echo "CONF_VERSION=$(REVISION)" > Makefile.config;\
137 echo "static const char *revision = \"$(REVISION)""\"; " > revision.h;\
141 echo "static const char *revision = \"$(REVISION)""\"; " > revision.h;
144 -DPIXMAP_PATH=\""$(pkgdatadir)/icons/"\" \
145 -DGLADE_PATH=\""$(pkgdatadir)"\" \
146 -DVERSION=\"@VERSION@\"\
151 -I$(top_builddir)/src\
152 -I$(top_srcdir)/src/egg\
153 -I$(top_builddir)/src/egg\
154 -I$(top_srcdir)/src/Tools\
155 -I$(top_builddir)/src/Tools\
156 -I$(top_srcdir)/src/vala\
157 -I$(top_builddir)/src/vala\
158 -I$(top_srcdir)/src/Widgets\
159 -I$(top_builddir)/src/Widgets\
160 -I$(top_srcdir)/src/GUI\
161 -I$(top_builddir)/src/GUI\
162 -I$(top_srcdir)/src/MetaData/\
163 -I$(top_builddir)/src/MetaData/
186 LIBS += @unique_LIBS@
189 if HAVE_APP_INDICATOR
190 LIBS += @APP_INDICATOR_LIBS@
199 AM_CFLAGS = @CFLAGS@\
214 -DPACKAGE_LIB_DIR=\""$(pkglibdir)"\"\
215 -DPACKAGE_DATA_DIR=\""$(datarootdir)"\"
219 AM_CFLAGS += @unique_CFLAGS@
222 if HAVE_APP_INDICATOR
223 AM_CFLAGS += @APP_INDICATOR_CFLAGS@
227 AM_CFLAGS+=-Wall -Wdeclaration-after-statement -Wshadow -fno-common -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wold-style-definition -Wmissing-declarations -Wredundant-decls -Wmissing-noreturn -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wnested-externs -Wmissing-format-attribute -Waggregate-return -Wundef -Wmissing-include-dirs -Winit-self -Wswitch-default -Wswitch-enum -g -O1
231 nodist_gmpcinclude_HEADERS=\
233 gmpc-mpddata-model.h\
234 gmpc-mpddata-model-sort.h\
235 gmpc-mpddata-treeview.h\
237 gmpc-meta-text-view.h
239 gmpcinclude_HEADERS = \
242 Widgets/mpd-async-request.h\
243 Widgets/playlist3-messages.h\
244 Tools/gmpc_easy_download.h\
245 Tools/mpdinteraction.h\
252 gmpcincludedir =$(includedir)/gmpc/
258 Widgets/mpd-async-request.h\
260 browsers/playlist3-tag2-browser.h\
261 browsers/playlist3-file-browser.h\
262 browsers/playlist3-current-playlist-browser.h\
263 browsers/playlist3-find2-browser.h\
264 browsers/playlist3-playlist-editor.h\
267 Tools/mpd-easy-commands.h\
268 Tools/setup-assistant.h\
269 Tools/bug-information.h\
275 MetaData/html2utf8.h\
276 egg/eggcolumnchooserdialog.h\
277 egg/eggcolumnmodel.h\
278 Tools/advanced-search.h\
279 Tools/setup-assistant.h\
283 Tools/bug-information.h\
286 Tools/pixbuf-cache.h\
289 GUI/control_window.h\
296 # MetaData/metadata-cache.h\
297 # MetaData/metadata-cache-sqlite.h\
307 $(gmpc_GOBSTAMPFILES)
313 gmpc-meta-watcher.gob\
315 gmpc-meta-text-view.gob\
316 gmpc-mpddata-model.gob\
317 gmpc-mpddata-model-playlist.gob\
318 gmpc-mpddata-model-sort.gob\
319 gmpc-mpddata-treeview.gob
322 $(gmpc_GOBFILES:.gob=.gob.stamp)
325 $(gmpc_GOBFILES:.gob=.c)
328 $(gmpc_GOBFILES:.gob=.h)\
329 $(gmpc_GOBFILES:.gob=-private.h)
332 $(QUIET_GE) echo " GOB $< - $(top_builddir)/src/gob/"
333 @GOB2@ --no-lines --always-private-header $<
334 @touch $(top_builddir)/src/$@
341 egg/eggcolumnchooserdialog.c\