blob: 6451165a8622f8034685cf1a8c07515e3da00964 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
PKG_CFLAGS = -I.. -DLIBART_COMPILATION -DDLL_EXPORT
OBJECTS = \
art_affine.obj \
art_alphagamma.obj \
art_bpath.obj \
art_gray_svp.obj \
art_misc.obj \
art_pixbuf.obj \
art_rect.obj \
art_rect_svp.obj \
art_rect_uta.obj \
art_render.obj \
art_render_gradient.obj \
art_render_mask.obj \
art_render_svp.obj \
art_rgb.obj \
art_rgba.obj \
art_rgb_a_affine.obj \
art_rgb_affine.obj \
art_rgb_affine_private.obj \
art_rgb_bitmap_affine.obj \
art_rgb_pixbuf_affine.obj \
art_rgb_rgba_affine.obj \
art_rgb_svp.obj \
art_svp.obj \
art_svp_intersect.obj \
art_svp_ops.obj \
art_svp_point.obj \
art_svp_render_aa.obj \
art_svp_vpath.obj \
art_svp_vpath_stroke.obj \
art_svp_wind.obj \
art_uta.obj \
art_uta_ops.obj \
art_uta_rect.obj \
art_uta_svp.obj \
art_uta_vpath.obj \
art_vpath.obj \
art_vpath_bpath.obj \
art_vpath_dash.obj \
art_vpath_svp.obj \
libart-features.obj
testOBJECTS = \
testart.obj \
testuta.obj \
## common stuff
## compiler and linker switches
!IFNDEF DEBUG
# Full optimization:
OPTIMIZE = -Ox -MD
LINKDEBUG =
!ELSE
# Debugging:
OPTIMIZE = -Zi -MDd
LINKDEBUG = /debug
!ENDIF
# cl -? describes the options
CC = cl -G5 -GF $(OPTIMIZE) -W3 -nologo
# No general LDFLAGS needed
LDFLAGS = /link $(LINKDEBUG)
INSTALL = copy
CFLAGS = -I. -DHAVE_CONFIG_H
## targets
all : \
config.h \
art_config.h \
libart_lgpl_2-2.dll
libart_lgpl_2-2.dll : $(OBJECTS) libart.def
$(CC) $(CFLAGS) -LD -Felibart_lgpl_2-2.dll $(OBJECTS) user32.lib advapi32.lib wsock32.lib $(LDFLAGS) /def:libart.def /implib:art_lgpl_2.lib
config.h: config.h.win32
copy config.h.win32 config.h
art_config.h : gen_art_config.exe
gen_art_config.exe > art_config.h
gen_art_config.exe : gen_art_config.obj
$(CC) $(CFLAGS) -Fegen_art_config.exe gen_art_config.obj user32.lib
.c.obj :
$(CC) $(CFLAGS) -GD -c $(PKG_CFLAGS) $<
clean:
del config.h
del *.exe
del *.obj
del *.dll
del *.lib
del *.err
del *.map
del *.sym
del *.exp
del *.lk1
del *.mk1
del *.pdb
del *.ilk
|