summaryrefslogtreecommitdiff
path: root/hw/xfree86/ramdac/Makefile.am
blob: 9833431dec25d982d368e341d74e46fee94409d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module_LTLIBRARIES = libramdac.la
libramdac_la_SOURCES = xf86RamDacMod.c xf86RamDac.c xf86RamDacCmap.c \
                      xf86Cursor.c xf86HWCurs.c IBM.c BT.c TI.c \
		      xf86BitOrder.c

sdk_HEADERS = BT.h IBM.h TI.h xf86Cursor.h xf86RamDac.h

DISTCLEANFILES = xf86BitOrder.c
EXTRA_DIST = BTPriv.h IBMPriv.h TIPriv.h xf86CursorPriv.h xf86RamDacPriv.h

AM_CFLAGS = -DXAAReverseBitOrder=xf86ReverseBitOrder -DRAMDAC_MODULE \
            $(XORG_CFLAGS)
INCLUDES = $(XORG_INCS)

xf86BitOrder.c:
	echo "#define XAAReverseBitOrder xf86ReverseBitOrder" > $@
	echo "#include \"$(srcdir)/../xaa/xaaBitOrder.c\"" >> $@