2015-02-27 10:34:57 -05:00
|
|
|
# Specify automake version.
|
2015-03-01 14:17:30 -05:00
|
|
|
AUTOMAKE_OPTIONS = 1.11.3
|
2014-08-29 07:06:40 -04:00
|
|
|
|
2016-02-19 16:43:53 -05:00
|
|
|
ACLOCAL_AMFLAGS = -I libgwater ${ACLOCAL_FLAGS}
|
|
|
|
|
2016-12-09 13:49:49 -05:00
|
|
|
AM_YFLAGS = -d
|
|
|
|
|
2016-02-19 16:43:53 -05:00
|
|
|
noinst_LIBRARIES =
|
|
|
|
include $(top_srcdir)/libgwater-xcb-nolibtool.mk
|
|
|
|
|
2017-02-16 16:32:15 -05:00
|
|
|
##
|
|
|
|
# PKG CONFIG file
|
|
|
|
##
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = pkgconfig/rofi.pc
|
|
|
|
|
2017-01-01 10:52:25 -05:00
|
|
|
|
|
|
|
BUILT_SOURCES=\
|
|
|
|
lexer/theme-parser.h\
|
|
|
|
lexer/theme-parser.c\
|
|
|
|
lexer/theme-lexer.c
|
|
|
|
|
2017-03-26 17:19:30 -04:00
|
|
|
$(top_builddir)/lexer/theme-lexer.c: $(top_srcdir)/lexer/theme-lexer.l
|
|
|
|
|
|
|
|
$(top_builddir)/lexer/theme-parser.c $(top_builddir)/lexer/theme-parser.h: $(top_srcdir)/lexer/theme-parser.y
|
|
|
|
|
2017-02-17 08:06:31 -05:00
|
|
|
rofiincludedir=${includedir}/rofi
|
|
|
|
rofiinclude_HEADERS=\
|
|
|
|
include/mode.h\
|
|
|
|
include/mode-private.h\
|
|
|
|
include/helper.h
|
2017-01-01 10:52:25 -05:00
|
|
|
|
2014-03-18 03:59:42 -04:00
|
|
|
##
|
|
|
|
# Rofi the program
|
|
|
|
##
|
2014-03-17 13:00:09 -04:00
|
|
|
bin_PROGRAMS=rofi
|
|
|
|
|
2016-10-27 09:28:11 -04:00
|
|
|
dist_bin_SCRIPTS=\
|
|
|
|
script/rofi-sensible-terminal\
|
|
|
|
script/rofi-theme-selector
|
2015-08-03 14:40:01 -04:00
|
|
|
|
2016-03-12 08:00:19 -05:00
|
|
|
nodist_rofi_SOURCES=\
|
|
|
|
$(top_builddir)/gitconfig.h
|
|
|
|
|
2017-01-08 15:36:06 -05:00
|
|
|
SOURCES=\
|
2016-02-16 05:12:58 -05:00
|
|
|
source/rofi.c\
|
2016-02-06 07:06:58 -05:00
|
|
|
source/view.c\
|
2016-01-07 13:47:37 -05:00
|
|
|
source/mode.c\
|
2015-09-19 15:32:03 -04:00
|
|
|
source/keyb.c\
|
2016-02-16 05:12:58 -05:00
|
|
|
config/config.c\
|
2015-09-19 15:32:03 -04:00
|
|
|
source/helper.c\
|
2015-11-14 07:47:45 -05:00
|
|
|
source/timings.c\
|
2016-02-16 05:12:58 -05:00
|
|
|
source/history.c\
|
2016-12-09 13:49:49 -05:00
|
|
|
source/theme.c\
|
2016-10-08 12:57:59 -04:00
|
|
|
source/widgets/box.c\
|
2017-01-05 12:33:57 -05:00
|
|
|
source/widgets/container.c\
|
2016-10-08 12:57:59 -04:00
|
|
|
source/widgets/widget.c\
|
|
|
|
source/widgets/textbox.c\
|
|
|
|
source/widgets/listview.c\
|
|
|
|
source/widgets/scrollbar.c\
|
2016-02-16 05:12:58 -05:00
|
|
|
source/xrmoptions.c\
|
2015-02-13 02:26:23 -05:00
|
|
|
source/x11-helper.c\
|
2016-02-16 05:12:58 -05:00
|
|
|
source/dialogs/run.c\
|
|
|
|
source/dialogs/ssh.c\
|
|
|
|
source/dialogs/drun.c\
|
|
|
|
source/dialogs/dmenu.c\
|
|
|
|
source/dialogs/combi.c\
|
|
|
|
source/dialogs/window.c\
|
|
|
|
source/dialogs/script.c\
|
2016-05-30 04:25:58 -04:00
|
|
|
source/dialogs/help-keys.c\
|
2016-03-01 12:11:55 -05:00
|
|
|
include/xcb.h\
|
|
|
|
include/xcb-internal.h\
|
2016-02-16 05:12:58 -05:00
|
|
|
include/rofi.h\
|
2016-01-07 13:47:37 -05:00
|
|
|
include/mode.h\
|
|
|
|
include/mode-private.h\
|
2016-01-07 10:01:56 -05:00
|
|
|
include/settings.h\
|
2015-09-19 15:32:03 -04:00
|
|
|
include/keyb.h\
|
2016-02-06 07:06:58 -05:00
|
|
|
include/view.h\
|
2016-02-06 08:56:13 -05:00
|
|
|
include/view-internal.h\
|
2015-09-19 15:32:03 -04:00
|
|
|
include/helper.h\
|
2017-02-17 08:06:31 -05:00
|
|
|
include/helper-theme.h\
|
2015-11-14 07:47:45 -05:00
|
|
|
include/timings.h\
|
2016-02-16 05:12:58 -05:00
|
|
|
include/history.h\
|
2016-12-09 13:49:49 -05:00
|
|
|
include/theme.h\
|
2017-03-29 14:18:41 -04:00
|
|
|
include/default-theme.h\
|
2016-10-08 12:57:59 -04:00
|
|
|
include/widgets/box.h\
|
2017-01-05 12:33:57 -05:00
|
|
|
include/widgets/container.h\
|
2016-10-08 12:57:59 -04:00
|
|
|
include/widgets/widget.h\
|
2016-10-09 04:13:15 -04:00
|
|
|
include/widgets/widget-internal.h\
|
2016-10-08 12:57:59 -04:00
|
|
|
include/widgets/textbox.h\
|
|
|
|
include/widgets/listview.h\
|
|
|
|
include/widgets/scrollbar.h\
|
2016-02-16 05:12:58 -05:00
|
|
|
include/xrmoptions.h\
|
2015-02-12 16:26:28 -05:00
|
|
|
include/x11-helper.h\
|
2016-02-16 05:12:58 -05:00
|
|
|
include/dialogs/ssh.h\
|
|
|
|
include/dialogs/run.h\
|
|
|
|
include/dialogs/drun.h\
|
|
|
|
include/dialogs/dmenu.h\
|
|
|
|
include/dialogs/combi.h\
|
|
|
|
include/dialogs/script.h\
|
|
|
|
include/dialogs/window.h\
|
2016-02-21 11:14:02 -05:00
|
|
|
include/dialogs/dialogs.h\
|
2016-05-30 04:25:58 -04:00
|
|
|
include/dialogs/help-keys.h\
|
2016-02-21 11:14:02 -05:00
|
|
|
include/xkb.h\
|
|
|
|
include/xkb-internal.h
|
2016-02-16 05:12:58 -05:00
|
|
|
|
2017-01-08 15:36:06 -05:00
|
|
|
rofi_SOURCES=\
|
|
|
|
lexer/theme-parser.y\
|
|
|
|
lexer/theme-lexer.l\
|
|
|
|
$(SOURCES)
|
|
|
|
|
2016-02-16 05:12:58 -05:00
|
|
|
rofi_CFLAGS=\
|
|
|
|
$(AM_CFLAGS)\
|
|
|
|
$(glib_CFLAGS)\
|
2016-02-19 16:43:53 -05:00
|
|
|
$(GW_XCB_CFLAGS)\
|
2016-02-16 05:12:58 -05:00
|
|
|
$(pango_CFLAGS)\
|
|
|
|
$(libsn_CFLAGS)\
|
|
|
|
$(cairo_CFLAGS)\
|
|
|
|
-DMANPAGE_PATH="\"$(mandir)/\""\
|
|
|
|
-I$(top_srcdir)/include/\
|
|
|
|
-I$(top_srcdir)/config/\
|
|
|
|
-I$(top_builddir)/\
|
2016-04-01 13:51:24 -04:00
|
|
|
-Werror=missing-prototypes\
|
2017-01-01 10:32:01 -05:00
|
|
|
-DSYSCONFDIR=\"$(sysconfdir)\"\
|
2017-02-17 14:02:12 -05:00
|
|
|
-DTHEME_CONVERTER\
|
|
|
|
-DPLUGIN_PATH=\"${libdir}/rofi\"
|
2016-02-16 05:12:58 -05:00
|
|
|
|
|
|
|
rofi_LDADD=\
|
|
|
|
$(glib_LIBS)\
|
2016-02-19 16:43:53 -05:00
|
|
|
$(GW_XCB_LIBS)\
|
2016-02-16 05:12:58 -05:00
|
|
|
$(libsn_LIBS)\
|
|
|
|
$(pango_LIBS)\
|
|
|
|
$(cairo_LIBS)\
|
|
|
|
$(LIBS)
|
2014-03-17 13:00:09 -04:00
|
|
|
|
|
|
|
##
|
|
|
|
# Manpage
|
|
|
|
##
|
2016-02-16 05:12:58 -05:00
|
|
|
dist_man1_MANS=\
|
|
|
|
doc/rofi.1\
|
2015-09-15 01:54:48 -04:00
|
|
|
doc/rofi-sensible-terminal.1
|
2014-03-17 13:00:09 -04:00
|
|
|
|
2017-03-18 10:57:34 -04:00
|
|
|
dist_man5_MANS=\
|
|
|
|
doc/rofi-theme.5
|
|
|
|
|
2014-03-18 03:40:23 -04:00
|
|
|
##
|
|
|
|
# Readme.md
|
|
|
|
##
|
2014-03-20 03:51:54 -04:00
|
|
|
markdown_SC_FILES=\
|
2016-02-16 05:12:58 -05:00
|
|
|
README.md
|
2014-03-18 03:40:23 -04:00
|
|
|
|
2014-03-20 03:51:54 -04:00
|
|
|
# want the html to show up in release.
|
|
|
|
md_verbose = $(md_verbose_@AM_V@)
|
|
|
|
md_verbose_ = $(md_verbose_@AM_DEFAULT_V@)
|
|
|
|
md_verbose_0 = @echo " MD" $@;
|
|
|
|
|
|
|
|
markdown_FILES=\
|
2016-02-16 05:12:58 -05:00
|
|
|
README.html
|
2014-03-20 03:51:54 -04:00
|
|
|
|
2014-04-15 11:16:55 -04:00
|
|
|
README.html: README.md
|
2014-03-20 03:51:54 -04:00
|
|
|
$(md_verbose) markdown $< > $@
|
2016-10-27 09:28:11 -04:00
|
|
|
|
|
|
|
###
|
|
|
|
# Themes
|
|
|
|
###
|
|
|
|
themedir=$(pkgdatadir)/themes/
|
|
|
|
theme_DATA=\
|
2017-01-19 03:19:14 -05:00
|
|
|
themes/Adapta-Nokto.rasi\
|
|
|
|
themes/Arc.rasi\
|
|
|
|
themes/DarkBlue.rasi\
|
|
|
|
themes/Indego.rasi\
|
|
|
|
themes/Monokai.rasi\
|
|
|
|
themes/Paper.rasi\
|
|
|
|
themes/android_notification.rasi\
|
2017-01-19 12:58:07 -05:00
|
|
|
themes/arthur.rasi\
|
2017-01-19 03:19:14 -05:00
|
|
|
themes/blue.rasi\
|
|
|
|
themes/c64.rasi\
|
|
|
|
themes/glue_pro_blue.rasi\
|
|
|
|
themes/gruvbox-dark-hard.rasi\
|
|
|
|
themes/gruvbox-dark-soft.rasi\
|
|
|
|
themes/gruvbox-dark.rasi\
|
|
|
|
themes/gruvbox-light-hard.rasi\
|
|
|
|
themes/gruvbox-light-soft.rasi\
|
|
|
|
themes/gruvbox-light.rasi\
|
|
|
|
themes/lb.rasi\
|
2017-01-19 12:58:07 -05:00
|
|
|
themes/paper-float.rasi\
|
2017-01-19 03:19:14 -05:00
|
|
|
themes/purple.rasi\
|
2017-01-19 12:58:07 -05:00
|
|
|
themes/sidebar.rasi\
|
2017-01-19 03:19:14 -05:00
|
|
|
themes/solarized.rasi\
|
|
|
|
themes/solarized_alternate.rasi
|
2016-10-27 09:28:11 -04:00
|
|
|
|
2015-12-08 02:39:18 -05:00
|
|
|
##
|
2014-03-17 13:00:09 -04:00
|
|
|
# Extra DIST
|
|
|
|
##
|
|
|
|
EXTRA_DIST=\
|
2016-02-16 05:12:58 -05:00
|
|
|
$(markdown_FILES)\
|
|
|
|
$(markdown_SC_FILES)\
|
|
|
|
Examples/i3_switch_workspaces.sh\
|
|
|
|
INSTALL.md\
|
2015-01-25 04:11:44 -05:00
|
|
|
AUTHORS\
|
2016-01-07 07:38:53 -05:00
|
|
|
doc/rofi.doxy.in\
|
2016-03-12 08:00:19 -05:00
|
|
|
script/get_git_rev.sh\
|
2016-10-27 09:28:11 -04:00
|
|
|
$(theme_DATA)\
|
2015-01-25 04:11:44 -05:00
|
|
|
Changelog
|
2014-05-24 04:18:36 -04:00
|
|
|
##
|
|
|
|
# Indent
|
|
|
|
##
|
|
|
|
|
|
|
|
|
2017-03-18 10:57:34 -04:00
|
|
|
update-manpage: $(top_srcdir)/doc/rofi-manpage.markdown $(top_srcdir)/doc/rofi-theme-manpage.markdown
|
|
|
|
ronn --roff --pipe $(top_srcdir)/doc/rofi-manpage.markdown > $(top_srcdir)/doc/rofi.1
|
|
|
|
ronn --roff --pipe $(top_srcdir)/doc/rofi-theme-manpage.markdown > $(top_srcdir)/doc/rofi-theme.5
|
2014-08-29 10:24:39 -04:00
|
|
|
|
2014-11-26 13:40:49 -05:00
|
|
|
##
|
|
|
|
# Rofi test program
|
|
|
|
##
|
2016-10-20 13:34:03 -04:00
|
|
|
check_PROGRAMS=\
|
|
|
|
history_test\
|
|
|
|
textbox_test\
|
|
|
|
helper_test\
|
|
|
|
helper_expand\
|
|
|
|
helper_pidfile\
|
|
|
|
helper_tokenize\
|
|
|
|
helper_config_cmdline_parser\
|
2016-10-21 12:48:01 -04:00
|
|
|
widget_test\
|
2016-10-24 11:48:04 -04:00
|
|
|
box_test\
|
2017-04-04 02:56:19 -04:00
|
|
|
theme_parser_test\
|
2016-10-24 11:48:04 -04:00
|
|
|
scrollbar_test
|
2016-10-20 13:34:03 -04:00
|
|
|
|
2014-11-26 13:40:49 -05:00
|
|
|
|
2016-03-21 15:27:16 -04:00
|
|
|
history_test_CFLAGS=\
|
2016-02-21 06:57:30 -05:00
|
|
|
$(AM_CFLAGS)\
|
|
|
|
$(glib_CFLAGS)\
|
2016-03-01 12:11:55 -05:00
|
|
|
$(libsn_CFLAGS)\
|
2016-02-21 06:57:30 -05:00
|
|
|
-I$(top_srcdir)/include/\
|
|
|
|
-I$(top_srcdir)/config/\
|
|
|
|
-I$(top_builddir)/
|
|
|
|
|
2016-03-21 15:27:16 -04:00
|
|
|
history_test_LDADD=\
|
2016-02-21 06:57:30 -05:00
|
|
|
$(glib_LIBS)
|
|
|
|
|
2014-11-26 13:40:49 -05:00
|
|
|
|
2016-03-21 15:27:16 -04:00
|
|
|
history_test_SOURCES=\
|
2016-02-16 05:12:58 -05:00
|
|
|
source/history.c\
|
|
|
|
config/config.c\
|
|
|
|
include/rofi.h\
|
2016-01-07 13:47:37 -05:00
|
|
|
include/mode.h\
|
|
|
|
include/mode-private.h\
|
2016-01-07 10:01:56 -05:00
|
|
|
include/settings.h\
|
2016-02-16 05:12:58 -05:00
|
|
|
include/history.h\
|
2014-11-26 13:40:49 -05:00
|
|
|
test/history-test.c
|
|
|
|
|
2016-02-21 06:57:30 -05:00
|
|
|
textbox_test_CFLAGS=\
|
|
|
|
$(AM_CFLAGS)\
|
|
|
|
$(glib_CFLAGS)\
|
|
|
|
$(pango_CFLAGS)\
|
2016-02-21 10:40:29 -05:00
|
|
|
$(GW_XCB_CFLAGS)\
|
2016-02-21 06:57:30 -05:00
|
|
|
$(cairo_CFLAGS)\
|
2016-03-01 12:11:55 -05:00
|
|
|
$(libsn_CFLAGS)\
|
2016-02-21 06:57:30 -05:00
|
|
|
-I$(top_srcdir)/include/\
|
|
|
|
-I$(top_srcdir)/config/\
|
|
|
|
-I$(top_builddir)/
|
|
|
|
|
|
|
|
textbox_test_LDADD=\
|
|
|
|
$(glib_LIBS)\
|
|
|
|
$(pango_LIBS)\
|
2016-02-21 10:40:29 -05:00
|
|
|
$(GW_XCB_LIBS)\
|
2016-03-01 12:11:55 -05:00
|
|
|
$(cairo_LIBS)\
|
|
|
|
$(libsn_LIBS)
|
2016-02-21 06:57:30 -05:00
|
|
|
|
2016-10-20 13:34:03 -04:00
|
|
|
helper_pidfile_CFLAGS=$(textbox_test_CFLAGS)
|
|
|
|
helper_pidfile_LDADD=$(textbox_test_LDADD)
|
|
|
|
helper_pidfile_SOURCES=\
|
|
|
|
config/config.c\
|
|
|
|
include/rofi.h\
|
|
|
|
include/mode.h\
|
|
|
|
include/mode-private.h\
|
|
|
|
source/helper.c\
|
|
|
|
include/helper.h\
|
2017-02-17 08:06:31 -05:00
|
|
|
include/helper-theme.h\
|
2016-10-20 13:34:03 -04:00
|
|
|
include/xrmoptions.h\
|
|
|
|
source/xrmoptions.c\
|
|
|
|
source/x11-helper.c\
|
2016-10-20 14:31:39 -04:00
|
|
|
include/x11-helper.h\
|
2016-10-20 13:34:03 -04:00
|
|
|
test/helper-pidfile.c
|
2017-01-08 15:36:06 -05:00
|
|
|
|
2016-10-20 13:34:03 -04:00
|
|
|
helper_tokenize_CFLAGS=$(textbox_test_CFLAGS)
|
|
|
|
helper_tokenize_LDADD=$(textbox_test_LDADD)
|
|
|
|
helper_tokenize_SOURCES=\
|
|
|
|
config/config.c\
|
|
|
|
include/rofi.h\
|
|
|
|
include/mode.h\
|
|
|
|
include/mode-private.h\
|
|
|
|
source/helper.c\
|
|
|
|
include/helper.h\
|
2017-02-17 08:06:31 -05:00
|
|
|
include/helper-theme.h\
|
2016-10-20 13:34:03 -04:00
|
|
|
include/xrmoptions.h\
|
|
|
|
source/xrmoptions.c\
|
|
|
|
source/x11-helper.c\
|
2016-10-20 14:31:39 -04:00
|
|
|
include/x11-helper.h\
|
2016-10-20 13:34:03 -04:00
|
|
|
test/helper-tokenize.c
|
|
|
|
|
2016-06-01 01:57:04 -04:00
|
|
|
widget_test_LDADD=$(textbox_test_LDADD)
|
|
|
|
widget_test_CFLAGS=$(textbox_test_CFLAGS)
|
|
|
|
widget_test_SOURCES=\
|
2016-10-08 12:57:59 -04:00
|
|
|
source/widgets/widget.c\
|
2017-01-01 10:32:01 -05:00
|
|
|
source/widgets/textbox.c\
|
|
|
|
source/theme.c\
|
|
|
|
source/helper.c\
|
|
|
|
source/x11-helper.c\
|
|
|
|
config/config.c\
|
|
|
|
lexer/theme-parser.y\
|
|
|
|
lexer/theme-lexer.l\
|
2016-06-01 01:57:04 -04:00
|
|
|
test/widget-test.c
|
2016-10-21 12:48:01 -04:00
|
|
|
|
|
|
|
box_test_LDADD=$(textbox_test_LDADD)
|
|
|
|
box_test_CFLAGS=$(textbox_test_CFLAGS)
|
|
|
|
box_test_SOURCES=\
|
|
|
|
source/widgets/widget.c\
|
|
|
|
source/widgets/box.c\
|
2016-12-16 03:28:13 -05:00
|
|
|
lexer/theme-parser.y\
|
|
|
|
lexer/theme-lexer.l\
|
|
|
|
source/theme.c\
|
2017-01-01 11:03:42 -05:00
|
|
|
include/theme.h\
|
2016-10-21 12:48:01 -04:00
|
|
|
test/box-test.c
|
2016-10-24 11:48:04 -04:00
|
|
|
|
|
|
|
scrollbar_test_LDADD=$(textbox_test_LDADD)
|
|
|
|
scrollbar_test_CFLAGS=$(textbox_test_CFLAGS)
|
|
|
|
scrollbar_test_SOURCES=\
|
|
|
|
source/widgets/widget.c\
|
|
|
|
source/widgets/scrollbar.c\
|
2016-12-16 03:28:13 -05:00
|
|
|
lexer/theme-parser.y\
|
|
|
|
lexer/theme-lexer.l\
|
|
|
|
source/theme.c\
|
2017-01-01 11:03:42 -05:00
|
|
|
include/theme.h\
|
2016-10-24 11:48:04 -04:00
|
|
|
test/scrollbar-test.c
|
|
|
|
|
2014-11-26 13:40:49 -05:00
|
|
|
textbox_test_SOURCES=\
|
2016-10-08 12:57:59 -04:00
|
|
|
source/widgets/widget.c\
|
|
|
|
source/widgets/textbox.c\
|
2016-12-16 03:28:13 -05:00
|
|
|
lexer/theme-parser.y\
|
|
|
|
lexer/theme-lexer.l\
|
|
|
|
source/theme.c\
|
2017-01-01 10:32:01 -05:00
|
|
|
source/helper.c\
|
|
|
|
source/x11-helper.c\
|
2016-02-16 05:12:58 -05:00
|
|
|
config/config.c\
|
2015-04-30 15:47:32 -04:00
|
|
|
include/keyb.h\
|
2016-02-16 05:12:58 -05:00
|
|
|
include/rofi.h\
|
2016-01-07 13:47:37 -05:00
|
|
|
include/mode.h\
|
|
|
|
include/mode-private.h\
|
2016-01-07 10:01:56 -05:00
|
|
|
include/settings.h\
|
2016-10-08 12:57:59 -04:00
|
|
|
include/widgets/widget.h\
|
2016-10-09 04:13:15 -04:00
|
|
|
include/widgets/widget-internal.h\
|
2016-10-08 12:57:59 -04:00
|
|
|
include/widgets/textbox.h\
|
2015-04-30 16:42:04 -04:00
|
|
|
include/xrmoptions.h\
|
|
|
|
include/helper.h\
|
2017-02-17 08:06:31 -05:00
|
|
|
include/helper-theme.h\
|
2014-11-26 13:40:49 -05:00
|
|
|
test/textbox-test.c
|
|
|
|
|
2017-04-04 02:56:19 -04:00
|
|
|
theme_parser_test_SOURCES=\
|
|
|
|
config/config.c\
|
|
|
|
include/rofi.h\
|
|
|
|
include/mode.h\
|
|
|
|
include/mode-private.h\
|
|
|
|
source/helper.c\
|
|
|
|
include/helper.h\
|
|
|
|
include/helper-theme.h\
|
|
|
|
include/theme.h\
|
|
|
|
include/xrmoptions.h\
|
|
|
|
source/xrmoptions.c\
|
|
|
|
source/x11-helper.c\
|
|
|
|
lexer/theme-lexer.c\
|
|
|
|
lexer/theme-parser.c\
|
|
|
|
lexer/theme-parser.h\
|
|
|
|
source/theme.c\
|
|
|
|
test/theme-parser-test.c
|
|
|
|
|
2014-11-26 13:40:49 -05:00
|
|
|
helper_test_SOURCES=\
|
2016-02-16 05:12:58 -05:00
|
|
|
config/config.c\
|
|
|
|
include/rofi.h\
|
2016-01-07 13:47:37 -05:00
|
|
|
include/mode.h\
|
|
|
|
include/mode-private.h\
|
2016-02-16 05:12:58 -05:00
|
|
|
source/helper.c\
|
|
|
|
include/helper.h\
|
2017-02-17 08:06:31 -05:00
|
|
|
include/helper-theme.h\
|
2015-02-17 09:19:26 -05:00
|
|
|
include/xrmoptions.h\
|
2015-02-17 04:31:59 -05:00
|
|
|
source/xrmoptions.c\
|
2016-02-27 19:21:22 -05:00
|
|
|
source/x11-helper.c\
|
2016-02-16 05:12:58 -05:00
|
|
|
test/helper-test.c
|
2014-11-26 13:40:49 -05:00
|
|
|
|
2017-04-04 02:56:19 -04:00
|
|
|
|
2016-02-21 06:57:30 -05:00
|
|
|
helper_test_CFLAGS=\
|
|
|
|
$(AM_CFLAGS)\
|
|
|
|
$(glib_CFLAGS)\
|
|
|
|
$(pango_CFLAGS)\
|
2016-02-27 19:21:22 -05:00
|
|
|
$(GW_XCB_CFLAGS)\
|
2016-02-21 06:57:30 -05:00
|
|
|
$(cairo_CFLAGS)\
|
2016-03-01 12:11:55 -05:00
|
|
|
$(libsn_CFLAGS)\
|
2016-02-21 06:57:30 -05:00
|
|
|
-I$(top_srcdir)/include/\
|
|
|
|
-I$(top_srcdir)/config/\
|
|
|
|
-I$(top_builddir)/
|
|
|
|
|
|
|
|
helper_test_LDADD=\
|
|
|
|
$(glib_LIBS)\
|
|
|
|
$(pango_LIBS)\
|
2016-02-27 19:21:22 -05:00
|
|
|
$(GW_XCB_LIBS)\
|
2016-03-04 11:03:24 -05:00
|
|
|
$(libsn_LIBS)\
|
2016-02-21 06:57:30 -05:00
|
|
|
$(cairo_LIBS)
|
|
|
|
|
2017-04-04 02:56:19 -04:00
|
|
|
theme_parser_test_CFLAGS=${helper_test_CFLAGS}
|
|
|
|
theme_parser_test_LDADD=${helper_test_LDADD}
|
|
|
|
|
2016-03-21 12:16:45 -04:00
|
|
|
helper_expand_SOURCES=\
|
|
|
|
config/config.c\
|
|
|
|
include/rofi.h\
|
|
|
|
include/mode.h\
|
|
|
|
include/mode-private.h\
|
|
|
|
source/helper.c\
|
|
|
|
include/helper.h\
|
2017-02-17 08:06:31 -05:00
|
|
|
include/helper-theme.h\
|
2016-03-21 12:16:45 -04:00
|
|
|
include/xrmoptions.h\
|
|
|
|
source/xrmoptions.c\
|
|
|
|
source/x11-helper.c\
|
|
|
|
test/helper-expand.c
|
|
|
|
|
|
|
|
helper_expand_CFLAGS=${helper_test_CFLAGS}
|
|
|
|
|
|
|
|
helper_expand_LDADD=${helper_test_LDADD}
|
|
|
|
|
2016-03-22 05:43:42 -04:00
|
|
|
helper_config_cmdline_parser_CFLAGS=${helper_test_CFLAGS}
|
|
|
|
|
|
|
|
helper_config_cmdline_parser_LDADD=${helper_test_LDADD}
|
|
|
|
helper_config_cmdline_parser_SOURCES=\
|
|
|
|
config/config.c\
|
|
|
|
include/rofi.h\
|
|
|
|
include/mode.h\
|
|
|
|
include/mode-private.h\
|
|
|
|
source/helper.c\
|
|
|
|
include/helper.h\
|
2017-02-17 08:06:31 -05:00
|
|
|
include/helper-theme.h\
|
2016-03-22 05:43:42 -04:00
|
|
|
include/xrmoptions.h\
|
|
|
|
source/xrmoptions.c\
|
|
|
|
source/x11-helper.c\
|
|
|
|
test/helper-config-cmdline-parser.c
|
|
|
|
|
2016-02-16 05:12:58 -05:00
|
|
|
TESTS=\
|
2016-03-21 15:27:16 -04:00
|
|
|
history_test\
|
2016-03-21 12:16:45 -04:00
|
|
|
helper_test\
|
2016-03-22 05:43:42 -04:00
|
|
|
helper_expand\
|
2016-10-20 13:34:03 -04:00
|
|
|
helper_pidfile\
|
|
|
|
helper_tokenize\
|
2016-06-01 01:57:04 -04:00
|
|
|
helper_config_cmdline_parser\
|
2016-10-20 13:34:03 -04:00
|
|
|
textbox_test\
|
2016-10-21 12:48:01 -04:00
|
|
|
widget_test\
|
2016-10-24 11:48:04 -04:00
|
|
|
box_test\
|
2017-04-04 02:56:19 -04:00
|
|
|
theme_parser_test\
|
2016-10-24 11:48:04 -04:00
|
|
|
scrollbar_test
|
2015-03-03 16:11:17 -05:00
|
|
|
|
|
|
|
.PHONY: test-x
|
2017-01-08 15:36:06 -05:00
|
|
|
test-x: $(bin_PROGRAMS)
|
2015-09-04 14:46:13 -04:00
|
|
|
echo "Test 2"
|
2015-10-31 13:04:55 -04:00
|
|
|
$(top_srcdir)/test/run_test.sh 200 $(top_srcdir)/test/run_errormsg_test.sh $(top_builddir)
|
2015-09-04 14:46:13 -04:00
|
|
|
echo "Test 3"
|
2015-10-31 13:04:55 -04:00
|
|
|
$(top_srcdir)/test/run_test.sh 201 $(top_srcdir)/test/run_switchdialog_test.sh $(top_builddir)
|
2015-09-04 14:46:13 -04:00
|
|
|
echo "Test 4"
|
2015-10-31 13:04:55 -04:00
|
|
|
$(top_srcdir)/test/run_test.sh 202 $(top_srcdir)/test/run_dmenu_test.sh $(top_builddir)
|
2015-09-04 14:46:13 -04:00
|
|
|
echo "Test 5"
|
2015-10-31 13:04:55 -04:00
|
|
|
$(top_srcdir)/test/run_test.sh 203 $(top_srcdir)/test/run_dmenu_custom_test.sh $(top_builddir)
|
2015-09-04 14:46:13 -04:00
|
|
|
echo "Test 6"
|
2015-10-31 13:04:55 -04:00
|
|
|
$(top_srcdir)/test/run_test.sh 204 $(top_srcdir)/test/run_run_test.sh $(top_builddir)
|
2015-09-04 14:46:13 -04:00
|
|
|
echo "Test 7"
|
2015-10-31 13:04:55 -04:00
|
|
|
$(top_srcdir)/test/run_test.sh 205 $(top_srcdir)/test/run_script_test.sh $(top_builddir)
|
|
|
|
echo "Issue 256"
|
2015-12-08 02:39:18 -05:00
|
|
|
$(top_srcdir)/test/run_test.sh 206 $(top_srcdir)/test/run_issue_256.sh $(top_builddir)
|
2015-11-20 05:15:34 -05:00
|
|
|
echo "Issue 275"
|
|
|
|
$(top_srcdir)/test/run_test.sh 207 $(top_srcdir)/test/run_issue_275.sh $(top_builddir)
|
2015-12-02 03:46:13 -05:00
|
|
|
echo "Crash empty list"
|
|
|
|
$(top_srcdir)/test/run_test.sh 208 $(top_srcdir)/test/run_dmenu_empty.sh $(top_builddir)
|
2015-12-04 16:13:30 -05:00
|
|
|
echo "Test multiple select"
|
|
|
|
$(top_srcdir)/test/run_test.sh 209 $(top_srcdir)/test/run_dmenu_issue_292.sh $(top_builddir)
|
2015-12-31 15:55:15 -05:00
|
|
|
echo "Test screenshot"
|
|
|
|
$(top_srcdir)/test/run_test.sh 210 $(top_srcdir)/test/run_screenshot_test.sh $(top_builddir)
|
2015-12-31 16:45:36 -05:00
|
|
|
echo "Test xr dump"
|
2016-01-04 12:26:18 -05:00
|
|
|
$(top_srcdir)/test/run_test.sh 212 $(top_srcdir)/test/xr_dump_test.sh $(top_builddir) $(top_srcdir)
|
2015-12-31 17:14:38 -05:00
|
|
|
echo "Test drun"
|
|
|
|
$(top_srcdir)/test/run_test.sh 213 $(top_srcdir)/test/run_drun_test.sh $(top_builddir)
|
2015-12-31 17:27:06 -05:00
|
|
|
echo "Test combi"
|
|
|
|
$(top_srcdir)/test/run_test.sh 214 $(top_srcdir)/test/run_combi_test.sh $(top_builddir)
|
2016-01-01 05:31:29 -05:00
|
|
|
echo "Test dmenu regex"
|
|
|
|
$(top_srcdir)/test/run_test.sh 215 $(top_srcdir)/test/run_regex_test.sh $(top_builddir)
|
|
|
|
echo "Test dmenu glob"
|
|
|
|
$(top_srcdir)/test/run_test.sh 216 $(top_srcdir)/test/run_glob_test.sh $(top_builddir)
|
2016-02-03 03:01:13 -05:00
|
|
|
echo "Test issue 333"
|
2016-02-05 02:12:36 -05:00
|
|
|
$(top_srcdir)/test/run_test.sh 221 $(top_srcdir)/test/run_issue333_test.sh $(top_builddir)
|
2016-10-19 07:12:55 -04:00
|
|
|
echo "Test help output"
|
|
|
|
$(top_srcdir)/test/run_test.sh 212 $(top_srcdir)/test/help_output_test.sh $(top_builddir) $(top_srcdir)
|
2016-01-04 15:51:08 -05:00
|
|
|
|
2016-02-16 05:12:58 -05:00
|
|
|
test-x1: $(bin_PROGRAMS)
|
2016-01-04 12:26:18 -05:00
|
|
|
echo "Test dmenu-normal-window"
|
|
|
|
$(top_srcdir)/test/run_test.sh 219 $(top_srcdir)/test/run_dmenu_normal_window_test.sh $(top_builddir)
|
2016-01-04 14:46:34 -05:00
|
|
|
echo "Test window"
|
2016-02-16 05:12:58 -05:00
|
|
|
$(top_srcdir)/test/run_test.sh 220 $(top_srcdir)/test/run_window_test.sh $(top_builddir) $(top_srcdir)
|
2015-09-04 14:56:11 -04:00
|
|
|
echo "End tests"
|
2015-01-16 02:34:11 -05:00
|
|
|
|
|
|
|
|
2015-07-28 16:14:21 -04:00
|
|
|
.PHONY: indent
|
2017-01-08 15:36:06 -05:00
|
|
|
indent: $(SOURCES)
|
2016-02-16 05:12:58 -05:00
|
|
|
uncrustify -c $(top_srcdir)/data/uncrustify.cfg --replace $^
|
2015-07-28 16:14:21 -04:00
|
|
|
|
2015-01-16 02:34:11 -05:00
|
|
|
.PHONY: cppcheck
|
|
|
|
|
2016-02-16 05:12:58 -05:00
|
|
|
cppcheck: $(rofi_SOURCES)
|
2016-03-05 05:08:32 -05:00
|
|
|
cppcheck --std=c99 --platform=unix64 --enable=all -Uerror_dialog --inconclusive -I $(top_srcdir)/include/ $^
|
2015-01-17 12:27:41 -05:00
|
|
|
|
|
|
|
.PHONY: ohcount
|
|
|
|
|
2016-02-16 05:12:58 -05:00
|
|
|
ohcount: $(rofi_SOURCES)
|
|
|
|
ohcount -i $(top_srcdir)/source/ $(top_srcdir)/include/
|
2016-01-05 13:49:13 -05:00
|
|
|
|
2016-02-16 05:12:58 -05:00
|
|
|
doxy: doc/rofi.doxy $(rofi_SOURCES)
|
|
|
|
doxygen $(top_builddir)/doc/rofi.doxy
|
2016-01-07 07:38:53 -05:00
|
|
|
|
2016-03-12 08:00:19 -05:00
|
|
|
clean-local:
|
|
|
|
-rm $(top_builddir)/gitconfig.h
|
|
|
|
|
|
|
|
$(top_builddir)/gitconfig.h: .FORCE
|
|
|
|
$(top_srcdir)/script/get_git_rev.sh $(top_srcdir) $(top_builddir)/gitconfig.h
|
|
|
|
|
|
|
|
$(rofi_SOURCES): $(top_builddir)/gitconfig.h
|
|
|
|
|
2016-10-18 07:49:24 -04:00
|
|
|
.PHONY: coverage
|
|
|
|
coverage: coverage/index.html
|
|
|
|
|
2016-10-18 16:54:38 -04:00
|
|
|
.PHONY: coverage-cli
|
|
|
|
coverage-cli: coverage.info
|
|
|
|
lcov -l $^
|
2016-10-18 07:49:24 -04:00
|
|
|
coverage.info: $(top_builddir)/test/*.gcda $(top_builddir)/source/*.gcda $(top_builddir)/source/**/*.gcda
|
2016-10-18 16:54:38 -04:00
|
|
|
lcov --capture --directory $(top_builddir) --output-file coverage.info
|
|
|
|
lcov -r $@ /usr/include/\* -o $@
|
2016-10-18 07:49:24 -04:00
|
|
|
|
|
|
|
coverage/index.html: coverage.info
|
|
|
|
genhtml $^ --output-directory coverage/
|
|
|
|
|
2016-10-18 16:54:38 -04:00
|
|
|
.PHONY: coverage-clean
|
|
|
|
coverage-clean:
|
|
|
|
-rm -r coverage.info coverage/
|
2016-10-20 03:41:32 -04:00
|
|
|
-find $(top_builddir) -name '*.gcda' | xargs rm
|
2016-10-18 16:54:38 -04:00
|
|
|
|
2016-03-12 08:00:19 -05:00
|
|
|
.PHONY: .FORCE
|
|
|
|
.FORCE:
|