Jeremy Kerr | a58cf44 | 2016-03-16 12:09:00 +0800 | [diff] [blame] | 1 | AUTOMAKE_OPTIONS = foreign |
| 2 | |
| 3 | sbin_PROGRAMS = console-server |
| 4 | bin_PROGRAMS = console-client |
| 5 | |
Jeremy Kerr | 6c8d781 | 2016-03-17 15:05:45 +0800 | [diff] [blame^] | 6 | check_PROGRAMS = config-test |
| 7 | |
Jeremy Kerr | a58cf44 | 2016-03-16 12:09:00 +0800 | [diff] [blame] | 8 | AM_CFLAGS = -Wall -Wextra -Werror |
| 9 | |
Jeremy Kerr | d66195c | 2016-03-16 17:24:51 +0800 | [diff] [blame] | 10 | EXTRA_DIST = openbmc-console.conf.sample |
| 11 | |
| 12 | console_server_CPPFLAGS = -DLOCALSTATEDIR=\"$(localstatedir)\" \ |
| 13 | -DSYSCONFDIR=\"$(sysconfdir)\" |
Jeremy Kerr | df94dc1 | 2016-03-16 12:19:49 +0800 | [diff] [blame] | 14 | |
Jeremy Kerr | a58cf44 | 2016-03-16 12:09:00 +0800 | [diff] [blame] | 15 | console_server_SOURCES = \ |
| 16 | console-server.c \ |
| 17 | console-server.h \ |
| 18 | util.c \ |
Jeremy Kerr | d66195c | 2016-03-16 17:24:51 +0800 | [diff] [blame] | 19 | config.c \ |
Jeremy Kerr | a58cf44 | 2016-03-16 12:09:00 +0800 | [diff] [blame] | 20 | log-handler.c \ |
| 21 | socket-handler.c |
| 22 | |
| 23 | console_client_SOURCES = \ |
| 24 | console-client.c \ |
| 25 | console-server.h \ |
| 26 | util.c |
Jeremy Kerr | 6c8d781 | 2016-03-17 15:05:45 +0800 | [diff] [blame^] | 27 | |
| 28 | config_test_CPPFLAGS = -DCONFIG_TEST -DSYSCONFDIR=\"\" |
| 29 | config_test_SOURCES = \ |
| 30 | config.c |