| 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 |
$(PATHDEF_FTPWELCOME) $(PATHDEF_FTPUSERS) \ |
| 24 |
$(PATHDEF_FTPLOGINMESG) $(PATHDEF_FTPCHROOT) $(PATHDEF_FTPDPID) \ |
| 25 |
$(PATHDEF_DEVNULL) $(PATHDEF_NOLOGIN) $(PATHDEF_BSHELL) |
| 26 |
|
| 27 |
AM_CFLAGS = $(WARN_CFLAGS) |
| 28 |
|
| 29 |
LDADD = \ |
| 30 |
$(LIBLS) \ |
| 31 |
$(iu_LIBRARIES) \ |
| 32 |
$(LIBCRYPT) $(LIBWRAP) $(FTPD_LIBPAM) $(LIBDL) |
| 33 |
|
| 34 |
inetdaemondir = @inetdaemondir@ |
| 35 |
|
| 36 |
inetdaemon_PROGRAMS = $(ftpd_BUILD) |
| 37 |
|
| 38 |
EXTRA_PROGRAMS = ftpd |
| 39 |
|
| 40 |
ftpd_SOURCES = ftpcmd.y ftpd.c popen.c pam.c auth.c \ |
| 41 |
conf.c server_mode.c |
| 42 |
ftpd_LDADD = $(LDADD) $(LIBSOCKET) $(LIBINTL) $(GETADDRINFO_LIB) |
| 43 |
|
| 44 |
noinst_HEADERS = extern.h |
| 45 |
|
| 46 |
EXTRA_DIST = ftpcmd.c |