Rev 4362 | Rev 4866 | 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 | |||
19 | |||
20 | src/autofit/autofit.c \ |
||
21 | src/base/ftbase.c \ |
||
22 | src/base/ftbbox.c \ |
||
23 | src/base/ftbdf.c \ |
||
24 | src/base/ftbitmap.c \ |
||
25 | src/base/ftcid.c \ |
||
26 | src/base/ftdebug.c \ |
||
27 | src/base/ftfstype.c \ |
||
28 | src/base/ftgasp.c \ |
||
29 | src/base/ftglyph.c \ |
||
30 | src/base/ftgxval.c \ |
||
31 | src/base/ftinit.c \ |
||
32 | src/base/ftlcdfil.c \ |
||
33 | src/base/ftmm.c \ |
||
34 | src/base/ftotval.c \ |
||
35 | src/base/ftpatent.c \ |
||
36 | src/base/ftpfr.c \ |
||
37 | src/base/ftstroke.c \ |
||
38 | src/base/ftsynth.c \ |
||
39 | src/base/ftsystem.c \ |
||
40 | src/base/fttype1.c \ |
||
41 | src/bdf/bdf.c \ |
||
42 | src/bzip2/ftbzip2.c \ |
||
43 | src/cache/ftcache.c \ |
||
44 | src/cff/cff.c \ |
||
45 | src/cid/type1cid.c \ |
||
46 | src/gzip/ftgzip.c \ |
||
47 | src/lzw/ftlzw.c \ |
||
48 | src/otvalid/otvalid.c \ |
||
49 | src/pcf/pcf.c \ |
||
50 | src/pfr/pfr.c \ |
||
51 | src/psaux/psaux.c \ |
||
52 | src/pshinter/pshinter.c \ |
||
53 | src/psnames/psnames.c \ |
||
54 | src/raster/raster.c \ |
||
55 | src/sfnt/sfnt.c \ |
||
56 | src/smooth/smooth.c \ |
||
57 | src/truetype/truetype.c \ |
||
58 | src/type1/type1.c \ |
||
59 | src/type42/type42.c \ |
||
60 | src/winfonts/winfnt.c |
||
61 | |||
62 | |||
63 | |||
64 | |||
4367 | Serge | 65 | CFLAGS+=-march=pentium-mmx |
66 | endif |
||
67 | |||
68 | |||
4349 | Serge | 69 | |
70 | |||
71 | |||
72 | |||
4367 | Serge | 73 | |
4349 | Serge | 74 | |
75 | ar cvrs lib$(LIBRARY).a $(OBJECTS) |
||
76 | mv -f lib$(LIBRARY).a ../../lib |
||
4362 | Serge | 77 | |
4349 | Serge | 78 | |
79 | $(LD) $(LDFLAGS) $(LIBPATH) -o $@ lib$(LIBRARY).def $(OBJECTS) $(LIBS) |
||
80 | $(STRIP) $@ |
||
81 | sed -f ../newlib/cmd1.sed lib$(LIBRARY).def > mem |
||
82 | sed -f ../newlib/cmd2.sed mem >$(LIBRARY).inc |
||
83 | mv -f $@ ../../bin |
||
84 | mv -f lib$(LIBRARY).dll.a ../../lib |
||
85 | |||
86 | |||
87 | |||
88 | $(CC) $(INCLUDES) $(CFLAGS) $(DEFINES) -o $@ $< |
||
89 | |||
90 | |||
91 | |||
92 | |||
93 | -rm -f *.o |
||
94 | |||
95 |