summaryrefslogtreecommitdiff
path: root/hw/kdrive/smi/Makefile.am
blob: d7e4d66ae64f9ac59b2a19affa5ecb482b7b0630 (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
INCLUDES = 					\
	-I$(top_srcdir)/hw/kdrive/fbdev		\
	-I$(top_srcdir)/hw/kdrive/vesa		\
	@KDRIVE_INCS@				\
	@XSERVER_CFLAGS@

bin_PROGRAMS = Xsmi

if TSLIB
TSLIB_FLAG = -lts
endif

noinst_LIBRARIES = libsmi.a

#	smivideo.c	# not ready yet

libsmi_a_SOURCES = 	\
	smi.c		\
	smi.h		\
	smidraw.c	\
	smidraw.h

Xsmi_SOURCES = \
	smistub.c

SMI_LIBS =					\
	libsmi.a 				\
	$(top_builddir)/hw/kdrive/fbdev/libfbdev.a \
	$(top_builddir)/hw/kdrive/vesa/libvesa.a \
	@KDRIVE_LIBS@

Xsmi_LDADD = \
	$(SMI_LIBS)				\
	@XSERVER_LIBS@                          \
	$(TSLIB_FLAG)

Xsmi_DEPENDENCIES = $(SMI_LIBS) @KDRIVE_LIBS@