Subversion Repositories Kolibri OS

Rev

Rev 1907 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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