1 ## Process this file with automake to produce Makefile.in
5 -lhb -la52 -lmkv -lavformat -lavcodec -lavutil -ldca -ldvdread \
6 -lfaac -lmp3lame -lmpeg2 -lvorbis -lvorbisenc -logg -lsamplerate \
7 -lx264 -lxvidcore -lmp4v2 -lswscale -ltheora -lfaad -lz \
8 -lbz2 -liberty -lpthreadGC2
11 -lhb -la52 -lmkv -lavformat -lavcodec -lavutil -ldca -ldvdread \
12 -lfaac -lmp3lame -lmpeg2 -lvorbis -lvorbisenc -logg -lsamplerate \
13 -lx264 -lxvidcore -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
95 ghbcellrenderertext.c \
96 ghbcellrenderertext.h \
106 -mwindows -Wl,--export-dynamic -Wl,--exclude-libs,ALL
109 -Wl,--export-dynamic -Wl,--exclude-libs,ALL
112 ghb_LDADD = $(HB_LIBS) $(GHB_LIBS)
114 ghb_DEPENDENCIES = $(HB_DIR)/libhb/libhb.a
116 resources.o: resource_data.h
118 resource_data.h: quotestring resources.plist
119 ./quotestring resources.plist resource_data.h
121 widget_reverse.deps: widgetdeps
122 widget.deps: widgetdeps
125 resources.plist: create_resources resources.list $(icons_dep) internal_defaults.xml standard_presets.xml ghb.ui widget.deps widget_reverse.deps
126 ./create_resources -I$(srcdir) $(srcdir)/resources.list resources.plist
128 ghbcellrenderertext.c: marshalers.h
130 marshalers.h: marshalers.list
131 glib-genmarshal --prefix=ghb_marshal marshalers.list --header > marshalers.h
133 marshalers.c: marshalers.list
134 glib-genmarshal --prefix=ghb_marshal marshalers.list --body > marshalers.c
136 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(DESTDIR)/$(datadir)/icons/hicolor
139 for icon in $(icons); do \
140 SIZE=`echo $$icon | cut -d. -f2`; \
141 FILE=`echo $$icon | cut -d. -f1,3`; \
142 if [ "$$SIZE" = "svg" ]; then \
146 SIZE="$${SIZE}x$${SIZE}"; \
148 rm -f $(DESTDIR)/$(datadir)/icons/hicolor/$$SIZE/apps/$$FILE; \
150 @-if test -n "$(DESTDIR)/$(datadir)"; then \
151 echo "Updating Gtk icon cache."; \
152 $(gtk_update_icon_cache); \
154 echo "*** Icon cache not updated. After install, run this:"; \
155 echo "*** $(gtk_update_icon_cache)"; \
157 rm -f $(DESTDIR)/$(datadir)/applications/$(hb_menu)
160 for icon in $(icons); do \
161 SIZE=`echo $$icon | cut -d. -f2`; \
162 FILE=`echo $$icon | cut -d. -f1,3`; \
163 if [ "$$SIZE" = "svg" ]; then \
167 SIZE="$${SIZE}x$${SIZE}"; \
169 mkdir -p $(DESTDIR)/$(datadir)/icons/hicolor/$$SIZE/apps/; \
170 $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)/$(datadir)/icons/hicolor/$$SIZE/apps/$$FILE; \
172 @-if test -n "$(DESTDIR)/$(datadir)"; then \
173 echo "Updating Gtk icon cache."; \
174 $(gtk_update_icon_cache); \
176 echo "*** Icon cache not updated. After install, run this:"; \
177 echo "*** $(gtk_update_icon_cache)"; \
179 mkdir -p $(DESTDIR)/$(datadir)/applications/; \
180 $(INSTALL_DATA) $(srcdir)/$(hb_menu) $(DESTDIR)/$(datadir)/applications/$(hb_menu)