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

bin_PROGRAMS = Xmga

noinst_LIBRARIES = libmga.a

libmga_a_SOURCES = 		\
	mgadraw.c		\
	g400_composite.c	\
	g400_common.h		\
	mga.c			\
	mga.h	

Xmga_SOURCES = \
	mgastub.c

MGA_LIBS =						\
	libmga.a 					\
	$(top_builddir)/hw/kdrive/vesa/libvesa.a	\
	@KDRIVE_LIBS@

Xmga_LDADD = \
	$(MGA_LIBS)					\
	@KDRIVE_LIBS@                                  \
	@XSERVER_LIBS@

Xmga_DEPENDENCIES =	\
	libmga.a 					\
	@KDRIVE_LOCAL_LIBS@

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