2003-12-29 07:24:01 +01:00
|
|
|
if DRI
|
|
|
|
DRI_INCLUDES = -I$(top_srcdir)/dri \
|
|
|
|
-I$(top_srcdir)/drm
|
|
|
|
DRI_LIBS = $(top_builddir)/dri/libdri.a \
|
|
|
|
$(top_builddir)/drm/libdrm.a
|
|
|
|
DRI_SOURCES = ati_dri.c \
|
|
|
|
ati_dri.h \
|
|
|
|
ati_dripriv.h \
|
|
|
|
r128_common.h \
|
|
|
|
r128_sarea.h \
|
|
|
|
radeon_common.h \
|
|
|
|
radeon_sarea.h
|
|
|
|
endif
|
|
|
|
|
2003-12-01 05:33:36 +01:00
|
|
|
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
|
|
|
|
|
2003-11-19 09:32:38 +01:00
|
|
|
INCLUDES = \
|
|
|
|
@KDRIVE_INCS@ \
|
2003-12-29 07:24:01 +01:00
|
|
|
$(DRI_INCLUDES) \
|
2003-12-01 05:33:36 +01:00
|
|
|
$(FBDEV_INCLUDES) \
|
|
|
|
$(VESA_INCLUDES) \
|
2003-11-19 09:32:38 +01:00
|
|
|
@XSERVER_CFLAGS@
|
|
|
|
|
|
|
|
bin_PROGRAMS = Xati
|
|
|
|
|
|
|
|
if TSLIB
|
|
|
|
TSLIB_FLAG = -lts
|
|
|
|
endif
|
|
|
|
|
|
|
|
noinst_LIBRARIES = libati.a
|
|
|
|
|
|
|
|
libati_a_SOURCES = \
|
2004-05-17 22:18:02 +02:00
|
|
|
ati_cursor.c \
|
|
|
|
ati_dma.c \
|
|
|
|
ati_dma.h \
|
2003-11-19 09:32:38 +01:00
|
|
|
ati_draw.c \
|
2003-12-29 07:24:01 +01:00
|
|
|
ati_draw.h \
|
2004-05-17 22:18:02 +02:00
|
|
|
ati_microcode.c \
|
2003-11-19 09:32:38 +01:00
|
|
|
ati.c \
|
|
|
|
ati.h \
|
2003-12-29 07:24:01 +01:00
|
|
|
ati_reg.h \
|
2004-05-17 22:18:02 +02:00
|
|
|
r128_composite.c \
|
|
|
|
ati_video.c \
|
|
|
|
radeon_composite.c \
|
2003-12-29 07:24:01 +01:00
|
|
|
$(DRI_SOURCES)
|
2003-11-19 09:32:38 +01:00
|
|
|
|
|
|
|
Xati_SOURCES = \
|
|
|
|
ati_stub.c
|
|
|
|
|
2003-12-29 10:04:20 +01:00
|
|
|
ATI_LIBS = \
|
|
|
|
libati.a \
|
|
|
|
$(FBDEV_LIBS) \
|
|
|
|
$(VESA_LIBS) \
|
|
|
|
$(DRI_LIBS) \
|
|
|
|
@KDRIVE_LIBS@
|
|
|
|
|
2003-11-19 09:32:38 +01:00
|
|
|
Xati_LDADD = \
|
2003-12-29 10:04:20 +01:00
|
|
|
$(ATI_LIBS) \
|
|
|
|
@XSERVER_LIBS@ \
|
2003-11-19 09:32:38 +01:00
|
|
|
$(TSLIB_FLAG)
|
|
|
|
|
2003-12-29 10:04:20 +01:00
|
|
|
|
|
|
|
Xati_DEPENDENCIES = $(ATI_LIBS) @KDRIVE_LIBS@
|