blob: f61fddfe3a4df3572fe8578efa4909561fd4db63 [file] [log] [blame]
Jeremy Kerre440a402016-03-17 16:34:14 +08001sbin_PROGRAMS = obmc-console-server
2bin_PROGRAMS = obmc-console-client
Jeremy Kerra58cf442016-03-16 12:09:00 +08003
Jeremy Kerre440a402016-03-17 16:34:14 +08004EXTRA_DIST = obmc-console.conf.sample
Jeremy Kerrd66195c2016-03-16 17:24:51 +08005
Jeremy Kerre440a402016-03-17 16:34:14 +08006obmc_console_server_CPPFLAGS = \
7 -DLOCALSTATEDIR=\"$(localstatedir)\" \
8 -DSYSCONFDIR=\"$(sysconfdir)\"
Jeremy Kerrdf94dc12016-03-16 12:19:49 +08009
Jeremy Kerre440a402016-03-17 16:34:14 +080010obmc_console_server_SOURCES = \
Jeremy Kerra58cf442016-03-16 12:09:00 +080011 console-server.c \
12 console-server.h \
13 util.c \
Jeremy Kerrc9775ce2017-02-07 16:25:34 +080014 ringbuffer.c \
Jeremy Kerrd66195c2016-03-16 17:24:51 +080015 config.c \
Jeremy Kerra58cf442016-03-16 12:09:00 +080016 log-handler.c \
Jeremy Kerr0cff6522016-03-18 09:57:01 +080017 socket-handler.c \
Jeremy Kerrbc1e8932016-04-28 12:27:30 +080018 tty-handler.c \
Jeremy Kerr0cff6522016-03-18 09:57:01 +080019 console-socket.c
Jeremy Kerra58cf442016-03-16 12:09:00 +080020
Cheng C Yangf9c8f6c2019-03-04 18:39:52 +080021obmc_console_server_LDFLAGS = $(SYSTEMD_LIBS)
22obmc_console_server_CFLAGS = $(SYSTEMD_CFLAGS)
23
Jeremy Kerre440a402016-03-17 16:34:14 +080024obmc_console_client_SOURCES = \
Jeremy Kerra58cf442016-03-16 12:09:00 +080025 console-client.c \
26 console-server.h \
Jeremy Kerr0cff6522016-03-18 09:57:01 +080027 console-socket.c \
Jeremy Kerra58cf442016-03-16 12:09:00 +080028 util.c
Jeremy Kerr6c8d7812016-03-17 15:05:45 +080029
Jeremy Kerrc9775ce2017-02-07 16:25:34 +080030SUBDIRS = test