]> sjero.net Git - wget/blob - windows/Makefile.src.bor
Updated config.guess, config.sub, install.sh.
[wget] / windows / Makefile.src.bor
1 ## Compiler, linker, and lib stuff
2 ## Makefile for use with Borland C++ for Win32 executable.
3
4 RM=-del
5 CC=bcc32
6 LINK=ilink32
7
8 LFLAGS=
9 WARN=-w-8057 -w-8027 -w-8008 -w-8065
10 CFLAGS=-DWINDOWS -DHAVE_CONFIG_H -I. -O2 -6 -d -q $(WARN)
11
12 ## variables
13 OBJS=cmpt.obj connect.obj convert.obj ftp.obj ftp-basic.obj \
14      ftp-ls.obj ftp-opie.obj getopt.obj host.obj html-parse.obj html-url.obj \
15      http.obj init.obj log.obj main.obj gnu-md5.obj netrc.obj \
16      safe-ctype.obj hash.obj progress.obj ptimer.obj gen-md5.obj cookies.obj \
17      recur.obj res.obj retr.obj url.obj utils.obj version.obj xmalloc.obj \
18      mswindows.obj spider.obj
19
20 LIBDIR=$(MAKEDIR)\..\lib
21
22 wget.exe: $(OBJS)
23   $(LINK) @&&|
24 $(LFLAGS) -Tpe -ap -c +
25 $(LIBDIR)\c0x32.obj+
26 cmpt.obj+
27 connect.obj+
28 convert.obj+
29 cookies.obj+
30 ftp-basic.obj+
31 ftp-ls.obj+
32 ftp-opie.obj+
33 ftp.obj+
34 gen-md5.obj+
35 getopt.obj+
36 gnu-md5.obj+
37 hash.obj+
38 host.obj+
39 html-parse.obj+
40 html-url.obj+
41 http.obj+
42 init.obj+
43 log.obj+
44 main.obj+
45 mswindows.obj+
46 netrc.obj+
47 progress.obj+
48 ptimer.obj+
49 recur.obj+
50 res.obj+
51 retr.obj+
52 safe-ctype.obj+
53 spider.obj+
54 url.obj+
55 utils.obj+
56 version.obj+
57 xmalloc.obj,+
58 $<,$*,+
59 $(LIBDIR)\import32.lib+
60 $(LIBDIR)\cw32.lib
61
62 |
63
64 $(OBJS): config-post.h config.h connect.h convert.h cookies.h ftp.h \
65          gen-md5.h getopt.h gnu-md5.h hash.h host.h html-parse.h    \
66          http-ntlm.h init.h log.h mswindows.h netrc.h options.h     \
67          progress.h ptimer.h recur.h res.h retr.h safe-ctype.h      \
68          spider.h ssl.h sysdep.h url.h utils.h wget.h xmalloc.h
69
70
71 #
72 # Dependencies for cleanup
73 #
74
75 clean:
76         $(RM) *.bak
77         $(RM) *.obj
78         $(RM) wget.exe
79         $(RM) wget.ilc
80         $(RM) wget.ild
81         $(RM) wget.ilf
82         $(RM) wget.ils
83         $(RM) wget.map
84         $(RM) wget.tds
85
86 o = .obj