1*ae771770SStanislav Sedov# $Id$ 2b528cefcSMark Murray 3b528cefcSMark Murrayinclude $(top_srcdir)/Makefile.am.common 4b528cefcSMark Murray 5c19800e8SDoug RabsonAM_CPPFLAGS += -I$(srcdir)/../common $(INCLUDE_krb4) -DFTP_SERVER 6b528cefcSMark Murray 7b528cefcSMark Murraylibexec_PROGRAMS = ftpd 8b528cefcSMark Murray 9b528cefcSMark MurrayCHECK_LOCAL = 10b528cefcSMark Murray 11b528cefcSMark Murrayif KRB5 12b528cefcSMark Murraykrb5_sources = gssapi.c gss_userok.c 13b528cefcSMark Murrayendif 14b528cefcSMark Murray 15b528cefcSMark Murrayftpd_SOURCES = \ 16b528cefcSMark Murray extern.h \ 17b528cefcSMark Murray ftpcmd.y \ 18b528cefcSMark Murray ftpd.c \ 19b528cefcSMark Murray ftpd_locl.h \ 20b528cefcSMark Murray logwtmp.c \ 21b528cefcSMark Murray ls.c \ 22b528cefcSMark Murray pathnames.h \ 23b528cefcSMark Murray popen.c \ 24b528cefcSMark Murray security.c \ 25c19800e8SDoug Rabson kauth.c \ 26c19800e8SDoug Rabson klist.c \ 27b528cefcSMark Murray $(krb4_sources) \ 28b528cefcSMark Murray $(krb5_sources) 29b528cefcSMark Murray 30*ae771770SStanislav SedovEXTRA_ftpd_SOURCES = kauth.c gssapi.c gss_userok.c 31b528cefcSMark Murray 32b528cefcSMark Murray$(ftpd_OBJECTS): security.h 33b528cefcSMark Murray 34b528cefcSMark Murraysecurity.c: 35b528cefcSMark Murray @test -f security.c || $(LN_S) $(srcdir)/../ftp/security.c . 36b528cefcSMark Murraysecurity.h: 37b528cefcSMark Murray @test -f security.h || $(LN_S) $(srcdir)/../ftp/security.h . 38b528cefcSMark Murraygssapi.c: 39b528cefcSMark Murray @test -f gssapi.c || $(LN_S) $(srcdir)/../ftp/gssapi.c . 40b528cefcSMark Murray 41*ae771770SStanislav SedovCLEANFILES = security.c security.h gssapi.c 42b528cefcSMark Murray 43b528cefcSMark Murrayman_MANS = ftpd.8 ftpusers.5 44b528cefcSMark Murray 45b528cefcSMark MurrayLDADD = ../common/libcommon.a \ 465e9cd1aeSAssar Westerlund $(LIB_otp) \ 474137ff4cSJacques Vidrine $(LIB_gssapi) \ 48b528cefcSMark Murray $(LIB_krb5) \ 494137ff4cSJacques Vidrine $(LIB_kafs) \ 50b528cefcSMark Murray $(LIB_krb4) \ 51c19800e8SDoug Rabson $(LIB_hcrypto) \ 524137ff4cSJacques Vidrine $(LIB_roken) 53c19800e8SDoug Rabson 54*ae771770SStanislav SedovEXTRA_DIST = NTMakefile $(man_MANS) 55