summaryrefslogtreecommitdiffstats
path: root/gtk/src/Makefile.am
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2008-09-02 22:56:19 +0000
committerjstebbins <[email protected]>2008-09-02 22:56:19 +0000
commit45cabbfe4ab8b95b5f25a236f8c93b64d3ccf8df (patch)
tree40326771d4a7f4721363e3b76ebfca5329595deb /gtk/src/Makefile.am
parentfd744170cb1da2675e1168402866f5c20f08a726 (diff)
LinGui: Presets and preferences are now stored as plists
This will also make saving/restoring the queue much easier. It's a scary big change. 1400 new lines of code. Due to efficiencies of a better desing, 2400 lines of old code also gets refactored down to 1600. Giving a final net +600 lines. Along the way, I stumbled across a couple bugs and fixed them. Chapter list entry would get wedged under certain circumstances. Pausing encoding didn't display pause message in status bar. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1662 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/Makefile.am')
-rw-r--r--gtk/src/Makefile.am33
1 files changed, 33 insertions, 0 deletions
diff --git a/gtk/src/Makefile.am b/gtk/src/Makefile.am
index a942f16d8..02eca572d 100644
--- a/gtk/src/Makefile.am
+++ b/gtk/src/Makefile.am
@@ -72,6 +72,8 @@ AM_CFLAGS =\
-g
bin_PROGRAMS = ghb
+noinst_PROGRAMS = makewidgetdeps quotestring
+
BUILT_SOURCES = HandBrakeCLI
HandBrakeCLI: $(HB_DIR)/HandBrakeCLI
@@ -86,6 +88,12 @@ ghb_SOURCES = \
main.c \
settings.c \
settings.h \
+ presets.c \
+ presets.h \
+ values.c \
+ values.h \
+ plist.c \
+ plist.h \
hb-backend.c \
hb-backend.h \
renderer_button.h \
@@ -100,6 +108,31 @@ ghb_LDADD = $(GHB_LIBS) $(HB_LIBS)
ghb_DEPENDENCIES = $(HB_DIR)/libhb/libhb.a
+makewidgetdeps_SOURCES = \
+ plist.c \
+ plist.h \
+ values.c \
+ values.h \
+ makedeps.c
+
+makewidgetdeps_LDADD = $(GHBTOOLS_LIBS)
+
+quotestring_SOURCES = preset_to_string.c
+
+widget_deps.h: makewidgetdeps quotestring
+ ./makewidgetdeps
+ ./quotestring widget_deps widget_deps.h
+
+widget_reverse_deps.h: makewidgetdeps quotestring
+ ./makewidgetdeps
+ ./quotestring widget_reverse_deps widget_reverse_deps.h
+
+internal_defaults.h: quotestring internal_defaults.xml
+ ./quotestring internal_defaults.xml internal_defaults.h
+
+standard_presets.h: quotestring standard_presets.xml
+ ./quotestring standard_presets.xml standard_presets.h
+
EXTRA_DIST = $(builder_DATA) $(icons) HandBrakeCLI
uninstall-local: