2005-07-14 05:32:09 +02:00
|
|
|
if DRI
|
|
|
|
DRI_SUBDIR = dri
|
|
|
|
endif
|
|
|
|
|
2005-07-12 16:50:10 +02:00
|
|
|
SUBDIRS = common ddc dummylib i2c x86emu int10 fbdevhw os-support parser rac \
|
2005-07-01 22:29:53 +02:00
|
|
|
ramdac shadowfb vbe vgahw xaa xf1bpp xf4bpp xf8_16bpp \
|
2005-08-07 01:56:18 +02:00
|
|
|
xf8_32wid loader scanpci dixmods exa $(DRI_SUBDIR)
|
2005-07-01 22:29:53 +02:00
|
|
|
|
2005-07-29 01:28:34 +02:00
|
|
|
DIST_SUBDIRS = common ddc dummylib i2c x86emu int10 fbdevhw os-support \
|
|
|
|
parser rac ramdac shadowfb vbe vgahw xaa xf1bpp xf4bpp \
|
2005-08-07 01:56:18 +02:00
|
|
|
xf8_16bpp xf8_32wid loader scanpci dixmods dri exa
|
2005-07-29 01:28:34 +02:00
|
|
|
|
2005-07-01 22:29:53 +02:00
|
|
|
bin_PROGRAMS = Xorg
|
|
|
|
|
2005-08-15 20:59:16 +02:00
|
|
|
AM_CFLAGS = @XORG_CFLAGS@
|
|
|
|
INCLUDES = @XORG_INCS@
|
|
|
|
|
2005-08-02 02:41:07 +02:00
|
|
|
Xorg_SOURCES = xorg.c
|
2005-07-01 22:29:53 +02:00
|
|
|
|
2005-08-02 02:41:07 +02:00
|
|
|
DISTCLEANFILES = xorg.c
|
2005-07-01 22:29:53 +02:00
|
|
|
|
2005-08-02 02:41:07 +02:00
|
|
|
xorg.c:
|
2005-07-01 22:29:53 +02:00
|
|
|
touch $@
|
|
|
|
|
2005-08-02 02:41:07 +02:00
|
|
|
xorgos.c:
|
|
|
|
touch $@
|
|
|
|
|
|
|
|
# to get the grouping semantics right, you have to glom these three together
|
|
|
|
# as one library, otherwise libtool will actively defeat your attempts to
|
|
|
|
# list them multiple times on the link line.
|
|
|
|
noinst_LTLIBRARIES = libxorgos.la
|
|
|
|
libxorgos_la_SOURCES = xorgos.c
|
|
|
|
libxorgos_la_LIBADD = os-support/@XORG_OS_SUBDIR@/lib@XORG_OS_SUBDIR@.la \
|
|
|
|
os-support/bus/libbus.la \
|
|
|
|
os-support/misc/libmisc.la
|
|
|
|
|
|
|
|
OS_LIBS = libxorgos.la
|
2005-07-01 22:29:53 +02:00
|
|
|
|
|
|
|
XORG_LIBS = \
|
|
|
|
@XORG_CORE_LIBS@ \
|
|
|
|
common/libinit.a \
|
|
|
|
loader/libloader.a \
|
|
|
|
common/libcommon.a \
|
|
|
|
parser/libparser.a \
|
|
|
|
$(OS_LIBS) \
|
|
|
|
dummylib/libdummy.a \
|
2005-08-15 20:59:16 +02:00
|
|
|
dixmods/libdixmods.la \
|
2005-07-01 22:29:53 +02:00
|
|
|
@XORG_LIBS@
|
|
|
|
|
2005-08-15 20:59:16 +02:00
|
|
|
#
|
|
|
|
# The xkbVT.c xkbKillSrv.c and xkbPrivate.c files used below are really
|
|
|
|
# the same files as ddxVT.c ddxKillSrv.c and ddxPrivate.c from
|
|
|
|
# $(top_srcdir)/xkb. However they are compiled with the flag
|
|
|
|
# XF86DDXACTIONS which means they'll do stuff like Ctrl-Alt-Fx etc.
|
|
|
|
# They have to be last on the link line so that their symbols will
|
|
|
|
# override the ones from libxkb.a.
|
|
|
|
#
|
|
|
|
# Unfortunately, those symbols can't be removed from libxkb because that
|
|
|
|
# causes other ddx'es to break. One possible fix would be to turn libxkb
|
|
|
|
# into shared a shared library and add API that would people linking to
|
|
|
|
# it to install callbacks for those actions.
|
|
|
|
#
|
|
|
|
|
2005-08-18 19:14:11 +02:00
|
|
|
xkbVT.c:
|
2005-08-15 20:59:16 +02:00
|
|
|
echo "#define XF86DDXACTIONS" > $@
|
2005-08-18 19:14:11 +02:00
|
|
|
echo "#include \"$(top_srcdir)/xkb/ddxVT.c\"" >> $@
|
|
|
|
|
|
|
|
xkbKillSrv.c:
|
|
|
|
echo "#define XF86DDXACTIONS" > $@
|
|
|
|
echo "#include \"$(top_srcdir)/xkb/ddxKillSrv.c\"" >> $@
|
|
|
|
|
|
|
|
xkbPrivate.c:
|
|
|
|
echo "#define XF86DDXACTIONS" > $@
|
|
|
|
echo "#include \"$(top_srcdir)/xkb/ddxPrivate.c\"" >> $@
|
2005-08-15 20:59:16 +02:00
|
|
|
|
2005-07-01 22:29:53 +02:00
|
|
|
Xorg_LDADD = $(XORG_LIBS) \
|
|
|
|
@XSERVER_LIBS@ \
|
2005-08-15 20:59:16 +02:00
|
|
|
xkbVT.o \
|
|
|
|
xkbKillSrv.o \
|
|
|
|
xkbPrivate.o \
|
2005-07-01 22:29:53 +02:00
|
|
|
-ldl
|
|
|
|
|
2005-07-16 09:39:48 +02:00
|
|
|
Xorg_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG)
|
2005-08-04 04:39:56 +02:00
|
|
|
|
|
|
|
|
|
|
|
if SOLARIS_ASM_INLINE
|
|
|
|
# Needs to be built before any files are compiled when using Sun compilers
|
|
|
|
# so in*/out* inline definitions are properly processed.
|
|
|
|
|
|
|
|
BUILT_SOURCES = os-support/solaris/solaris-$(SOLARIS_INOUT_ARCH).il
|
|
|
|
|
|
|
|
os-support/solaris/solaris-$(SOLARIS_INOUT_ARCH).il:
|
|
|
|
cd os-support/solaris ; make solaris-$(SOLARIS_INOUT_ARCH).il
|
|
|
|
endif
|