No empty .Rs/.Re
[netbsd-mini2440.git] / crypto / dist / heimdal / appl / ftp / ftpd / Makefile.am
blob46984a582b86a40d85b4e36b4174d2d96cb923af
1 # $Heimdal: Makefile.am 21031 2007-06-09 05:00:27Z lha $
2 # $NetBSD$
4 include $(top_srcdir)/Makefile.am.common
6 AM_CPPFLAGS += -I$(srcdir)/../common $(INCLUDE_krb4) -DFTP_SERVER
8 libexec_PROGRAMS = ftpd
10 CHECK_LOCAL = 
12 if KRB4
13 krb4_sources = krb4.c
14 endif
15 if KRB5
16 krb5_sources = gssapi.c gss_userok.c
17 endif
19 ftpd_SOURCES =          \
20         extern.h        \
21         ftpcmd.y        \
22         ftpd.c          \
23         ftpd_locl.h     \
24         logwtmp.c       \
25         ls.c            \
26         pathnames.h     \
27         popen.c         \
28         security.c      \
29         kauth.c         \
30         klist.c         \
31         $(krb4_sources) \
32         $(krb5_sources)
34 EXTRA_ftpd_SOURCES = krb4.c kauth.c gssapi.c gss_userok.c
36 $(ftpd_OBJECTS): security.h
38 security.c:
39         @test -f security.c || $(LN_S) $(srcdir)/../ftp/security.c .
40 security.h:
41         @test -f security.h || $(LN_S) $(srcdir)/../ftp/security.h .
42 krb4.c:
43         @test -f krb4.c || $(LN_S) $(srcdir)/../ftp/krb4.c .
44 gssapi.c:
45         @test -f gssapi.c || $(LN_S) $(srcdir)/../ftp/gssapi.c .
47 CLEANFILES = security.c security.h krb4.c gssapi.c
49 man_MANS = ftpd.8 ftpusers.5
51 LDADD = ../common/libcommon.a \
52         $(LIB_otp) \
53         $(LIB_gssapi) \
54         $(LIB_krb5) \
55         $(LIB_kafs) \
56         $(LIB_krb4) \
57         $(LIB_hcrypto) \
58         $(LIB_roken)
60 EXTRA_DIST = $(man_MANS)