From 46f340c65731a368130393648017164f6f51693c Mon Sep 17 00:00:00 2001 From: Stephen Heumann Date: Sun, 31 May 2015 23:20:21 -0500 Subject: [PATCH] Update makefile to build and link in libtelnet files used exclusively by either telnet or telnetd only for the appropriate binary. --- Makefile.common | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile.common b/Makefile.common index e257a10..d7822e2 100644 --- a/Makefile.common +++ b/Makefile.common @@ -1,12 +1,10 @@ LIBTELNET_SRCS = \ - libtelnet/genget.c \ - libtelnet/getent.c \ libtelnet/getaddrinfo.c \ - libtelnet/strlcpy.c \ - libtelnet/vasprintf.c \ - libtelnet/inet_ntop.c + libtelnet/strlcpy.c TELNET_SRCS = \ + libtelnet/genget.c \ + libtelnet/inet_ntop.c \ telnet/commands.c \ telnet/main.c \ telnet/network.c \ @@ -17,6 +15,8 @@ TELNET_SRCS = \ telnet/utilities.c TELNETD_SRCS = \ + libtelnet/getent.c \ + libtelnet/vasprintf.c \ telnetd/global.c \ telnetd/slc.c \ telnetd/state.c \