mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 04:40:02 +01:00
There's not really a good reason to keep these separate, the vbe code requires int10 and is not very large. This change eliminates the build-time options for vbe; if you build int10, you get vbe. Gitlab: https://gitlab.freedesktop.org/xorg/xserver/issues/692 Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
49 lines
1.1 KiB
Makefile
49 lines
1.1 KiB
Makefile
module_LTLIBRARIES = libint10.la
|
|
|
|
sdk_HEADERS = xf86int10.h vbe.h vbeModes.h
|
|
|
|
EXTRA_CFLAGS =
|
|
|
|
libint10_la_LDFLAGS = -avoid-version
|
|
libint10_la_LIBADD = $(PCIACCESS_LIBS)
|
|
|
|
COMMON_SOURCES = \
|
|
vbe.c \
|
|
vbeModes.c \
|
|
helper_exec.c \
|
|
helper_mem.c \
|
|
xf86int10.c \
|
|
xf86int10module.c
|
|
|
|
if I386_VIDEO
|
|
I386_VIDEO_CFLAGS = -D_PC
|
|
endif
|
|
|
|
AM_CPPFLAGS = $(XORG_INCS) -I$(srcdir)/../ddc -I$(srcdir)/../modes -I$(srcdir)/../i2c \
|
|
-I$(srcdir)/../parser
|
|
|
|
if INT10_VM86
|
|
AM_CFLAGS = $(I386_VIDEO_CFLAGS) -D_VM86_LINUX $(DIX_CFLAGS) $(XORG_CFLAGS) $(EXTRA_CFLAGS)
|
|
libint10_la_SOURCES = \
|
|
$(COMMON_SOURCES) \
|
|
$(srcdir)/../os-support/linux/int10/vm86/linux_vm86.c \
|
|
$(srcdir)/../os-support/linux/int10/linux.c
|
|
endif
|
|
|
|
if INT10_X86EMU
|
|
AM_CFLAGS = $(I386_VIDEO_CFLAGS) -D_X86EMU -DNO_SYS_HEADERS \
|
|
$(XORG_CFLAGS) $(EXTRA_CFLAGS) $(DIX_CFLAGS)
|
|
AM_CPPFLAGS += -I$(srcdir)/../x86emu
|
|
libint10_la_SOURCES = \
|
|
$(COMMON_SOURCES) \
|
|
xf86x86emu.c \
|
|
generic.c \
|
|
x86emu.c
|
|
endif
|
|
|
|
if INT10_STUB
|
|
AM_CFLAGS = $(I386_VIDEO_CFLAGS) -D_VM86_LINUX $(DIX_CFLAGS) $(XORG_CFLAGS) $(EXTRA_CFLAGS)
|
|
libint10_la_SOURCES = stub.c xf86int10module.c
|
|
endif
|
|
|
|
EXTRA_DIST = xf86x86emu.h INT10.HOWTO
|