1 ## Process this file with automake to produce Makefile.in
44 hb-queue-delete.16.png \
46 hb-queue-pass1.16.png \
47 hb-queue-pass2.16.png \
48 hb-queue-subtitle.16.png \
62 -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
63 -DPACKAGE_SRC_DIR=\""$(srcdir)"\" \
64 -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
72 noinst_PROGRAMS = makewidgetdeps quotestring create_resources preset_xlat \
73 resource_data.h resources.plist widget.deps widget_reverse.deps
75 # Dummy file, not built. Forces g++ linking
76 nodist_EXTRA_ghb_SOURCES = dummy.cpp
109 ghbcellrenderertext.c \
110 ghbcellrenderertext.h \
117 -Wl,--export-dynamic -Wl,--exclude-libs,ALL
119 ghb_LDADD = $(HB_LIBS) $(GHB_LIBS)
121 ghb_DEPENDENCIES = $(HB_DIR)/libhb/libhb.a
123 makewidgetdeps_SOURCES = \
130 makewidgetdeps_LDADD = $(GHBTOOLS_LIBS)
132 create_resources_SOURCES = \
141 create_resources_LDADD = $(GHBTOOLS_LIBS)
143 preset_xlat_SOURCES = \
150 preset_xlat_LDADD = $(GHBTOOLS_LIBS)
152 quotestring_SOURCES = quotestring.c
156 resources.o: resource_data.h
158 resource_data.h: quotestring resources.plist
159 ./quotestring resources.plist resource_data.h
161 widget_reverse.deps: makewidgetdeps
162 widget.deps: makewidgetdeps
165 resources.plist: create_resources resources.list $(icons_dep) internal_defaults.xml standard_presets.xml ghb.ui widget.deps widget_reverse.deps
166 ./create_resources -I$(srcdir) $(srcdir)/resources.list resources.plist
168 ghbcellrenderertext.c: marshalers.h
170 marshalers.h: marshalers.list
171 glib-genmarshal --prefix=ghb_marshal marshalers.list --header > marshalers.h
173 marshalers.c: marshalers.list
174 glib-genmarshal --prefix=ghb_marshal marshalers.list --body > marshalers.c
176 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(DESTDIR)/$(datadir)/icons/hicolor
179 for icon in $(icons); do \
180 SIZE=`echo $$icon | cut -d. -f2`; \
181 FILE=`echo $$icon | cut -d. -f1,3`; \
182 if [ "$$SIZE" = "svg" ]; then \
186 SIZE="$${SIZE}x$${SIZE}"; \
188 rm -f $(DESTDIR)/$(datadir)/icons/hicolor/$$SIZE/apps/$$FILE; \
190 @-if test -n "$(DESTDIR)/$(datadir)"; then \
191 echo "Updating Gtk icon cache."; \
192 $(gtk_update_icon_cache); \
194 echo "*** Icon cache not updated. After install, run this:"; \
195 echo "*** $(gtk_update_icon_cache)"; \
197 rm -f $(DESTDIR)/$(datadir)/applications/$(hb_menu)
200 for icon in $(icons); do \
201 SIZE=`echo $$icon | cut -d. -f2`; \
202 FILE=`echo $$icon | cut -d. -f1,3`; \
203 if [ "$$SIZE" = "svg" ]; then \
207 SIZE="$${SIZE}x$${SIZE}"; \
209 mkdir -p $(DESTDIR)/$(datadir)/icons/hicolor/$$SIZE/apps/; \
210 $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)/$(datadir)/icons/hicolor/$$SIZE/apps/$$FILE; \
212 @-if test -n "$(DESTDIR)/$(datadir)"; then \
213 echo "Updating Gtk icon cache."; \
214 $(gtk_update_icon_cache); \
216 echo "*** Icon cache not updated. After install, run this:"; \
217 echo "*** $(gtk_update_icon_cache)"; \
219 mkdir -p $(DESTDIR)/$(datadir)/applications/; \
220 $(INSTALL_DATA) $(srcdir)/$(hb_menu) $(DESTDIR)/$(datadir)/applications/$(hb_menu)