]> git.saurik.com Git - wxWidgets.git/blame - src/png/scripts/makefile.watcom
Add start of selection api, support for HasSelection, SelectAll and DeleteSelection...
[wxWidgets.git] / src / png / scripts / makefile.watcom
CommitLineData
0272a10d
VZ
1# Makefile for libpng
2# Watcom C/C++ 10.0 and later, 32-bit protected mode, flat memory model
3
4# Copyright (C) 2000, Pawel Mrochen, based on makefile.msc which is
5# copyright 1995 Guy Eric Schalnat, Group 42, Inc.
b61cc19c
PC
6#
7# This code is released under the libpng license.
8# For conditions of distribution and use, see the disclaimer
9# and license in png.h
0272a10d
VZ
10
11# To use, do "wmake /f scripts\makefile.watcom"
12
13
14# ---------------------- Watcom C/C++ 10.0 and later -----------------------
15
16# Where the zlib library and include files are located
17ZLIBLIB=..\zlib
18ZLIBINC=..\zlib
19
20# Target OS
21OS=DOS
22#OS=NT
23
24# Target CPU
25CPU=6 # Pentium Pro
26#CPU=5 # Pentium
27
28# Calling convention
29CALLING=r # registers
30#CALLING=s # stack
31
32# Uncomment next to put error messages in a file
33#ERRFILE=>>pngerrs
34
35# --------------------------------------------------------------------------
36
37
38CC=wcc386
39CFLAGS=-$(CPU)$(CALLING) -fp$(CPU) -fpi87 -oneatx -mf -bt=$(OS) -i=$(ZLIBINC) -zq
40LD=wcl386
41LDFLAGS=-zq
42
43O=.obj
44
45OBJS1=png$(O) pngset$(O) pngget$(O) pngrutil$(O) pngtrans$(O) pngwutil$(O)
46OBJS2=pngmem$(O) pngpread$(O) pngread$(O) pngerror$(O) pngwrite$(O)
47OBJS3=pngrtran$(O) pngwtran$(O) pngrio$(O) pngwio$(O)
48
49
50all: test
51
b61cc19c 52png$(O): png.h pngconf.h pngpriv.h
0272a10d
VZ
53 $(CC) $(CFLAGS) $*.c $(ERRFILE)
54
b61cc19c 55pngset$(O): png.h pngconf.h pngpriv.h
0272a10d
VZ
56 $(CC) $(CFLAGS) $*.c $(ERRFILE)
57
b61cc19c 58pngget$(O): png.h pngconf.h pngpriv.h
0272a10d
VZ
59 $(CC) $(CFLAGS) $*.c $(ERRFILE)
60
b61cc19c 61pngread$(O): png.h pngconf.h pngpriv.h
0272a10d
VZ
62 $(CC) $(CFLAGS) $*.c $(ERRFILE)
63
b61cc19c 64pngpread$(O): png.h pngconf.h pngpriv.h
0272a10d
VZ
65 $(CC) $(CFLAGS) $*.c $(ERRFILE)
66
b61cc19c 67pngrtran$(O): png.h pngconf.h pngpriv.h
0272a10d
VZ
68 $(CC) $(CFLAGS) $*.c $(ERRFILE)
69
b61cc19c 70pngrutil$(O): png.h pngconf.h pngpriv.h
0272a10d
VZ
71 $(CC) $(CFLAGS) $*.c $(ERRFILE)
72
b61cc19c 73pngerror$(O): png.h pngconf.h pngpriv.h
0272a10d
VZ
74 $(CC) $(CFLAGS) $*.c $(ERRFILE)
75
b61cc19c 76pngmem$(O): png.h pngconf.h pngpriv.h
0272a10d
VZ
77 $(CC) $(CFLAGS) $*.c $(ERRFILE)
78
b61cc19c 79pngrio$(O): png.h pngconf.h pngpriv.h
0272a10d
VZ
80 $(CC) $(CFLAGS) $*.c $(ERRFILE)
81
b61cc19c 82pngwio$(O): png.h pngconf.h pngpriv.h
0272a10d
VZ
83 $(CC) $(CFLAGS) $*.c $(ERRFILE)
84
85pngtest$(O): png.h pngconf.h
86 $(CC) $(CFLAGS) $*.c $(ERRFILE)
87
b61cc19c 88pngtrans$(O): png.h pngconf.h pngpriv.h
0272a10d
VZ
89 $(CC) $(CFLAGS) $*.c $(ERRFILE)
90
b61cc19c 91pngwrite$(O): png.h pngconf.h pngpriv.h
0272a10d
VZ
92 $(CC) $(CFLAGS) $*.c $(ERRFILE)
93
b61cc19c 94pngwtran$(O): png.h pngconf.h pngpriv.h
0272a10d
VZ
95 $(CC) $(CFLAGS) $*.c $(ERRFILE)
96
b61cc19c 97pngwutil$(O): png.h pngconf.h pngpriv.h
0272a10d
VZ
98 $(CC) $(CFLAGS) $*.c $(ERRFILE)
99
100libpng.lib: $(OBJS1) $(OBJS2) $(OBJS3)
101 wlib -b -c -n -q libpng.lib $(OBJS1)
102 wlib -b -c -q libpng.lib $(OBJS2)
103 wlib -b -c -q libpng.lib $(OBJS3)
104
105pngtest.exe: pngtest.obj libpng.lib
106 $(LD) $(LDFLAGS) pngtest.obj libpng.lib $(ZLIBLIB)\zlib.lib
107
108test: pngtest.exe .symbolic
109 pngtest.exe
110
111
112# End of makefile for libpng