diff options
Diffstat (limited to 'examples/Makefile.am')
-rw-r--r-- | examples/Makefile.am | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am index abf3ebb..15df761 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -2,9 +2,15 @@ bin_PROGRAMS= example example_SOURCES= example.c example_LDADD= ../src/librcc.la -EXTRA_DIST= input-russian.txt rcc.xml rcc-example.xml +if HAVE_GTK +bin_PROGRAMS+= rcc-gtk-config +rcc_gtk_config_SOURCES = rcc-gtk-config.c +rcc_gtk_config_LDADD=../ui/librccgtk.la @GTK_LIBS@ +endif + +EXTRA_DIST= input-russian.txt rcc.xml rcc-example.xml mpg123-rcc.patch test-russian: example cat input-russian.txt | ./example -INCLUDES = -I../src -I../ui +INCLUDES = -I../src -I../ui @GTK_INCLUDES@ |