Subversion Repositories Kolibri OS

Rev

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