2006-11-26 11:13:41 -07:00
|
|
|
noinst_LIBRARIES = libinit.a
|
|
|
|
noinst_LTLIBRARIES = libcommon.la
|
|
|
|
|
|
|
|
if XORG_BUS_SPARC
|
|
|
|
SBUS_SOURCES = xf86sbusBus.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
if DEBUG
|
|
|
|
DEBUGSOURCES = xf86Debug.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
if XV
|
|
|
|
XVSOURCES = xf86xv.c xf86xvmc.c
|
|
|
|
XVSDKINCS = xf86xv.h xf86xvmc.h
|
|
|
|
endif
|
|
|
|
|
|
|
|
XKBSOURCES = xf86XKB.c
|
|
|
|
XISOURCES = xf86Xinput.c xisb.c
|
|
|
|
XISDKINCS = xf86Xinput.h xisb.h
|
|
|
|
RANDRSOURCES = xf86RandR.c
|
|
|
|
|
|
|
|
BUSSOURCES = xf86isaBus.c xf86pciBus.c xf86fbBus.c xf86noBus.c $(SBUS_SOURCES)
|
|
|
|
|
|
|
|
MODEDEFSOURCES = $(srcdir)/vesamodes $(srcdir)/extramodes
|
|
|
|
|
2008-11-02 08:26:08 -07:00
|
|
|
xf86DefModeSet.c: $(srcdir)/modeline2c.awk $(MODEDEFSOURCES)
|
2009-01-12 13:17:47 -07:00
|
|
|
cat $(MODEDEFSOURCES) | LC_ALL=C $(AWK) -f $(srcdir)/modeline2c.awk > $@
|
|
|
|
echo >> $@
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
BUILT_SOURCES = xf86DefModeSet.c
|
|
|
|
|
|
|
|
AM_LDFLAGS = -r
|
|
|
|
libcommon_la_SOURCES = xf86Configure.c xf86Bus.c xf86Config.c \
|
2008-11-02 08:26:08 -07:00
|
|
|
xf86Cursor.c xf86DGA.c xf86DPMS.c \
|
|
|
|
xf86DoProbe.c xf86Events.c \
|
2007-11-24 10:55:21 -07:00
|
|
|
xf86Globals.c xf86AutoConfig.c \
|
2006-11-26 11:13:41 -07:00
|
|
|
xf86MiscExt.c xf86Option.c \
|
|
|
|
xf86VidMode.c xf86fbman.c xf86cmap.c \
|
|
|
|
xf86Helper.c xf86PM.c \
|
|
|
|
xf86Mode.c xf86Build.h xorgHelper.c xf86Versions.c \
|
|
|
|
$(XVSOURCES) $(BUSSOURCES) $(XKBSOURCES) \
|
2007-11-24 10:55:21 -07:00
|
|
|
$(DEBUGSOURCES) $(XISOURCES) $(RANDRSOURCES)
|
2006-11-26 11:13:41 -07:00
|
|
|
nodist_libcommon_la_SOURCES = xf86DefModeSet.c
|
|
|
|
libinit_a_SOURCES = xf86Build.h xf86Init.c
|
|
|
|
|
|
|
|
INCLUDES = $(XORG_INCS) -I$(srcdir)/../ddc -I$(srcdir)/../i2c \
|
|
|
|
-I$(srcdir)/../loader -I$(srcdir)/../rac -I$(srcdir)/../parser \
|
2008-11-02 08:26:08 -07:00
|
|
|
-I$(srcdir)/../vbe -I$(srcdir)/../int10 \
|
2006-11-26 11:13:41 -07:00
|
|
|
-I$(srcdir)/../vgahw -I$(srcdir)/../dixmods/extmod
|
|
|
|
|
|
|
|
sdk_HEADERS = compiler.h fourcc.h xf86.h xf86Module.h xf86Opt.h \
|
|
|
|
xf86PciInfo.h xf86Priv.h xf86Privstr.h xf86Resources.h \
|
|
|
|
xf86cmap.h xf86fbman.h xf86str.h $(XISDKINCS) \
|
|
|
|
$(XVSDKINCS) atKeynames.h xf86Version.h xorgVersion.h \
|
|
|
|
xf86sbusBus.h xf86xv.h xf86xvmc.h xf86xvpriv.h
|
|
|
|
|
|
|
|
DISTCLEANFILES = xf86Build.h
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
atKeynames.h \
|
|
|
|
compiler.h \
|
|
|
|
fourcc.h \
|
|
|
|
scoasm.h \
|
|
|
|
xf86.h \
|
|
|
|
xf86Build.h \
|
|
|
|
xf86Bus.h \
|
|
|
|
xf86Config.h \
|
|
|
|
xf86InPriv.h \
|
|
|
|
xf86Module.h \
|
|
|
|
xf86Opt.h \
|
|
|
|
xf86PciInfo.h \
|
|
|
|
xf86Priv.h \
|
|
|
|
xf86Privstr.h \
|
|
|
|
xf86Resources.h \
|
|
|
|
xf86Xinput.h \
|
|
|
|
xf86cmap.h \
|
|
|
|
xf86fbman.h \
|
|
|
|
xf86pciBus.h \
|
|
|
|
xf86str.h \
|
|
|
|
xf86xv.h \
|
|
|
|
xf86xvmc.h \
|
|
|
|
xf86xvpriv.h \
|
|
|
|
xisb.h \
|
|
|
|
xf86Build.h.in \
|
|
|
|
xf86Version.h \
|
|
|
|
xorgVersion.h \
|
|
|
|
xf86Date.h \
|
|
|
|
$(MODEDEFSOURCES) \
|
2008-11-02 08:26:08 -07:00
|
|
|
modeline2c.awk \
|
2006-11-26 11:13:41 -07:00
|
|
|
$(DISTKBDSOURCES)
|
|
|
|
|
|
|
|
if LNXACPI
|
|
|
|
XORG_CFLAGS += -DHAVE_ACPI
|
|
|
|
endif
|
|
|
|
|
2007-11-24 10:55:21 -07:00
|
|
|
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
|