2006-11-26 11:13:41 -07:00
|
|
|
noinst_LTLIBRARIES = libcommon.la
|
|
|
|
|
2012-06-10 07:21:05 -06:00
|
|
|
if XORG_BUS_PCI
|
|
|
|
PCI_SOURCES = xf86pciBus.c xf86VGAarbiter.c xf86VGAarbiter.h \
|
|
|
|
xf86VGAarbiterPriv.h
|
|
|
|
endif
|
|
|
|
|
2006-11-26 11:13:41 -07:00
|
|
|
if XORG_BUS_SPARC
|
|
|
|
SBUS_SOURCES = xf86sbusBus.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
if XV
|
|
|
|
XVSOURCES = xf86xv.c xf86xvmc.c
|
2010-07-27 13:02:24 -06:00
|
|
|
XVSDKINCS = xf86xv.h xf86xvmc.h xf86xvpriv.h
|
|
|
|
endif
|
|
|
|
|
|
|
|
if XF86VIDMODE
|
2013-06-07 11:28:45 -06:00
|
|
|
XF86VMODESOURCES = xf86vmode.c
|
2010-07-27 13:02:24 -06:00
|
|
|
XF86VMODE_SDK = vidmodeproc.h
|
|
|
|
endif
|
|
|
|
|
|
|
|
if DGA
|
|
|
|
DGASOURCES = xf86DGA.c
|
2013-06-07 11:28:45 -06:00
|
|
|
DGA_SDK = dgaproc.h
|
|
|
|
endif
|
|
|
|
|
|
|
|
if XORG_BUS_PLATFORM
|
|
|
|
PLATSOURCES = xf86platformBus.c
|
2006-11-26 11:13:41 -07:00
|
|
|
endif
|
|
|
|
|
|
|
|
RANDRSOURCES = xf86RandR.c
|
|
|
|
|
2013-06-07 11:28:45 -06:00
|
|
|
BUSSOURCES = xf86fbBus.c xf86noBus.c $(PCI_SOURCES) $(SBUS_SOURCES) $(PLATSOURCES)
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
MODEDEFSOURCES = $(srcdir)/vesamodes $(srcdir)/extramodes
|
|
|
|
|
2008-11-02 08:26:08 -07:00
|
|
|
xf86DefModeSet.c: $(srcdir)/modeline2c.awk $(MODEDEFSOURCES)
|
2011-11-05 07:32:40 -06:00
|
|
|
$(AM_V_GEN)cat $(MODEDEFSOURCES) | LC_ALL=C $(AWK) -f $(srcdir)/modeline2c.awk > $@
|
|
|
|
$(AM_V_GEN)echo >> $@
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
BUILT_SOURCES = xf86DefModeSet.c
|
|
|
|
|
|
|
|
AM_LDFLAGS = -r
|
2012-06-10 07:21:05 -06:00
|
|
|
libcommon_la_SOURCES = xf86Configure.c xf86Bus.c xf86Config.c \
|
2010-07-27 13:02:24 -06:00
|
|
|
xf86Cursor.c $(DGASOURCES) xf86DPMS.c \
|
2009-09-06 13:44:18 -06:00
|
|
|
xf86Events.c xf86Globals.c xf86AutoConfig.c \
|
2012-06-10 07:21:05 -06:00
|
|
|
xf86Option.c xf86Init.c \
|
2006-11-26 11:13:41 -07:00
|
|
|
xf86VidMode.c xf86fbman.c xf86cmap.c \
|
2010-07-27 13:02:24 -06:00
|
|
|
xf86Helper.c xf86PM.c xf86Xinput.c xisb.c \
|
2013-06-07 11:28:45 -06:00
|
|
|
xf86Mode.c xorgHelper.c xf86Extensions.h \
|
|
|
|
xf86Extensions.c $(XF86VMODESOURCES) \
|
2009-09-06 13:44:18 -06:00
|
|
|
$(XVSOURCES) $(BUSSOURCES) $(RANDRSOURCES)
|
2010-07-27 13:02:24 -06:00
|
|
|
nodist_libcommon_la_SOURCES = xf86DefModeSet.c xf86Build.h
|
2010-12-05 08:36:02 -07:00
|
|
|
libcommon_la_LIBADD = $(top_builddir)/config/libconfig.la
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
INCLUDES = $(XORG_INCS) -I$(srcdir)/../ddc -I$(srcdir)/../i2c \
|
2010-07-27 13:02:24 -06:00
|
|
|
-I$(srcdir)/../loader -I$(srcdir)/../parser \
|
2008-11-02 08:26:08 -07:00
|
|
|
-I$(srcdir)/../vbe -I$(srcdir)/../int10 \
|
2009-09-06 13:44:18 -06:00
|
|
|
-I$(srcdir)/../vgahw -I$(srcdir)/../dixmods/extmod \
|
2013-06-07 11:28:45 -06:00
|
|
|
-I$(srcdir)/../modes -I$(srcdir)/../ramdac -I$(srcdir)/../dri2
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
sdk_HEADERS = compiler.h fourcc.h xf86.h xf86Module.h xf86Opt.h \
|
2010-07-27 13:02:24 -06:00
|
|
|
xf86PciInfo.h xf86Priv.h xf86Privstr.h \
|
|
|
|
xf86cmap.h xf86fbman.h xf86str.h xf86Xinput.h xisb.h \
|
2013-06-07 11:28:45 -06:00
|
|
|
$(XVSDKINCS) $(XF86VMODE_SDK) $(DGA_SDK) xorgVersion.h \
|
|
|
|
xf86sbusBus.h xf86VGAarbiter.h xf86Optionstr.h xf86platformBus.h \
|
|
|
|
xaarop.h
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
DISTCLEANFILES = xf86Build.h
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
compiler.h \
|
|
|
|
fourcc.h \
|
2010-07-27 13:02:24 -06:00
|
|
|
vidmodeproc.h \
|
2006-11-26 11:13:41 -07:00
|
|
|
xf86.h \
|
|
|
|
xf86Bus.h \
|
|
|
|
xf86Config.h \
|
|
|
|
xf86InPriv.h \
|
|
|
|
xf86Module.h \
|
|
|
|
xf86Opt.h \
|
|
|
|
xf86PciInfo.h \
|
|
|
|
xf86Priv.h \
|
|
|
|
xf86Privstr.h \
|
|
|
|
xf86Xinput.h \
|
|
|
|
xf86cmap.h \
|
|
|
|
xf86fbman.h \
|
|
|
|
xf86pciBus.h \
|
|
|
|
xf86str.h \
|
|
|
|
xf86xv.h \
|
|
|
|
xf86xvmc.h \
|
|
|
|
xf86xvpriv.h \
|
|
|
|
xisb.h \
|
|
|
|
xorgVersion.h \
|
|
|
|
$(MODEDEFSOURCES) \
|
2008-11-02 08:26:08 -07:00
|
|
|
modeline2c.awk \
|
2010-07-27 13:02:24 -06:00
|
|
|
xf86VGAarbiter.h \
|
|
|
|
xf86VGAarbiterPriv.h \
|
2013-06-07 11:28:45 -06:00
|
|
|
$(DISTKBDSOURCES) \
|
|
|
|
xaarop.h
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
if LNXACPI
|
|
|
|
XORG_CFLAGS += -DHAVE_ACPI
|
|
|
|
endif
|
|
|
|
|
2007-11-24 10:55:21 -07:00
|
|
|
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
|