1# $Id$ 2 3include $(top_srcdir)/Makefile.am.common 4 5AM_CPPFLAGS += -I$(srcdir)/../common $(INCLUDE_krb4) -DFTP_SERVER 6 7libexec_PROGRAMS = ftpd 8 9CHECK_LOCAL = 10 11if KRB5 12krb5_sources = gssapi.c gss_userok.c 13endif 14 15ftpd_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 30EXTRA_ftpd_SOURCES = kauth.c gssapi.c gss_userok.c 31 32$(ftpd_OBJECTS): security.h 33 34security.c: 35 @test -f security.c || $(LN_S) $(srcdir)/../ftp/security.c . 36security.h: 37 @test -f security.h || $(LN_S) $(srcdir)/../ftp/security.h . 38gssapi.c: 39 @test -f gssapi.c || $(LN_S) $(srcdir)/../ftp/gssapi.c . 40 41CLEANFILES = security.c security.h gssapi.c 42 43man_MANS = ftpd.8 ftpusers.5 44 45LDADD = ../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 54EXTRA_DIST = NTMakefile $(man_MANS) 55