summaryrefslogtreecommitdiffstats
path: root/crypto/heimdal/appl/ftp/ftpd/Makefile.am
blob: b404876304098a16d545e94c506699bb17110cf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# $Id: Makefile.am 21031 2007-06-09 05:00:27Z lha $

include $(top_srcdir)/Makefile.am.common

AM_CPPFLAGS += -I$(srcdir)/../common $(INCLUDE_krb4) -DFTP_SERVER

libexec_PROGRAMS = ftpd

CHECK_LOCAL = 

if KRB4
krb4_sources = krb4.c
endif
if KRB5
krb5_sources = gssapi.c gss_userok.c
endif

ftpd_SOURCES =		\
	extern.h	\
	ftpcmd.y	\
	ftpd.c		\
	ftpd_locl.h	\
	logwtmp.c	\
	ls.c		\
	pathnames.h	\
	popen.c		\
	security.c	\
	kauth.c		\
	klist.c		\
	$(krb4_sources) \
	$(krb5_sources)

EXTRA_ftpd_SOURCES = krb4.c kauth.c gssapi.c gss_userok.c

$(ftpd_OBJECTS): security.h

security.c:
	@test -f security.c || $(LN_S) $(srcdir)/../ftp/security.c .
security.h:
	@test -f security.h || $(LN_S) $(srcdir)/../ftp/security.h .
krb4.c:
	@test -f krb4.c || $(LN_S) $(srcdir)/../ftp/krb4.c .
gssapi.c:
	@test -f gssapi.c || $(LN_S) $(srcdir)/../ftp/gssapi.c .

CLEANFILES = security.c security.h krb4.c gssapi.c

man_MANS = ftpd.8 ftpusers.5

LDADD = ../common/libcommon.a \
	$(LIB_otp) \
	$(LIB_gssapi) \
	$(LIB_krb5) \
	$(LIB_kafs) \
	$(LIB_krb4) \
	$(LIB_hcrypto) \
	$(LIB_roken)

EXTRA_DIST = $(man_MANS)
OpenPOWER on IntegriCloud