#3908 <https://bugs.freedesktop.org/attachment.cgi?id=3908> xf8_32wid and cfb24 only need to be built on sparc
76 lines
1.9 KiB
Makefile
76 lines
1.9 KiB
Makefile
if DRI
|
|
DRI_SUBDIR = dri
|
|
endif
|
|
|
|
DOC_SUBDIR = doc
|
|
|
|
if BUILD_XF8_32WID
|
|
XF8_32WID_SUBDIR=xf8_32wid
|
|
endif
|
|
|
|
SUBDIRS = common ddc dummylib i2c x86emu int10 fbdevhw os-support parser rac \
|
|
ramdac shadowfb vbe vgahw xaa xf1bpp xf4bpp xf8_16bpp \
|
|
xf8_32bpp $(XF8_32WID_SUBDIR) loader scanpci dixmods exa \
|
|
$(DRI_SUBDIR) utils $(DOC_SUBDIR) getconfig
|
|
|
|
DIST_SUBDIRS = common ddc dummylib i2c x86emu int10 fbdevhw os-support \
|
|
parser rac ramdac shadowfb vbe vgahw xaa xf1bpp xf4bpp \
|
|
xf8_16bpp xf8_32bpp xf8_32wid loader scanpci dixmods dri exa \
|
|
utils doc getconfig
|
|
|
|
bin_PROGRAMS = Xorg
|
|
|
|
AM_CFLAGS = @XORG_CFLAGS@ @SERVER_DEFINES@ @LOADER_DEFINES@
|
|
INCLUDES = @XORG_INCS@
|
|
|
|
Xorg_SOURCES = xorg.c
|
|
|
|
DISTCLEANFILES = xorg.c
|
|
|
|
xorg.c:
|
|
touch $@
|
|
|
|
OS_LIBS = os-support/libxorgos.la
|
|
|
|
XORG_LIBS = \
|
|
@XORG_CORE_LIBS@ \
|
|
common/libinit.a \
|
|
loader/libloader.a \
|
|
common/libcommon.a \
|
|
parser/libxf86config.a \
|
|
$(OS_LIBS) \
|
|
dummylib/libdummy.a \
|
|
dixmods/libdixmods.la \
|
|
@XORG_LIBS@
|
|
|
|
Xorg_LDADD = $(XORG_LIBS) \
|
|
@XSERVER_LIBS@ \
|
|
dixmods/libxorgxkb.la
|
|
|
|
Xorg_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG)
|
|
|
|
|
|
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
|
|
|
|
# do not use $(mkdir_p) if you want automake 1.7 to work
|
|
install-data-local:
|
|
mkdir -p $(DESTDIR)$(logdir)
|
|
|
|
|
|
install-exec-local: install-binPROGRAMS
|
|
(cd $(DESTDIR)$(bindir) && rm -f X && ln -s Xorg X)
|
|
if INSTALL_SETUID
|
|
chown root $(DESTDIR)$(bindir)/Xorg
|
|
chmod u+s $(DESTDIR)$(bindir)/Xorg
|
|
endif
|
|
|
|
EXTRA_DIST = xorgconf.cpp Options
|