Makefile.am 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. module_LTLIBRARIES = libint10.la
  2. sdk_HEADERS = xf86int10.h
  3. EXTRA_CFLAGS =
  4. libint10_la_LDFLAGS = -avoid-version
  5. libint10_la_LIBADD = $(PCIACCESS_LIBS)
  6. COMMON_SOURCES = \
  7. helper_exec.c \
  8. helper_mem.c \
  9. xf86int10.c \
  10. xf86int10module.c
  11. if I386_VIDEO
  12. I386_VIDEO_CFLAGS = -D_PC
  13. endif
  14. AM_CPPFLAGS = $(XORG_INCS)
  15. if INT10_VM86
  16. AM_CFLAGS = $(I386_VIDEO_CFLAGS) -D_VM86_LINUX $(DIX_CFLAGS) $(XORG_CFLAGS) $(EXTRA_CFLAGS)
  17. libint10_la_SOURCES = \
  18. $(COMMON_SOURCES) \
  19. $(srcdir)/../os-support/linux/int10/vm86/linux_vm86.c \
  20. $(srcdir)/../os-support/linux/int10/linux.c
  21. endif
  22. if INT10_X86EMU
  23. AM_CFLAGS = $(I386_VIDEO_CFLAGS) -D_X86EMU -DNO_SYS_HEADERS \
  24. $(XORG_CFLAGS) $(EXTRA_CFLAGS) $(DIX_CFLAGS)
  25. AM_CPPFLAGS += -I$(srcdir)/../x86emu
  26. libint10_la_SOURCES = \
  27. $(COMMON_SOURCES) \
  28. xf86x86emu.c \
  29. generic.c \
  30. x86emu.c
  31. endif
  32. if INT10_STUB
  33. AM_CFLAGS = $(I386_VIDEO_CFLAGS) -D_VM86_LINUX $(DIX_CFLAGS) $(XORG_CFLAGS) $(EXTRA_CFLAGS)
  34. libint10_la_SOURCES = stub.c xf86int10module.c
  35. endif
  36. EXTRA_DIST = xf86x86emu.h INT10.HOWTO