blob: a06e29d02fc5b24f2dfb46f74892c33ce962ee6e [file] [log] [blame]
Jeremy Kerra58cf442016-03-16 12:09:00 +08001AUTOMAKE_OPTIONS = foreign
2
3sbin_PROGRAMS = console-server
4bin_PROGRAMS = console-client
5
Jeremy Kerr6c8d7812016-03-17 15:05:45 +08006check_PROGRAMS = config-test
7
Jeremy Kerra58cf442016-03-16 12:09:00 +08008AM_CFLAGS = -Wall -Wextra -Werror
9
Jeremy Kerrd66195c2016-03-16 17:24:51 +080010EXTRA_DIST = openbmc-console.conf.sample
11
12console_server_CPPFLAGS = -DLOCALSTATEDIR=\"$(localstatedir)\" \
13 -DSYSCONFDIR=\"$(sysconfdir)\"
Jeremy Kerrdf94dc12016-03-16 12:19:49 +080014
Jeremy Kerra58cf442016-03-16 12:09:00 +080015console_server_SOURCES = \
16 console-server.c \
17 console-server.h \
18 util.c \
Jeremy Kerrd66195c2016-03-16 17:24:51 +080019 config.c \
Jeremy Kerra58cf442016-03-16 12:09:00 +080020 log-handler.c \
21 socket-handler.c
22
23console_client_SOURCES = \
24 console-client.c \
25 console-server.h \
26 util.c
Jeremy Kerr6c8d7812016-03-17 15:05:45 +080027
28config_test_CPPFLAGS = -DCONFIG_TEST -DSYSCONFDIR=\"\"
29config_test_SOURCES = \
30 config.c