source: trunk/essentials/net-misc/wget/windows/Makefile.src.bor

Last change on this file was 3440, checked in by bird, 18 years ago

wget 1.10.2

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