Update makefile to build and link in libtelnet files used exclusively by either telnet or telnetd only for the appropriate binary.

This commit is contained in:
Stephen Heumann 2015-05-31 23:20:21 -05:00
parent 391736d065
commit 46f340c657

View File

@ -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 \