summaryrefslogtreecommitdiff
path: root/fb/Makefile.am
blob: 01e81da41851d66a688959f5b1e01493bb4ceb4f (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
noinst_LTLIBRARIES = libfb.la libwfb.la libfbmmx.la

INCLUDES = \
	-I$(top_srcdir)/hw/xfree86/os-support \
	-I$(top_srcdir)/hw/xfree86/os-support/bus \
	-I$(top_srcdir)/hw/xfree86/common
AM_CFLAGS = $(DIX_CFLAGS)

if XORG
sdk_HEADERS = fb.h fbrop.h fbpseudocolor.h fboverlay.h wfbrename.h
endif

libfb_la_CFLAGS = $(AM_CFLAGS)

if MMX_CAPABLE
libfb_la_CFLAGS += -DUSE_MMX

libfbmmx_la_CFLAGS =				\
	$(DIX_CFLAGS)				\
	-DUSE_MMX				\
	-mmmx					\
	-msse					\
	-Winline				\
	--param inline-unit-growth=10000	\
        --param large-function-growth=10000
endif

libwfb_la_CFLAGS = $(AM_CFLAGS) -DFB_ACCESS_WRAPPER

libfbmmx_la_SOURCES =	\
	fbmmx.c		\
	fbmmx.h

libfb_la_SOURCES = 	\
	fb.h		\
	fb24_32.c	\
	fb24_32.h	\
	fballpriv.c	\
	fbarc.c		\
	fbbits.c	\
	fbbits.h	\
	fbblt.c		\
	fbbltone.c	\
	fbbstore.c	\
	fbcopy.c	\
	fbfill.c	\
	fbfillrect.c	\
	fbfillsp.c	\
	fbgc.c		\
	fbgetsp.c	\
	fbglyph.c	\
	fbimage.c	\
	fbline.c	\
	fboverlay.c	\
	fboverlay.h	\
	fbpict.c	\
	fbpict.h	\
	fbpixmap.c	\
	fbpoint.c	\
	fbpush.c	\
	fbrop.h		\
	fbscreen.c	\
	fbseg.c		\
	fbsetsp.c	\
	fbsolid.c	\
	fbstipple.c	\
	fbtile.c	\
	fbtrap.c	\
	fbutil.c	\
	fbwindow.c	\
	fbpseudocolor.c \
	fbpseudocolor.h \
	fbedge.c	\
	fbedgeimp.h

libwfb_la_SOURCES = $(libfb_la_SOURCES)

libfb_la_LIBADD = libfbmmx.la

EXTRA_DIST = fbcmap.c fbcmap_mi.c