summaryrefslogtreecommitdiff
path: root/hw/kdrive/mach64/Makefile.am
blob: 537939083136862040bd7a047bede6c02e693140 (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
INCLUDES = 					\
        @KDRIVE_INCS@				\
	-I$(top_srcdir)/hw/kdrive/vesa		\
	@KDRIVE_CFLAGS@

bin_PROGRAMS = Xmach64

if TSLIB
TSLIB_FLAG = -lts
endif


noinst_LIBRARIES = libmach64.a

libmach64_a_SOURCES = 	\
	mach64.c	\
	mach64draw.c	\
	mach64video.c	\
	mach64.h	\
	mach64draw.h

Xmach64_SOURCES = \
	mach64stub.c

MACH64_LIBS =						\
	libmach64.a 					\
	$(top_builddir)/hw/kdrive/vesa/libvesa.a        


Xmach64_LDADD = 					\
	$(MACH64_LIBS)					\
	@KDRIVE_LIBS@					\
	@XSERVER_LIBS@

Xmach64_DEPENDENCIES =	\
	libmach64.a 					\
	@KDRIVE_LOCAL_LIBS@

relink:
	rm -f $(bin_PROGRAMS) && make $(bin_PROGRAMS)