summaryrefslogtreecommitdiff
path: root/hw/kdrive/sis300/Makefile.am
blob: 6a6e0bf8080ae498c7babc1e1b21b3fd29edf1ca (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
if KDRIVEFBDEV
FBDEV_INCLUDES =-I$(top_srcdir)/hw/kdrive/fbdev
FBDEV_LIBS = $(top_builddir)/hw/kdrive/fbdev/libfbdev.a
endif

if KDRIVEVESA
VESA_INCLUDES = -I$(top_srcdir)/hw/kdrive/vesa
VESA_LIBS = $(top_builddir)/hw/kdrive/vesa/libvesa.a
endif

INCLUDES = 					\
	@KDRIVE_INCS@				\
	$(DRI_INCLUDES)				\
	$(FBDEV_INCLUDES)			\
	$(VESA_INCLUDES)			\
	@KDRIVE_CFLAGS@

bin_PROGRAMS = Xsis

if TSLIB
TSLIB_FLAG = -lts
endif

noinst_LIBRARIES = libsis.a

libsis_a_SOURCES = 	\
	sis.c		\
	sis.h		\
	sis_draw.c	\
	sis_reg.h

Xsis_SOURCES = \
	sis_stub.c

SIS_LIBS =				\
	libsis.a 			\
	$(FBDEV_LIBS)			\
	$(VESA_LIBS)			\
	@KDRIVE_LIBS@

Xsis_LDADD = \
	$(SIS_LIBS)				\
	@KDRIVE_LIBS@                          \
	$(TSLIB_FLAG)

Xsis_DEPENDENCIES = $(SIS_LIBS)