Debian Codegraph @

telnetd/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 $(iu_INCLUDES) \
23 -I$(top_srcdir) \
24 $(INCAUTH) $(NCURSES_INCLUDE) \
25 $(PATHDEF_DEV) $(PATHDEF_TTY) $(PATHDEF_TTY_PFX) $(PATHDEF_LOGIN)
26
27 AM_CFLAGS = $(WARN_CFLAGS)
28
29 LDADD = \
30 $(top_builddir)/libtelnet/libtelnet.a \
31 $(iu_LIBRARIES) \
32 $(LIBTERMCAP) $(LIBUTIL) $(PTY_LIB) $(LIBCRYPT) $(LIBAUTH)
33
34 if ENABLE_hstrerror
35 LDADD += $(LIBRESOLV)
36 endif
37
38 inetdaemondir = @inetdaemondir@
39
40 inetdaemon_PROGRAMS = $(telnetd_BUILD)
41
42 EXTRA_PROGRAMS = telnetd
43
44 telnetd_SOURCES = telnetd.c pty.c term.c utility.c state.c termstat.c slc.c
45 telnetd_LDADD = $(LDADD) $(HOSTENT_LIB) $(LIBINTL) $(GETADDRINFO_LIB) \
46 $(LIBRESOLV)
47
48 noinst_HEADERS = telnetd.h