105b261ecSmrg 205b261ecSmrgif DRI 305b261ecSmrgDRI_SUBDIR = dri 435c4bbdfSmrgDRI_LIB = dri/libdri.la 505b261ecSmrgendif 605b261ecSmrg 74642e01fSmrgif DRI2 84642e01fSmrgDRI2_SUBDIR = dri2 935c4bbdfSmrgDRI2_LIB = dri2/libdri2.la 1005b261ecSmrgendif 1105b261ecSmrg 1235c4bbdfSmrgif DRI3 1335c4bbdfSmrgDRI3_BUILDDIR = $(top_builddir)/dri3 1435c4bbdfSmrgDRI3_LIB = $(DRI3_BUILDDIR)/libdri3.la 1535c4bbdfSmrgendif 1635c4bbdfSmrg 171b5d61b8Smrgif GLX 181b5d61b8SmrgGLXVND_LIB = $(top_builddir)/glx/libglxvnd.la 191b5d61b8Smrgendif 201b5d61b8Smrg 2135c4bbdfSmrgif GLAMOR_EGL 2235c4bbdfSmrgGLAMOR_EGL_SUBDIR = glamor_egl 2305b261ecSmrgendif 2405b261ecSmrg 2535c4bbdfSmrgif XF86UTILS 2635c4bbdfSmrgXF86UTILS_SUBDIR = utils 276747b715Smrgendif 286747b715Smrg 296747b715Smrgif VGAHW 306747b715SmrgVGAHW_SUBDIR = vgahw 316747b715Smrgendif 326747b715Smrg 336747b715Smrgif INT10MODULE 346747b715SmrgINT10_SUBDIR = int10 356747b715Smrgendif 366747b715Smrg 3735c4bbdfSmrgSUBDIRS = common ddc x86emu $(INT10_SUBDIR) os-support parser \ 3835c4bbdfSmrg ramdac $(VGAHW_SUBDIR) loader modes $(DRI_SUBDIR) \ 39ed6184dfSmrg $(DRI2_SUBDIR) . i2c dixmods xkb \ 4035c4bbdfSmrg fbdevhw shadowfb exa $(XF86UTILS_SUBDIR) doc man \ 4135c4bbdfSmrg $(GLAMOR_EGL_SUBDIR) drivers 4205b261ecSmrg 436747b715SmrgDIST_SUBDIRS = common ddc i2c x86emu int10 fbdevhw os-support \ 44ed6184dfSmrg parser ramdac shadowfb vgahw \ 451b5d61b8Smrg loader dixmods xkb dri dri2 exa modes \ 4635c4bbdfSmrg utils doc man glamor_egl drivers 4705b261ecSmrg 4805b261ecSmrgbin_PROGRAMS = Xorg 4935c4bbdfSmrgnodist_Xorg_SOURCES = sdksyms.c 5005b261ecSmrg 5105b261ecSmrgAM_CFLAGS = $(DIX_CFLAGS) @XORG_CFLAGS@ 5235c4bbdfSmrgAM_CPPFLAGS = $(XORG_INCS) -I$(srcdir)/parser \ 5335c4bbdfSmrg -I$(srcdir)/ddc -I$(srcdir)/i2c -I$(srcdir)/modes -I$(srcdir)/ramdac \ 5435c4bbdfSmrg -I$(srcdir)/dri -I$(srcdir)/dri2 -I$(top_srcdir)/dri3 5505b261ecSmrg 5635c4bbdfSmrgLOCAL_LIBS = \ 5735c4bbdfSmrg $(MAIN_LIB) \ 586747b715Smrg $(XSERVER_LIBS) \ 596747b715Smrg loader/libloader.la \ 606747b715Smrg common/libcommon.la \ 6135c4bbdfSmrg os-support/libxorgos.la \ 6235c4bbdfSmrg parser/libxf86config.la \ 636747b715Smrg dixmods/libdixmods.la \ 646747b715Smrg modes/libxf86modes.la \ 656747b715Smrg ramdac/libramdac.la \ 666747b715Smrg ddc/libddc.la \ 676747b715Smrg i2c/libi2c.la \ 6835c4bbdfSmrg $(XORG_LIBS) \ 691b5d61b8Smrg xkb/libxorgxkb.la \ 7035c4bbdfSmrg $(DRI_LIB) \ 7135c4bbdfSmrg $(DRI2_LIB) \ 7235c4bbdfSmrg $(DRI3_LIB) \ 731b5d61b8Smrg $(GLXVND_LIB) \ 74ed6184dfSmrg $(top_builddir)/fb/libfb.la \ 7535c4bbdfSmrg $(top_builddir)/miext/sync/libsync.la \ 766747b715Smrg $(top_builddir)/mi/libmi.la \ 776747b715Smrg $(top_builddir)/os/libos.la \ 7835c4bbdfSmrg $(top_builddir)/Xext/libXvidmode.la 7905b261ecSmrg 8035c4bbdfSmrgXorg_LDADD = \ 8135c4bbdfSmrg $(LOCAL_LIBS) \ 8235c4bbdfSmrg $(XORG_SYS_LIBS) \ 8335c4bbdfSmrg $(XSERVER_SYS_LIBS) 8435c4bbdfSmrgXorg_DEPENDENCIES = $(LOCAL_LIBS) 8505b261ecSmrg 8605b261ecSmrgXorg_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG) 8705b261ecSmrg 8835c4bbdfSmrgif SUID_WRAPPER 891b5d61b8Smrgwrapexecdir = $(SUID_WRAPPER_DIR) 901b5d61b8Smrgwrapexec_PROGRAMS = Xorg.wrap 9135c4bbdfSmrgXorg_wrap_SOURCES = xorg-wrapper.c 926747b715Smrgendif 936747b715Smrg 9435c4bbdfSmrgBUILT_SOURCES = xorg.conf.example 9535c4bbdfSmrgDISTCLEANFILES = xorg.conf.example 9635c4bbdfSmrgEXTRA_DIST = xorgconf.cpp 9705b261ecSmrg 9835c4bbdfSmrg# Without logdir, X will post an error on the terminal and will not start 9905b261ecSmrginstall-data-local: 10035c4bbdfSmrg $(AM_V_GEN)$(MKDIR_P) $(DESTDIR)$(logdir) 10135c4bbdfSmrgif CYGWIN 10235c4bbdfSmrg $(INSTALL_DATA) libXorg.exe.a $(DESTDIR)$(libdir)/libXorg.exe.a 10335c4bbdfSmrgendif 10405b261ecSmrg 10535c4bbdfSmrginstall-exec-hook: 10635c4bbdfSmrg (cd $(DESTDIR)$(bindir) && rm -f X && $(LN_S) Xorg$(EXEEXT) X) 10705b261ecSmrgif INSTALL_SETUID 1081b5d61b8Smrg chown 0 $(DESTDIR)$(bindir)/Xorg 10905b261ecSmrg chmod u+s $(DESTDIR)$(bindir)/Xorg 11005b261ecSmrgendif 11135c4bbdfSmrgif SUID_WRAPPER 11235c4bbdfSmrg $(MKDIR_P) $(DESTDIR)$(SUID_WRAPPER_DIR) 11335c4bbdfSmrg mv $(DESTDIR)$(bindir)/Xorg $(DESTDIR)$(SUID_WRAPPER_DIR)/Xorg 11435c4bbdfSmrg ${INSTALL} -m 755 Xorg.sh $(DESTDIR)$(bindir)/Xorg 1151b5d61b8Smrg -chown 0 $(DESTDIR)$(SUID_WRAPPER_DIR)/Xorg.wrap && chmod u+s $(DESTDIR)$(SUID_WRAPPER_DIR)/Xorg.wrap 11635c4bbdfSmrgendif 11735c4bbdfSmrg 11835c4bbdfSmrguninstall-local: 11935c4bbdfSmrgif CYGWIN 12035c4bbdfSmrg $(AM_V_at)rm -f $(DESTDIR)$(libdir)/libXorg.exe.a 12135c4bbdfSmrgendif 12235c4bbdfSmrg 12335c4bbdfSmrguninstall-hook: 12435c4bbdfSmrg $(AM_V_at)rm -f $(DESTDIR)$(bindir)/X 12505b261ecSmrg 1269ace9065Smrg# Use variables from XORG_MANPAGE_SECTIONS and X Server configuration 1279ace9065Smrg# Do not include manpages.am as values are not appropriate for rc files 1289ace9065SmrgCONF_SUBSTS = -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g' \ 1299ace9065Smrg -e 's|MODULEPATH|$(DEFAULT_MODULE_PATH)|g' \ 1309ace9065Smrg -e 's|DEFAULTFONTPATH|$(COMPILEDDEFAULTFONTPATH)|g' 1319ace9065Smrg 1329ace9065Smrgxorg.conf.example: xorgconf.cpp 1339ace9065Smrg $(AM_V_GEN)$(SED) $(CONF_SUBSTS) < $(srcdir)/xorgconf.cpp > $@ 13405b261ecSmrg 13505b261ecSmrgrelink: 13635c4bbdfSmrg $(AM_V_at)rm -f Xorg$(EXEEXT) && $(MAKE) Xorg$(EXEEXT) 13735c4bbdfSmrg 13835c4bbdfSmrgCLEANFILES = sdksyms.c sdksyms.dep Xorg.sh 13935c4bbdfSmrgEXTRA_DIST += sdksyms.sh 14035c4bbdfSmrg 14135c4bbdfSmrgsdksyms.dep sdksyms.c: sdksyms.sh 14235c4bbdfSmrg $(AM_V_GEN)CPP='$(CPP)' AWK='$(AWK)' $(SHELL) $(srcdir)/sdksyms.sh $(top_srcdir) $(CFLAGS) $(AM_CFLAGS) $(AM_CPPFLAGS) 14335c4bbdfSmrg 14435c4bbdfSmrgSDKSYMS_DEP = sdksyms.dep 14535c4bbdfSmrg-include $(SDKSYMS_DEP) 14635c4bbdfSmrg 14735c4bbdfSmrgi2c/libi2c.la: 14835c4bbdfSmrg $(AM_V_at)cd i2c && $(MAKE) libi2c.la 14935c4bbdfSmrg 15035c4bbdfSmrgdixmods/libdixmods.la: 15135c4bbdfSmrg $(AM_V_at)cd dixmods && $(MAKE) libdixmods.la 15235c4bbdfSmrg 1531b5d61b8Smrgxkb/libxorgxkb.la: 1541b5d61b8Smrg $(AM_V_at)cd xkb && $(MAKE) libxorgxkb.la 155