aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/afb/Makefile.am
blob: 9fc22ca543ceb80e3d1e81cc3f9544825987ef2a (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
noinst_LTLIBRARIES = libafb.la

AM_CFLAGS = $(DIX_CFLAGS)

libafb_gen_sources = afbbltC.c afbbltX.c afbbltCI.c afbbltO.c afbbltG.c afbtileC.c afbtileG.c afbseg.c

DISTCLEANFILES = $(libafb_gen_sources)

libafb_la_SOURCES = afbgc.c afbwindow.c afbfont.c afbfillrct.c afbpixmap.c \
	 afbimage.c afbline.c afbbres.c afbhrzvert.c afbbresd.c afbpushpxl.c afbply1rct.c \
	 afbzerarc.c afbfillarc.c afbfillsp.c afbsetsp.c afbscrinit.c afbplygblt.c \
	 afbclip.c afbgetsp.c afbpolypnt.c afbbitblt.c afbcmap.c afbimggblt.c afbpntarea.c \
	 afbmisc.c afbtegblt.c $(libafb_gen_sources)

INCLUDES = -I$(top_srcdir)/mfb -I$(top_srcdir)/hw/xfree86/os-support

EXTRA_DIST = afbline.c afbblt.c afbtile.c README Xdaniver.doc

afbseg.c:
	echo "#define POLYSEGMENT" > $@
	echo "#include \"$(srcdir)/afbline.c\"" >> $@

afbbltC.c:
	echo "#define MROP Mcopy" > $@
	echo "#include \"$(srcdir)/afbblt.c\"" >> $@

afbbltX.c:
	echo "#define MROP Mxor" > $@
	echo "#include \"$(srcdir)/afbblt.c\"" >> $@

afbbltCI.c:
	echo "#define MROP McopyInverted" > $@
	echo "#include \"$(srcdir)/afbblt.c\"" >> $@

afbbltO.c:
	echo "#define MROP Mor" > $@
	echo "#include \"$(srcdir)/afbblt.c\"" >> $@

afbbltG.c:
	echo "#define MROP 0" > $@
	echo "#include \"$(srcdir)/afbblt.c\"" >> $@

afbtileC.c:
	echo "#define MROP Mcopy" > $@
	echo "#include \"$(srcdir)/afbtile.c\"" >> $@

afbtileG.c:
	echo "#define MROP 0" > $@
	echo "#include \"$(srcdir)/afbtile.c\"" >> $@

sdk_HEADERS = afb.h