diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-06-12 17:51:14 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-07-17 11:48:40 +0200 |
commit | 84da4a3022bc599b26d9601cf1b7bf51d1d9f915 (patch) | |
tree | 02653677a6eb819c6a44824723483fa5c068be40 /Makefile.am | |
parent | 3496b9eeafa50234371da1642dca424e4ca0e5f4 (diff) | |
download | systemd-84da4a3022bc599b26d9601cf1b7bf51d1d9f915.tar.gz |
ui/term: add line/cell/char handling for terminal pages
This commit introduces libsystemd-ui, a systemd-internal helper library
that will contain all the UI related functionality. It is going to be used
by systemd-welcomed, systemd-consoled, systemd-greeter and systemd-er.
Further use-cases may follow.
For now, this commit only adds terminal-page handling based on lines only.
Follow-up commits will add more functionality.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index a9ee8b070e..0b9491ade0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -209,6 +209,7 @@ AM_CPPFLAGS = \ -I $(top_srcdir)/src/libsystemd/sd-event \ -I $(top_srcdir)/src/libsystemd/sd-rtnl \ -I $(top_srcdir)/src/libsystemd-network \ + -I $(top_srcdir)/src/libsystemd-terminal \ $(OUR_CPPFLAGS) AM_CFLAGS = $(OUR_CFLAGS) @@ -2827,6 +2828,33 @@ tests += \ test-dhcp6-client # ------------------------------------------------------------------------------ +noinst_LTLIBRARIES += \ + libsystemd-terminal.la + +libsystemd_terminal_la_CFLAGS = \ + $(AM_CFLAGS) + +libsystemd_terminal_la_SOURCES = \ + src/libsystemd-terminal/term-internal.h \ + src/libsystemd-terminal/term-page.c \ + src/libsystemd-terminal/term-wcwidth.c + +libsystemd_terminal_la_LIBADD = \ + libsystemd-internal.la \ + libsystemd-shared.la + +test_term_page_SOURCES = \ + src/libsystemd-terminal/test-term-page.c + +test_term_page_LDADD = \ + libsystemd-terminal.la \ + libsystemd-internal.la \ + libsystemd-shared.la + +tests += \ + test-term-page + +# ------------------------------------------------------------------------------ if ENABLE_GTK_DOC SUBDIRS += \ docs/libudev |