Initial commit
[xorg_rtime.git] / xorg-server-1.4 / hw / xfree86 / int10 / Makefile.am
blob28e20d502b7d9071ca00998a3d626171463329ed
1 module_LTLIBRARIES = libint10.la
3 sdk_HEADERS = xf86int10.h
5 EXTRA_CFLAGS =
7 libint10_la_LDFLAGS = -avoid-version
9 COMMON_SOURCES = \
10         helper_exec.c \
11         helper_mem.c \
12         pci.c \
13         xf86int10.c \
14         xf86int10module.c
16 if I386_VIDEO
17 I386_VIDEO_CFLAGS = -D_PC
18 endif
20 if INT10_VM86
21 AM_CFLAGS = $(I386_VIDEO_CFLAGS) -D_VM86_LINUX $(DIX_CFLAGS) $(XORG_CFLAGS) $(EXTRA_CFLAGS)
22 INCLUDES = $(XORG_INCS)
23 libint10_la_SOURCES = \
24         $(COMMON_SOURCES) \
25         $(srcdir)/../os-support/linux/int10/vm86/linux_vm86.c \
26         $(srcdir)/../os-support/linux/int10/linux.c
27 endif
29 if INT10_X86EMU
30 AM_CFLAGS = $(I386_VIDEO_CFLAGS) -D_X86EMU -DNO_SYS_HEADERS \
31            $(XORG_CFLAGS) $(EXTRA_CFLAGS) $(DIX_CFLAGS)
32 INCLUDES = $(XORG_INCS) -I$(srcdir)/../x86emu
33 libint10_la_SOURCES = \
34         $(COMMON_SOURCES) \
35         xf86x86emu.c \
36         generic.c \
37         x86emu.c
38 endif
40 if INT10_STUB
41 AM_CFLAGS = $(I386_VIDEO_CFLAGS) -D_VM86_LINUX $(DIX_CFLAGS) $(XORG_CFLAGS) $(EXTRA_CFLAGS)
42 libint10_la_SOURCES = stub.c xf86int10module.c
43 endif
45 EXTRA_DIST = xf86x86emu.h INT10.HOWTO