1 ## Process this file with automake to produce Makefile.in
39 hb-status-empty.32.png \
46 hb-queue-delete.16.png \
48 hb-queue-pass1.16.png \
49 hb-queue-pass2.16.png \
50 hb-queue-subtitle.16.png \
64 -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
65 -DPACKAGE_SRC_DIR=\""$(srcdir)"\" \
66 -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
74 noinst_PROGRAMS = makewidgetdeps quotestring create_resources preset_xlat \
75 resource_data.h resources.plist widget.deps widget_reverse.deps
77 # Dummy file, not built. Forces g++ linking
78 nodist_EXTRA_ghb_SOURCES = dummy.cpp
111 ghbcellrenderertext.c \
112 ghbcellrenderertext.h \
119 -Wl,--export-dynamic -Wl,--exclude-libs,ALL
121 ghb_LDADD = $(HB_LIBS) $(GHB_LIBS)
123 ghb_DEPENDENCIES = $(HB_DIR)/libhb/libhb.a
125 makewidgetdeps_SOURCES = \
132 makewidgetdeps_LDADD = $(GHBTOOLS_LIBS)
134 create_resources_SOURCES = \
143 create_resources_LDADD = $(GHBTOOLS_LIBS)
145 preset_xlat_SOURCES = \
152 preset_xlat_LDADD = $(GHBTOOLS_LIBS)
154 quotestring_SOURCES = quotestring.c
158 resources.o: resource_data.h
160 resource_data.h: quotestring resources.plist
161 ./quotestring resources.plist resource_data.h
163 widget_reverse.deps: makewidgetdeps
164 widget.deps: makewidgetdeps
167 resources.plist: create_resources resources.list $(icons_dep) internal_defaults.xml standard_presets.xml ghb.ui widget.deps widget_reverse.deps
168 ./create_resources -I$(srcdir) $(srcdir)/resources.list resources.plist
170 ghbcellrenderertext.c: marshalers.h
172 marshalers.h: marshalers.list
173 glib-genmarshal --prefix=ghb_marshal marshalers.list --header > marshalers.h
175 marshalers.c: marshalers.list
176 glib-genmarshal --prefix=ghb_marshal marshalers.list --body > marshalers.c
178 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(DESTDIR)/$(datadir)/icons/hicolor
181 for icon in $(icons); do \
182 SIZE=`echo $$icon | cut -d. -f2`; \
183 FILE=`echo $$icon | cut -d. -f1,3`; \
184 if [ "$$SIZE" = "svg" ]; then \
188 SIZE="$${SIZE}x$${SIZE}"; \
190 rm -f $(DESTDIR)/$(datadir)/icons/hicolor/$$SIZE/apps/$$FILE; \
192 @-if test -n "$(DESTDIR)/$(datadir)"; then \
193 echo "Updating Gtk icon cache."; \
194 $(gtk_update_icon_cache); \
196 echo "*** Icon cache not updated. After install, run this:"; \
197 echo "*** $(gtk_update_icon_cache)"; \
199 rm -f $(DESTDIR)/$(datadir)/applications/$(hb_menu)
202 for icon in $(icons); do \
203 SIZE=`echo $$icon | cut -d. -f2`; \
204 FILE=`echo $$icon | cut -d. -f1,3`; \
205 if [ "$$SIZE" = "svg" ]; then \
209 SIZE="$${SIZE}x$${SIZE}"; \
211 mkdir -p $(DESTDIR)/$(datadir)/icons/hicolor/$$SIZE/apps/; \
212 $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)/$(datadir)/icons/hicolor/$$SIZE/apps/$$FILE; \
214 @-if test -n "$(DESTDIR)/$(datadir)"; then \
215 echo "Updating Gtk icon cache."; \
216 $(gtk_update_icon_cache); \
218 echo "*** Icon cache not updated. After install, run this:"; \
219 echo "*** $(gtk_update_icon_cache)"; \
221 mkdir -p $(DESTDIR)/$(datadir)/applications/; \
222 $(INSTALL_DATA) $(srcdir)/$(hb_menu) $(DESTDIR)/$(datadir)/applications/$(hb_menu)