1 ## Process this file with automake to produce Makefile.in
5 -lhb -la52 -lmkv -lavformat -lavcodec -lavutil -ldca -ldvdnav -ldvdread \
6 -lfaac -lmp3lame -lmpeg2 -lvorbis -lvorbisenc -logg -lsamplerate \
7 -lx264 -lmp4v2 -lswscale -ltheora -lfaad -lz \
8 -lbz2 -liberty -lpthread -ldl
11 -lhb -la52 -lmkv -lavformat -lavcodec -lavutil -ldca -ldvdnav -ldvdread \
12 -lfaac -lmp3lame -lmpeg2 -lvorbis -lvorbisenc -logg -lsamplerate \
13 -lx264 -lmp4v2 -lswscale -ltheora -lfaad -lz \
27 hb-status-empty.32.png \
34 hb-queue-delete.16.png \
36 hb-queue-pass1.16.png \
37 hb-queue-pass2.16.png \
38 hb-queue-subtitle.16.png \
52 -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
53 -DPACKAGE_SRC_DIR=\""$(srcdir)"\" \
54 -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
61 # Dummy file, not built. Forces g++ linking
62 nodist_EXTRA_ghb_SOURCES = dummy.cpp
97 ghbcellrenderertext.c \
98 ghbcellrenderertext.h \
108 -mwindows -Wl,--export-dynamic -Wl,--exclude-libs,ALL
111 -Wl,--export-dynamic -Wl,--exclude-libs,ALL
114 ghb_LDADD = $(HB_LIBS) $(GHB_LIBS)
116 ghb_DEPENDENCIES = $(HB_DIR)/libhb/libhb.a
118 resources.o: resource_data.h
120 resource_data.h: quotestring resources.plist
121 ./quotestring resources.plist resource_data.h
123 widget_reverse.deps: widgetdeps
124 widget.deps: widgetdeps
127 resources.plist: create_resources resources.list $(icons_dep) internal_defaults.xml standard_presets.xml ghb.ui widget.deps widget_reverse.deps
128 ./create_resources -I$(srcdir) $(srcdir)/resources.list resources.plist
130 ghbcellrenderertext.c: marshalers.h
132 marshalers.h: marshalers.list
133 glib-genmarshal --prefix=ghb_marshal marshalers.list --header > marshalers.h
135 marshalers.c: marshalers.list
136 glib-genmarshal --prefix=ghb_marshal marshalers.list --body > marshalers.c
138 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(DESTDIR)/$(datadir)/icons/hicolor
141 for icon in $(icons); do \
142 SIZE=`echo $$icon | cut -d. -f2`; \
143 FILE=`echo $$icon | cut -d. -f1,3`; \
144 if [ "$$SIZE" = "svg" ]; then \
148 SIZE="$${SIZE}x$${SIZE}"; \
150 rm -f $(DESTDIR)/$(datadir)/icons/hicolor/$$SIZE/apps/$$FILE; \
152 @-if test -n "$(DESTDIR)/$(datadir)"; then \
153 echo "Updating Gtk icon cache."; \
154 $(gtk_update_icon_cache); \
156 echo "*** Icon cache not updated. After install, run this:"; \
157 echo "*** $(gtk_update_icon_cache)"; \
159 rm -f $(DESTDIR)/$(datadir)/applications/$(hb_menu)
162 for icon in $(icons); do \
163 SIZE=`echo $$icon | cut -d. -f2`; \
164 FILE=`echo $$icon | cut -d. -f1,3`; \
165 if [ "$$SIZE" = "svg" ]; then \
169 SIZE="$${SIZE}x$${SIZE}"; \
171 mkdir -p $(DESTDIR)/$(datadir)/icons/hicolor/$$SIZE/apps/; \
172 $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)/$(datadir)/icons/hicolor/$$SIZE/apps/$$FILE; \
174 @-if test -n "$(DESTDIR)/$(datadir)"; then \
175 echo "Updating Gtk icon cache."; \
176 $(gtk_update_icon_cache); \
178 echo "*** Icon cache not updated. After install, run this:"; \
179 echo "*** $(gtk_update_icon_cache)"; \
181 mkdir -p $(DESTDIR)/$(datadir)/applications/; \
182 $(INSTALL_DATA) $(srcdir)/$(hb_menu) $(DESTDIR)/$(datadir)/applications/$(hb_menu)