2005-07-14 05:32:09 +02:00
|
|
|
if DRI
|
|
|
|
DRI_SUBDIR = dri
|
|
|
|
endif
|
|
|
|
|
2005-09-27 16:09:31 +02:00
|
|
|
DOC_SUBDIR = doc
|
|
|
|
|
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-12-09 19:30:51 +01:00
|
|
|
xf8_32bpp xf8_32wid loader scanpci dixmods exa \
|
2005-12-03 18:04:45 +01:00
|
|
|
$(DRI_SUBDIR) utils $(DOC_SUBDIR) getconfig
|
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-09-24 04:40:51 +02:00
|
|
|
xf8_16bpp xf8_32bpp xf8_32wid loader scanpci dixmods dri exa \
|
2005-10-03 17:41:10 +02:00
|
|
|
utils doc getconfig
|
2005-07-29 01:28:34 +02:00
|
|
|
|
2005-07-01 22:29:53 +02:00
|
|
|
bin_PROGRAMS = Xorg
|
|
|
|
|
2005-12-02 07:02:45 +01:00
|
|
|
AM_CFLAGS = @XORG_CFLAGS@ @SERVER_DEFINES@ @LOADER_DEFINES@
|
2005-08-15 20:59:16 +02:00
|
|
|
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-09-24 04:40:51 +02:00
|
|
|
OS_LIBS = os-support/libxorgos.la
|
2005-07-01 22:29:53 +02:00
|
|
|
|
|
|
|
XORG_LIBS = \
|
|
|
|
@XORG_CORE_LIBS@ \
|
|
|
|
common/libinit.a \
|
|
|
|
loader/libloader.a \
|
|
|
|
common/libcommon.a \
|
2005-11-23 08:14:46 +01:00
|
|
|
parser/libxf86config.a \
|
2005-07-01 22:29:53 +02:00
|
|
|
$(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@
|
|
|
|
|
|
|
|
Xorg_LDADD = $(XORG_LIBS) \
|
|
|
|
@XSERVER_LIBS@ \
|
2005-09-13 20:37:35 +02:00
|
|
|
dixmods/libxorgxkb.la
|
2005-07-01 22:29:53 +02:00
|
|
|
|
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
|
2005-09-15 07:06:54 +02:00
|
|
|
|
2005-10-18 00:42:03 +02:00
|
|
|
# do not use $(mkdir_p) if you want automake 1.7 to work
|
2005-09-15 07:06:54 +02:00
|
|
|
install-data-local:
|
2005-10-18 00:42:03 +02:00
|
|
|
mkdir -p $(DESTDIR)$(logdir)
|
2005-09-15 07:55:21 +02:00
|
|
|
|
2005-09-20 17:50:31 +02:00
|
|
|
|
2005-10-18 21:43:48 +02:00
|
|
|
install-exec-local: install-binPROGRAMS
|
2005-10-29 02:12:33 +02:00
|
|
|
(cd $(DESTDIR)$(bindir) && rm -f X && ln -s Xorg X)
|
2005-09-20 17:50:31 +02:00
|
|
|
if INSTALL_SETUID
|
2005-09-15 07:55:21 +02:00
|
|
|
chown root $(DESTDIR)$(bindir)/Xorg
|
|
|
|
chmod u+s $(DESTDIR)$(bindir)/Xorg
|
2005-09-20 17:50:31 +02:00
|
|
|
endif
|
|
|
|
|
2005-12-08 18:55:19 +01:00
|
|
|
optionsdir = $(libdir)/X11
|
|
|
|
dist_options_DATA = Options
|
|
|
|
|
|
|
|
EXTRA_DIST = xorgconf.cpp
|