]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - crypto/heimdal/appl/ftp/ftpd/Makefile.am
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / crypto / heimdal / appl / ftp / ftpd / Makefile.am
1 # $Id$
2
3 include $(top_srcdir)/Makefile.am.common
4
5 AM_CPPFLAGS += -I$(srcdir)/../common $(INCLUDE_krb4) -DFTP_SERVER
6
7 libexec_PROGRAMS = ftpd
8
9 CHECK_LOCAL = 
10
11 if KRB5
12 krb5_sources = gssapi.c gss_userok.c
13 endif
14
15 ftpd_SOURCES =          \
16         extern.h        \
17         ftpcmd.y        \
18         ftpd.c          \
19         ftpd_locl.h     \
20         logwtmp.c       \
21         ls.c            \
22         pathnames.h     \
23         popen.c         \
24         security.c      \
25         kauth.c         \
26         klist.c         \
27         $(krb4_sources) \
28         $(krb5_sources)
29
30 EXTRA_ftpd_SOURCES = kauth.c gssapi.c gss_userok.c
31
32 $(ftpd_OBJECTS): security.h
33
34 security.c:
35         @test -f security.c || $(LN_S) $(srcdir)/../ftp/security.c .
36 security.h:
37         @test -f security.h || $(LN_S) $(srcdir)/../ftp/security.h .
38 gssapi.c:
39         @test -f gssapi.c || $(LN_S) $(srcdir)/../ftp/gssapi.c .
40
41 CLEANFILES = security.c security.h gssapi.c
42
43 man_MANS = ftpd.8 ftpusers.5
44
45 LDADD = ../common/libcommon.a \
46         $(LIB_otp) \
47         $(LIB_gssapi) \
48         $(LIB_krb5) \
49         $(LIB_kafs) \
50         $(LIB_krb4) \
51         $(LIB_hcrypto) \
52         $(LIB_roken)
53
54 EXTRA_DIST = NTMakefile $(man_MANS)