Debian Codegraph @

telnet/Makefile.am

raw
1 #
2 # Copyright (C) 1997-2026 Free Software Foundation, Inc.
3 #
4 # This file is part of GNU Inetutils.
5 #
6 # GNU Inetutils is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation, either version 3 of the License, or (at
9 # your option) any later version.
10 #
11 # GNU Inetutils is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with this program. If not, see `http://www.gnu.org/licenses/'.
18
19 @PATHDEFS_MAKE@
20
21 AM_CPPFLAGS = \
22 -DTERMCAP -DLINEMODE -DKLUDGELINEMODE -DENV_HACK \
23 $(PATHDEF_BSHELL) \
24 $(iu_INCLUDES) \
25 -I$(top_srcdir) \
26 $(NCURSES_INCLUDE) $(INCIDN)
27
28 AM_CFLAGS = $(WARN_CFLAGS)
29
30 LDADD = \
31 $(top_builddir)/libtelnet/libtelnet.a \
32 $(iu_LIBRARIES) \
33 $(LIBTERMCAP) $(LIBCRYPT) $(LIBAUTH) $(LIBIDN)
34
35 bin_PROGRAMS = $(telnet_BUILD)
36
37 EXTRA_PROGRAMS = telnet
38
39 telnet_SOURCES = authenc.c commands.c main.c network.c ring.c sys_bsd.c \
40 telnet.c terminal.c utilities.c
41 telnet_LDADD = $(LDADD) $(LIBSOCKET) $(HOSTENT_LIB) $(LIBINTL) \
42 $(GETADDRINFO_LIB)
43
44 noinst_HEADERS = defines.h externs.h general.h ring.h types.h