blob: ac924be10f41350f9b4d749d1fc88972a248b99c (
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
|
thisconfigdir=./..
myfulldir=appl/gssftp/ftp
mydir=ftp
BUILDTOP=$(REL)..$(S)..$(S)..
#
# appl/gssftp/ftp/Makefile.in
#
DEFINES = -DGSSAPI -DFTP_BUFSIZ=10240
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)
SRCS = $(srcdir)/cmds.c $(srcdir)/cmdtab.c $(srcdir)/domacro.c \
$(srcdir)/ftp.c $(srcdir)/getpass.c $(srcdir)/glob.c \
$(srcdir)/main.c $(srcdir)/radix.c \
$(srcdir)/ruserpass.c $(srcdir)/secure.c
OBJS = $(OUTPRE)cmds.$(OBJEXT) $(OUTPRE)cmdtab.$(OBJEXT) \
$(OUTPRE)domacro.$(OBJEXT) $(OUTPRE)ftp.$(OBJEXT) \
$(OUTPRE)getpass.$(OBJEXT) $(OUTPRE)glob.$(OBJEXT) \
$(OUTPRE)main.$(OBJEXT) $(OUTPRE)radix.$(OBJEXT) \
$(OUTPRE)ruserpass.$(OBJEXT) $(OUTPRE)secure.$(OBJEXT)
LOCALINCLUDES = -I$(srcdir)/.. -I$(srcdir) @KRB4_INCLUDES@
#
# We cannot have @KRB4_INCLUDES@ under Windows, since we do not use
# configure, so we redefine LOCALINCLUDES not to have that.
#
##WIN32##LOCALINCLUDES = -I$(srcdir)/.. -I$(srcdir)
all-unix:: ftp
all-windows:: $(OUTPRE)ftp.exe
ftp: $(OBJS) $(GSS_DEPLIBS) $(KRB5_BASE_DEPLIBS)
$(CC_LINK) -o ftp $(OBJS) $(GSS_LIBS) $(KRB4COMPAT_LIBS)
$(OUTPRE)ftp.exe: $(OBJS) $(GLIB) $(KLIB)
link $(EXE_LINKOPTS) -out:$@ $** ws2_32.lib advapi32.lib $(SCLIB)
clean-unix::
$(RM) ftp
depend::
install-unix::
for f in ftp; do \
$(INSTALL_PROGRAM) $$f \
$(DESTDIR)$(CLIENT_BINDIR)/`echo $$f|sed '$(transform)'`; \
$(INSTALL_DATA) $(srcdir)/$$f.M \
$(DESTDIR)$(CLIENT_MANDIR)/`echo $$f|sed '$(transform)'`.1; \
done
ftp.o cmds.o main.o: $(srcdir)/../arpa/ftp.h
ftp.o cmds.o cmdtab.o domacro.o main.o ruserpass.o: $(srcdir)/ftp_var.h
secure.o: secure.h
cmds.o: $(srcdir)/cmds.c
cmdtab.o: $(srcdir)/cmdtab.c
ftp.o: $(srcdir)/ftp.c
getpass.o: $(srcdir)/getpass.c
glob.o: $(srcdir)/glob.c
main.o: $(srcdir)/main.c
pclose.o: $(srcdir)/pclose.c
ruserpass.o: $(srcdir)/ruserpass.c
domacro.o: $(srcdir)/domacro.c
radix.o: $(srcdir)/radix.c
secure.o: $(srcdir)/secure.c
# NOPOSTFIX
# +++ Dependency line eater +++
#
# Makefile dependencies follow. This must be the last section in
# the Makefile.in file
#
$(OUTPRE)cmds.$(OBJEXT): cmds.c $(SRCTOP)/include/port-sockets.h \
$(BUILDTOP)/include/autoconf.h $(srcdir)/../arpa/ftp.h \
ftp_var.h pathnames.h
$(OUTPRE)cmdtab.$(OBJEXT): cmdtab.c ftp_var.h
$(OUTPRE)domacro.$(OBJEXT): domacro.c ftp_var.h
$(OUTPRE)ftp.$(OBJEXT): ftp.c $(srcdir)/../arpa/ftp.h \
$(srcdir)/../arpa/telnet.h $(SRCTOP)/include/port-sockets.h \
$(BUILDTOP)/include/autoconf.h $(SRCTOP)/include/kerberosIV/krb.h \
$(SRCTOP)/include/kerberosIV/des.h $(KRB_ERR_H_DEP) \
$(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h $(BUILDTOP)/include/gssapi/gssapi.h \
$(BUILDTOP)/include/gssapi/gssapi_generic.h $(BUILDTOP)/include/gssapi/gssapi_krb5.h \
$(BUILDTOP)/include/krb5.h ftp_var.h secure.h
$(OUTPRE)getpass.$(OBJEXT): getpass.c ftp_var.h
$(OUTPRE)glob.$(OBJEXT): glob.c ftp_var.h
$(OUTPRE)main.$(OBJEXT): main.c ftp_var.h $(srcdir)/../arpa/ftp.h \
$(SRCTOP)/include/port-sockets.h $(BUILDTOP)/include/autoconf.h \
$(SRCTOP)/include/kerberosIV/krb.h $(SRCTOP)/include/kerberosIV/des.h \
$(KRB_ERR_H_DEP) $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h
$(OUTPRE)radix.$(OBJEXT): radix.c ftp_var.h
$(OUTPRE)ruserpass.$(OBJEXT): ruserpass.c ftp_var.h
$(OUTPRE)secure.$(OBJEXT): 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 \
$(KRB_ERR_H_DEP) $(COM_ERR_DEPS) $(BUILDTOP)/include/profile.h \
$(srcdir)/../arpa/ftp.h
|