]> sjero.net Git - wget/blob - windows/Makefile.watcom
[svn] Changes related to ftpparse removal.
[wget] / windows / Makefile.watcom
1 ## Compiler, linker, and lib stuff
2 ## Makefile for use with watcom win95/winnt executable.
3
4 CC=wcc386 /zq
5 LINK=wlink
6
7 #disabled for faster compiler
8 LFLAGS=sys nt op st=32767 op vers=1.7 op map op q op de 'GNU wget 1.7dev'
9 CFLAGS=/zp4 /d1 /w4 /fpd /5s /fp5 /bm /mf /os /bt=nt /DWINDOWS /DHAVE_CONFIG_H /I=$(%WATCOM)\h;$(%WATCOM)\h\nt;.
10 # /zp4= pack structure members with this alignment
11 # /d1 = line number debug info
12 # /w4 = warning level
13 # /fpd= ??? no such switch !
14 # /5s = Pentium stack-based calling
15 # /fp5= Pentium floating point
16 # /bm = build multi-threaded
17 # /mf = flat memory model
18 # /os = optimize for size
19 # /bt = "build target" (nt)
20
21 OBJS = FILE cmpt.obj,connect.obj,fnmatch.obj,ftp.obj,ftp-basic.obj, &
22       ftp-ls.obj,ftp-opie.obj,getopt.obj,hash.obj,headers.obj,host.obj,html-parse.obj,html-url.obj, &
23       http.obj,init.obj,log.obj,main.obj,md5.obj,netrc.obj,rbuf.obj, &
24       recur.obj,retr.obj,url.obj,utils.obj,version.obj,mswindows.obj
25 #
26 # NOTE: these two MUST be kept absolutely in sync
27 # alas, no text functions in Watcom make :-(
28 #
29 LINKOBJS = cmpt.obj connect.obj fnmatch.obj ftp.obj ftp-basic.obj &
30       ftp-ls.obj ftp-opie.obj getopt.obj hash.obj headers.obj host.obj html-parse.obj html-url.obj &
31       http.obj init.obj log.obj main.obj md5.obj netrc.obj rbuf.obj &
32       recur.obj retr.obj url.obj utils.obj version.obj mswindows.obj
33
34
35 LIBFILES =
36
37 BINNAME=wget.exe
38
39 $(BINNAME): $(LINKOBJS)
40         $(LINK) $(LFLAGS) NAME $(BINNAME) $(OBJS) $(LIBPATH) $(LIBFILES)
41
42 cmpt.obj: cmpt.c wget.h sysdep.h options.h
43 connect.obj: connect.c wget.h sysdep.h options.h connect.h host.h
44 fnmatch.obj: fnmatch.c wget.h sysdep.h options.h fnmatch.h
45 ftp-basic.obj: ftp-basic.c wget.h sysdep.h options.h utils.h rbuf.h connect.h host.h ftp.h
46 ftp-ls.obj: ftp-ls.c wget.h sysdep.h options.h utils.h ftp.h rbuf.h url.h
47 ftp-opie.obj: ftp-opie.c wget.h sysdep.h options.h md5.h
48 ftp.obj: ftp.c wget.h sysdep.h options.h utils.h url.h rbuf.h retr.h ftp.h connect.h host.h fnmatch.h netrc.h
49 getopt.obj: getopt.c wget.h sysdep.h options.h getopt.h
50 hash.obj: hash.c wget.h sysdep.h options.h utils.h hash.h
51 headers.obj: headers.c wget.h sysdep.h options.h connect.h rbuf.h headers.h
52 host.obj: host.c wget.h sysdep.h options.h utils.h host.h url.h hash.h
53 html-parse.obj: html-parse.c wget.h sysdep.h options.h html-parse.h
54 html-url.obj: html-url.c wget.h sysdep.h options.h html-parse.h url.h utils.h
55 http.obj: http.c wget.h sysdep.h options.h utils.h url.h host.h rbuf.h retr.h headers.h connect.h fnmatch.h netrc.h md5.h
56 init.obj: init.c wget.h sysdep.h options.h utils.h init.h host.h recur.h netrc.h
57 log.obj: log.c wget.h sysdep.h options.h utils.h
58 main.obj: main.c wget.h sysdep.h options.h utils.h getopt.h init.h retr.h rbuf.h recur.h host.h
59 md5.obj: md5.c wget.h sysdep.h options.h md5.h
60 netrc.obj: netrc.c wget.h sysdep.h options.h utils.h netrc.h init.h
61 rbuf.obj: rbuf.c wget.h sysdep.h options.h rbuf.h connect.h
62 recur.obj: recur.c wget.h sysdep.h options.h url.h recur.h utils.h retr.h rbuf.h ftp.h fnmatch.h host.h hash.h
63 retr.obj: retr.c wget.h sysdep.h options.h utils.h retr.h rbuf.h url.h recur.h ftp.h host.h connect.h hash.h
64 snprintf.obj: snprintf.c
65 url.obj: url.c wget.h sysdep.h options.h utils.h url.h host.h
66 utils.obj: utils.c wget.h sysdep.h options.h utils.h fnmatch.h hash.h
67 version.obj: version.c
68
69 .c.obj:
70         $(CC) $(CFLAGS) $[@