mirror of
https://git.savannah.gnu.org/git/inetutils.git
synced 2026-01-26 16:29:08 +08:00
42 lines
1.3 KiB
Makefile
42 lines
1.3 KiB
Makefile
# Makefile for telnetd
|
|
#
|
|
# Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2, or (at your option)
|
|
# any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software
|
|
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
#
|
|
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
include ../config.make
|
|
|
|
SRCS = authenc.c global.c slc.c state.c sys_term.c telnetd.c termstat.c \
|
|
utility.c
|
|
HDRS = defs.h ext.h telnetd.h
|
|
DISTFILES = $(SRCS) $(HDRS) telnetd.8
|
|
|
|
OPTIONS = -DLINEMODE -DKLUDGELINEMODE -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON
|
|
|
|
INSTALL_TARGETS = $(libexecdir)/in.telnetd $(man8dir)/telnetd.8
|
|
OBJS = $(SRCS:.c=.o)
|
|
LDLIBS += -L../libtelnet -ltelnet $(LIBTERMCAP) $(LIBUTIL) $(LIBCRYPT)
|
|
CLEAN = telnetd $(OBJS)
|
|
|
|
CPPFLAGS += $(OPTIONS) $(PATHDEF_LOGIN) $(PATHDEF_TTY)
|
|
|
|
all: telnetd
|
|
telnetd: $(OBJS)
|
|
|
|
include $(RULES)
|