1999-12-02 02:42:23 -05:00
|
|
|
## Compiler, linker, and lib stuff
|
2003-10-25 20:28:04 -04:00
|
|
|
## Makefile for use with Borland C++ for Win32 executable.
|
1999-12-02 02:42:23 -05:00
|
|
|
|
2004-05-09 17:08:38 -04:00
|
|
|
RM=-del
|
1999-12-02 02:42:23 -05:00
|
|
|
CC=bcc32
|
2002-03-19 13:20:01 -05:00
|
|
|
LINK=ilink32
|
1999-12-02 02:42:23 -05:00
|
|
|
|
|
|
|
LFLAGS=
|
2005-04-28 12:55:47 -04:00
|
|
|
WARN=-w-8057 -w-8027 -w-8008 -w-8065
|
2005-03-06 12:46:00 -05:00
|
|
|
CFLAGS=-DWINDOWS -DHAVE_CONFIG_H -I. -O2 -6 -d -q $(WARN)
|
1999-12-02 02:42:23 -05:00
|
|
|
|
|
|
|
## variables
|
2006-08-24 11:34:24 -04:00
|
|
|
OBJS=cmpt.obj connect.obj convert.obj ftp.obj ftp-basic.obj \
|
|
|
|
ftp-ls.obj ftp-opie.obj getopt.obj host.obj html-parse.obj html-url.obj \
|
|
|
|
http.obj init.obj log.obj main.obj gnu-md5.obj netrc.obj \
|
|
|
|
safe-ctype.obj hash.obj progress.obj ptimer.obj gen-md5.obj cookies.obj \
|
|
|
|
recur.obj res.obj retr.obj url.obj utils.obj version.obj xmalloc.obj \
|
|
|
|
mswindows.obj spider.obj
|
1999-12-02 02:42:23 -05:00
|
|
|
|
|
|
|
LIBDIR=$(MAKEDIR)\..\lib
|
|
|
|
|
|
|
|
wget.exe: $(OBJS)
|
|
|
|
$(LINK) @&&|
|
|
|
|
$(LFLAGS) -Tpe -ap -c +
|
|
|
|
$(LIBDIR)\c0x32.obj+
|
2004-05-09 17:08:38 -04:00
|
|
|
cmpt.obj+
|
2003-10-31 09:31:56 -05:00
|
|
|
connect.obj+
|
2003-10-25 20:28:04 -04:00
|
|
|
convert.obj+
|
2002-03-19 13:20:01 -05:00
|
|
|
cookies.obj+
|
2003-10-31 09:31:56 -05:00
|
|
|
ftp-basic.obj+
|
|
|
|
ftp-ls.obj+
|
|
|
|
ftp-opie.obj+
|
|
|
|
ftp.obj+
|
2001-12-04 05:33:18 -05:00
|
|
|
gen-md5.obj+
|
2003-10-31 09:31:56 -05:00
|
|
|
getopt.obj+
|
|
|
|
gnu-md5.obj+
|
|
|
|
hash.obj+
|
|
|
|
host.obj+
|
2002-03-19 13:20:01 -05:00
|
|
|
html-parse.obj+
|
|
|
|
html-url.obj+
|
2003-10-31 09:31:56 -05:00
|
|
|
http.obj+
|
|
|
|
init.obj+
|
|
|
|
log.obj+
|
|
|
|
main.obj+
|
|
|
|
mswindows.obj+
|
|
|
|
netrc.obj+
|
|
|
|
progress.obj+
|
2005-04-08 05:19:39 -04:00
|
|
|
ptimer.obj+
|
2003-10-31 09:31:56 -05:00
|
|
|
recur.obj+
|
|
|
|
res.obj+
|
|
|
|
retr.obj+
|
|
|
|
safe-ctype.obj+
|
2006-08-24 11:34:24 -04:00
|
|
|
spider.obj+
|
2003-10-31 09:31:56 -05:00
|
|
|
url.obj+
|
|
|
|
utils.obj+
|
|
|
|
version.obj+
|
2004-05-09 17:08:38 -04:00
|
|
|
xmalloc.obj,+
|
|
|
|
$<,$*,+
|
1999-12-02 02:42:23 -05:00
|
|
|
$(LIBDIR)\import32.lib+
|
|
|
|
$(LIBDIR)\cw32.lib
|
|
|
|
|
2005-06-30 08:13:05 -04:00
|
|
|
|
|
|
|
|
|
2006-08-24 11:34:24 -04:00
|
|
|
$(OBJS): config-post.h config.h connect.h convert.h cookies.h ftp.h \
|
|
|
|
gen-md5.h getopt.h gnu-md5.h hash.h host.h html-parse.h \
|
|
|
|
http-ntlm.h init.h log.h mswindows.h netrc.h options.h \
|
|
|
|
progress.h ptimer.h recur.h res.h retr.h safe-ctype.h \
|
|
|
|
spider.h ssl.h sysdep.h url.h utils.h wget.h xmalloc.h
|
1999-12-02 02:42:23 -05:00
|
|
|
|
2004-05-09 17:08:38 -04:00
|
|
|
|
|
|
|
#
|
|
|
|
# Dependencies for cleanup
|
|
|
|
#
|
|
|
|
|
|
|
|
clean:
|
|
|
|
$(RM) *.bak
|
|
|
|
$(RM) *.obj
|
2005-04-28 13:09:42 -04:00
|
|
|
$(RM) wget.exe
|
|
|
|
$(RM) wget.ilc
|
|
|
|
$(RM) wget.ild
|
|
|
|
$(RM) wget.ilf
|
|
|
|
$(RM) wget.ils
|
|
|
|
$(RM) wget.map
|
|
|
|
$(RM) wget.tds
|
2004-05-09 17:08:38 -04:00
|
|
|
|
1999-12-02 02:42:23 -05:00
|
|
|
o = .obj
|