53
53
DEFS = @DEFS@ -DSYSTEM_WGETRC=\"$(sysconfdir)/wgetrc\" -DLOCALEDIR=\"$(localedir)\"
55
55
LDFLAGS = @LDFLAGS@
56
LIBS = @LIBS@ @LIBSSL@
59
INCLUDES = -I. -I$(srcdir) @SSL_INCLUDES@
59
INCLUDES = -I. -I$(srcdir)
61
61
COMPILE = $(CC) $(INCLUDES) $(CPPFLAGS) $(DEFS) $(CFLAGS)
62
LINK = @LIBTOOL@ --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
62
LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
63
63
INSTALL = @INSTALL@
64
64
INSTALL_PROGRAM = @INSTALL_PROGRAM@
108
108
ansi2knr: ansi2knr.o
109
109
$(CC) -o ansi2knr ansi2knr.o $(LIBS)
111
# We make object files depend on every header. Rather than attempt to
112
# track dependencies, everything gets recompiled when a header
113
# changes. With a program of Wget's size this doesn't waste much
114
# time, and it's a lot safer than attempting to get all the
115
# dependencies right.
117
$(OBJ): $(ANSI2KNR) \
118
config-post.h connect.h convert.h cookies.h ftp.h gen-md5.h \
119
getopt.h gnu-md5.h hash.h host.h html-parse.h http-ntlm.h \
120
init.h log.h mswindows.h netrc.h options.h progress.h \
121
ptimer.h recur.h res.h retr.h safe-ctype.h ssl.h sysdep.h \
122
url.h utils.h wget.h xmalloc.h
114
125
# Dependencies for installing
152
162
-$(ETAGS) *.c *.h
154
# DO NOT DELETE THIS LINE -- make depend depends on it.
157
cmpt$o: wget.h sysdep.h options.h safe-ctype.h
158
connect$o: wget.h sysdep.h options.h safe-ctype.h utils.h connect.h host.h
159
convert$o: wget.h convert.h url.h recur.h utils.h hash.h
160
cookies$o: wget.h sysdep.h options.h safe-ctype.h cookies.h hash.h url.h utils.h
161
ftp-basic$o: wget.h sysdep.h options.h safe-ctype.h utils.h connect.h \
163
ftp-ls$o: wget.h sysdep.h options.h safe-ctype.h utils.h ftp.h host.h \
165
ftp-opie$o: wget.h sysdep.h options.h safe-ctype.h gen-md5.h
166
ftp$o: wget.h sysdep.h options.h safe-ctype.h utils.h url.h retr.h \
167
ftp.h host.h connect.h netrc.h
168
gen-md5$o: wget.h sysdep.h options.h safe-ctype.h gen-md5.h
169
openssl$o: wget.h sysdep.h options.h safe-ctype.h utils.h connect.h host.h \
171
getopt$o: wget.h sysdep.h options.h safe-ctype.h getopt.h
172
gnu-md5$o: wget.h sysdep.h options.h safe-ctype.h gnu-md5.h
173
hash$o: wget.h sysdep.h options.h safe-ctype.h utils.h hash.h
174
host$o: wget.h sysdep.h options.h safe-ctype.h utils.h host.h url.h hash.h
175
html-parse$o: wget.h sysdep.h options.h safe-ctype.h html-parse.h
176
html-url$o: wget.h sysdep.h options.h safe-ctype.h html-parse.h url.h utils.h
177
http$o: wget.h sysdep.h options.h safe-ctype.h utils.h url.h host.h \
178
retr.h connect.h host.h netrc.h ssl.h \
180
init$o: wget.h sysdep.h options.h safe-ctype.h utils.h init.h host.h recur.h \
181
netrc.h cookies.h progress.h
182
log$o: wget.h sysdep.h options.h safe-ctype.h utils.h
183
main$o: wget.h sysdep.h options.h safe-ctype.h utils.h init.h retr.h \
184
recur.h host.h cookies.h url.h progress.h ssl.h getopt.h
185
gnu-md5$o: wget.h sysdep.h options.h safe-ctype.h gnu-md5.h
186
mswindows$o: wget.h sysdep.h options.h safe-ctype.h utils.h url.h
187
netrc$o: wget.h sysdep.h options.h safe-ctype.h utils.h netrc.h init.h
188
progress$o: wget.h sysdep.h options.h safe-ctype.h progress.h utils.h retr.h
189
recur$o: wget.h sysdep.h options.h safe-ctype.h url.h recur.h utils.h retr.h \
191
res$o: wget.h sysdep.h options.h safe-ctype.h utils.h hash.h url.h retr.h res.h
192
retr$o: wget.h sysdep.h options.h safe-ctype.h utils.h retr.h url.h \
193
recur.h ftp.h host.h connect.h hash.h
194
safe-ctype$o: safe-ctype.h
195
snprintf$o: safe-ctype.h
196
url$o: wget.h sysdep.h options.h safe-ctype.h utils.h url.h host.h hash.h
197
utils$o: wget.h sysdep.h options.h safe-ctype.h utils.h hash.h
199
xmalloc$o: wget.h xmalloc.h