47 lines
1.0 KiB
Makefile
47 lines
1.0 KiB
Makefile
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@ \
|
|
$(FBDEV_INCLUDES) \
|
|
$(VESA_INCLUDES) \
|
|
@KDRIVE_CFLAGS@
|
|
|
|
bin_PROGRAMS = Xneomagic
|
|
|
|
noinst_LIBRARIES = libneomagic.a
|
|
|
|
libneomagic_a_SOURCES = \
|
|
backend.h \
|
|
backend.c \
|
|
neomagic.c \
|
|
neomagic.h \
|
|
neo_draw.c
|
|
|
|
Xneomagic_SOURCES = \
|
|
neomagicstub.c
|
|
|
|
NEOMAGIC_LIBS = \
|
|
libneomagic.a \
|
|
${FBDEV_LIBS} \
|
|
${VESA_LIBS} \
|
|
@KDRIVE_LIBS@
|
|
|
|
Xneomagic_LDADD = \
|
|
$(NEOMAGIC_LIBS) \
|
|
@KDRIVE_LIBS@ \
|
|
@XSERVER_LIBS@
|
|
|
|
|
|
Xneomagic_DEPENDENCIES = \
|
|
libneomagic.a \
|
|
${FBDEV_LIBS} \
|
|
${VESA_LIBS}
|