Rev 4349 | Rev 4367 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4349 | Serge | 1 | |
2 | |||
3 | |||
4 | CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -Wall -Winline -fomit-frame-pointer |
||
5 | |||
6 | |||
7 | LDFLAGS = -shared -s -nostdlib -T ../newlib/dll.lds --entry _DllStartup --image-base=0 --out-implib lib$(LIBRARY).dll.a |
||
8 | |||
9 | |||
10 | |||
11 | |||
12 | |||
13 | |||
14 | |||
15 | |||
16 | |||
17 | |||
18 | DEFINES = -DHAVE_CONFIG_H |
||
19 | |||
20 | |||
21 | |||
22 | pixman.c \ |
||
23 | pixman-access.c \ |
||
24 | pixman-access-accessors.c \ |
||
25 | pixman-bits-image.c \ |
||
26 | pixman-combine32.c \ |
||
27 | pixman-combine-float.c \ |
||
28 | pixman-conical-gradient.c \ |
||
29 | pixman-edge.c \ |
||
30 | pixman-edge-accessors.c \ |
||
31 | pixman-fast-path.c \ |
||
32 | pixman-filter.c \ |
||
33 | pixman-general.c \ |
||
34 | pixman-glyph.c \ |
||
35 | pixman-gradient-walker.c \ |
||
36 | pixman-image.c \ |
||
37 | pixman-implementation.c \ |
||
38 | pixman-linear-gradient.c \ |
||
39 | pixman-matrix.c \ |
||
40 | pixman-noop.c \ |
||
41 | pixman-radial-gradient.c \ |
||
42 | pixman-region16.c \ |
||
43 | pixman-region32.c \ |
||
44 | pixman-solid-fill.c \ |
||
45 | pixman-timer.c \ |
||
46 | pixman-trap.c \ |
||
47 | pixman-utils.c \ |
||
48 | pixman-x86.c \ |
||
49 | pixman-mmx.c \ |
||
50 | pixman-sse2.c \ |
||
51 | $(NULL) |
||
52 | |||
53 | |||
54 | |||
55 | |||
56 | |||
57 | |||
58 | |||
59 | |||
60 | |||
61 | ar cvrs $(LIBRARY).a $(OBJECTS) |
||
62 | mv -f $(LIBRARY).a ../../lib |
||
4362 | Serge | 63 | |
4349 | Serge | 64 | |
65 | $(LD) $(LDFLAGS) $(LIBPATH) -o $@ $(LIBRARY).def $(OBJECTS) $(LIBS) |
||
66 | $(STRIP) $@ |
||
67 | sed -f ../newlib/cmd1.sed $(LIBRARY).def > mem |
||
68 | sed -f ../newlib/cmd2.sed mem >$(LIBRARY).inc |
||
69 | mv -f $@ ../../bin |
||
70 | mv -f lib$(LIBRARY).dll.a ../../lib |
||
71 | |||
72 | |||
73 | |||
74 | $(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o $@ $< |
||
75 | |||
76 | |||
77 | $(CC) $(CFLAGS) -mmmx $(DEFINES) $(INCLUDES) -o $@ $< |
||
78 | |||
79 | |||
80 | $(CC) $(CFLAGS) -msse2 $(DEFINES) $(INCLUDES) -o $@ $< |
||
81 | |||
82 | |||
83 | |||
84 | -rm -f *.o |
||
85 | |||
86 |