Jeremy Kerr | e440a40 | 2016-03-17 16:34:14 +0800 | [diff] [blame] | 1 | sbin_PROGRAMS = obmc-console-server |
2 | bin_PROGRAMS = obmc-console-client | ||||
Jeremy Kerr | a58cf44 | 2016-03-16 12:09:00 +0800 | [diff] [blame] | 3 | |
Jeremy Kerr | e440a40 | 2016-03-17 16:34:14 +0800 | [diff] [blame] | 4 | EXTRA_DIST = obmc-console.conf.sample |
Jeremy Kerr | d66195c | 2016-03-16 17:24:51 +0800 | [diff] [blame] | 5 | |
Jeremy Kerr | e440a40 | 2016-03-17 16:34:14 +0800 | [diff] [blame] | 6 | obmc_console_server_CPPFLAGS = \ |
7 | -DLOCALSTATEDIR=\"$(localstatedir)\" \ | ||||
8 | -DSYSCONFDIR=\"$(sysconfdir)\" | ||||
Jeremy Kerr | df94dc1 | 2016-03-16 12:19:49 +0800 | [diff] [blame] | 9 | |
Jeremy Kerr | e440a40 | 2016-03-17 16:34:14 +0800 | [diff] [blame] | 10 | obmc_console_server_SOURCES = \ |
Jeremy Kerr | a58cf44 | 2016-03-16 12:09:00 +0800 | [diff] [blame] | 11 | console-server.c \ |
12 | console-server.h \ | ||||
13 | util.c \ | ||||
Jeremy Kerr | c9775ce | 2017-02-07 16:25:34 +0800 | [diff] [blame] | 14 | ringbuffer.c \ |
Jeremy Kerr | d66195c | 2016-03-16 17:24:51 +0800 | [diff] [blame] | 15 | config.c \ |
Jeremy Kerr | a58cf44 | 2016-03-16 12:09:00 +0800 | [diff] [blame] | 16 | log-handler.c \ |
Jeremy Kerr | 0cff652 | 2016-03-18 09:57:01 +0800 | [diff] [blame] | 17 | socket-handler.c \ |
Jeremy Kerr | bc1e893 | 2016-04-28 12:27:30 +0800 | [diff] [blame] | 18 | tty-handler.c \ |
Jeremy Kerr | 0cff652 | 2016-03-18 09:57:01 +0800 | [diff] [blame] | 19 | console-socket.c |
Jeremy Kerr | a58cf44 | 2016-03-16 12:09:00 +0800 | [diff] [blame] | 20 | |
Johnathan Mantey | 1cecc5d | 2019-02-28 15:01:46 -0800 | [diff] [blame] | 21 | obmc_console_server_LDFLAGS = $(SYSTEMD_LIBS) -lrt |
Cheng C Yang | f9c8f6c | 2019-03-04 18:39:52 +0800 | [diff] [blame] | 22 | obmc_console_server_CFLAGS = $(SYSTEMD_CFLAGS) |
23 | |||||
Andrew Jeffery | 71e7a24 | 2020-02-12 22:58:16 +1030 | [diff] [blame^] | 24 | obmc_console_client_CPPFLAGS = \ |
25 | -DSYSCONFDIR=\"$(sysconfdir)\" | ||||
26 | |||||
Jeremy Kerr | e440a40 | 2016-03-17 16:34:14 +0800 | [diff] [blame] | 27 | obmc_console_client_SOURCES = \ |
Jeremy Kerr | a58cf44 | 2016-03-16 12:09:00 +0800 | [diff] [blame] | 28 | console-client.c \ |
29 | console-server.h \ | ||||
Jeremy Kerr | 0cff652 | 2016-03-18 09:57:01 +0800 | [diff] [blame] | 30 | console-socket.c \ |
Andrew Jeffery | 71e7a24 | 2020-02-12 22:58:16 +1030 | [diff] [blame^] | 31 | config.c \ |
Jeremy Kerr | a58cf44 | 2016-03-16 12:09:00 +0800 | [diff] [blame] | 32 | util.c |
Jeremy Kerr | 6c8d781 | 2016-03-17 15:05:45 +0800 | [diff] [blame] | 33 | |
Jeremy Kerr | c9775ce | 2017-02-07 16:25:34 +0800 | [diff] [blame] | 34 | SUBDIRS = test |