blob: 2c2171c50560bdd5b25d40149e4925187f7e964e (
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
thisconfigdir=./..
myfulldir=appl/gssftp/ftpd
mydir=ftpd
BUILDTOP=$(REL)..$(S)..$(S)..
#
# appl/gssftp/ftpd/Makefile.in
#
DEFINES = -DGSSAPI -DFTP_BUFSIZ=10240 #-DNOCONFIDENTIAL
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)
SETENVSRC=@SETENVSRC@
SETENVOBJ=@SETENVOBJ@
LIBOBJS=@LIBOBJS@
COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a
FTPD_LIBS=@FTPD_LIBS@
SRCS = $(srcdir)/ftpd.c ftpcmd.c $(srcdir)/popen.c \
$(srcdir)/vers.c \
$(srcdir)/../ftp/glob.c \
$(srcdir)/../ftp/radix.c \
$(srcdir)/../ftp/secure.c \
$(srcdir)/../../bsd/getdtablesize.c $(SETENVSRC)
OBJS = ftpd.o ftpcmd.o glob.o popen.o vers.o radix.o \
secure.o $(LIBOBJS) $(SETENVOBJ)
LOCALINCLUDES = -I$(srcdir)/.. -I$(srcdir) @KRB4_INCLUDES@
all:: ftpd
ftpd: $(OBJS) $(PTY_DEPLIB) $(GSS_DEPLIBS) $(KRB4COMPAT_DEPLIBS)
$(CC_LINK) -o $@ $(OBJS) $(FTPD_LIBS) $(PTY_LIB) $(GSS_LIBS) $(KRB4COMPAT_LIBS)
clean::
$(RM) ftpd ftpcmd.c
depend::
install::
for f in ftpd; do \
$(INSTALL_PROGRAM) $$f \
$(DESTDIR)$(SERVER_BINDIR)/`echo $$f|sed '$(transform)'`; \
$(INSTALL_DATA) $(srcdir)/$$f.M \
${DESTDIR}$(SERVER_MANDIR)/`echo $$f|sed '$(transform)'`.8; \
done
ftpcmd.c: $(srcdir)/ftpcmd.y
$(RM) ftpcmd.c y.tab.c
$(YACC) $(srcdir)/ftpcmd.y
$(MV) y.tab.c ftpcmd.c
glob.o: $(srcdir)/../ftp/glob.c
$(CC) -c $(ALL_CFLAGS) $(srcdir)/../ftp/glob.c
radix.o: $(srcdir)/../ftp/radix.c
$(CC) -c $(ALL_CFLAGS) $(srcdir)/../ftp/radix.c
secure.o: $(srcdir)/../ftp/secure.c
$(CC) -c $(ALL_CFLAGS) $(srcdir)/../ftp/secure.c
getdtablesize.o: $(srcdir)/../../bsd/getdtablesize.c
$(CC) -c $(ALL_CFLAGS) $(srcdir)/../../bsd/getdtablesize.c
setenv.o: $(srcdir)/../../bsd/setenv.c
$(CC) -c $(ALL_CFLAGS) $(srcdir)/../../bsd/setenv.c
ftpd.o: $(srcdir)/pathnames.h
secure.o: $(srcdir)/secure.h
ftpd.o: $(srcdir)/ftpd.c
ftpcmd.o: ftpcmd.c
popen.o: $(srcdir)/popen.c
vers.o: $(srcdir)/vers.c
# NOPOSTFIX
# +++ Dependency line eater +++
#
# Makefile dependencies follow. This must be the last section in
# the Makefile.in file
#
$(OUTPRE)ftpd.$(OBJEXT): ftpd.c $(srcdir)/../arpa/ftp.h \
$(srcdir)/../arpa/telnet.h $(SRCTOP)/include/syslog.h \
pathnames.h $(BUILDTOP)/include/libpty.h $(SRCTOP)/include/k5-util.h \
$(BUILDTOP)/include/krb5/autoconf.h $(SRCTOP)/include/port-sockets.h \
$(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(SRCTOP)/include/kerberosIV/krb.h \
$(SRCTOP)/include/kerberosIV/des.h $(BUILDTOP)/include/krb524.h \
$(BUILDTOP)/include/krb524_err.h $(SRCTOP)/include/socket-utils.h \
$(BUILDTOP)/include/gssapi/gssapi.h $(BUILDTOP)/include/gssapi/gssapi_generic.h \
$(BUILDTOP)/include/gssapi/gssapi_krb5.h ftpd_var.h \
secure.h
$(OUTPRE)ftpcmd.$(OBJEXT): ftpcmd.c $(srcdir)/../arpa/ftp.h \
$(SRCTOP)/include/syslog.h ftpd_var.h $(BUILDTOP)/include/gssapi/gssapi.h \
$(BUILDTOP)/include/gssapi/gssapi_generic.h $(SRCTOP)/include/kerberosIV/krb.h \
$(SRCTOP)/include/kerberosIV/des.h $(srcdir)/../arpa/telnet.h
$(OUTPRE)popen.$(OBJEXT): popen.c ftpd_var.h $(BUILDTOP)/include/gssapi/gssapi.h \
$(BUILDTOP)/include/gssapi/gssapi_generic.h
$(OUTPRE)vers.$(OBJEXT): vers.c
$(OUTPRE)glob.$(OBJEXT): $(srcdir)/../ftp/glob.c $(srcdir)/../ftp/ftp_var.h
$(OUTPRE)radix.$(OBJEXT): $(srcdir)/../ftp/radix.c \
$(srcdir)/../ftp/ftp_var.h
$(OUTPRE)secure.$(OBJEXT): $(srcdir)/../ftp/secure.c \
$(BUILDTOP)/include/gssapi/gssapi.h $(BUILDTOP)/include/gssapi/gssapi_generic.h \
secure.h $(SRCTOP)/include/kerberosIV/krb.h $(SRCTOP)/include/kerberosIV/des.h \
$(srcdir)/../arpa/ftp.h
$(OUTPRE)getdtablesize.$(OBJEXT): $(srcdir)/../../bsd/getdtablesize.c
|