Makefile.am 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. AUTOMAKE_OPTIONS=nostdinc
  2. # Required for automake < 1.14
  3. ACLOCAL_AMFLAGS = -I m4
  4. if COMPOSITE
  5. COMPOSITE_DIR=composite
  6. endif
  7. if GLX
  8. GLX_DIR=glx
  9. endif
  10. if DBE
  11. DBE_DIR=dbe
  12. endif
  13. if RECORD
  14. RECORD_DIR=record
  15. endif
  16. if DRI3
  17. DRI3_DIR=dri3
  18. endif
  19. if PRESENT
  20. PRESENT_DIR=present
  21. endif
  22. if PSEUDORAMIX
  23. PSEUDORAMIX_DIR=pseudoramiX
  24. endif
  25. if GLAMOR
  26. GLAMOR_DIR=glamor
  27. endif
  28. SUBDIRS = \
  29. doc \
  30. man \
  31. include \
  32. dix \
  33. fb \
  34. mi \
  35. Xext \
  36. miext \
  37. os \
  38. randr \
  39. render \
  40. Xi \
  41. xkb \
  42. $(PSEUDORAMIX_DIR) \
  43. $(DBE_DIR) \
  44. $(RECORD_DIR) \
  45. xfixes \
  46. damageext \
  47. $(COMPOSITE_DIR) \
  48. $(GLX_DIR) \
  49. $(PRESENT_DIR) \
  50. $(DRI3_DIR) \
  51. exa \
  52. $(GLAMOR_DIR) \
  53. config \
  54. hw \
  55. test
  56. if XORG
  57. aclocaldir = $(datadir)/aclocal
  58. aclocal_DATA = xorg-server.m4
  59. pkgconfigdir = $(libdir)/pkgconfig
  60. pkgconfig_DATA = xorg-server.pc
  61. endif
  62. EXTRA_DIST = xorg-server.pc.in xorg-server.m4 autogen.sh
  63. DISTCHECK_CONFIGURE_FLAGS=\
  64. --with-xkb-path=$(XKB_BASE_DIRECTORY) \
  65. --with-xkb-bin-directory=$(XKB_BIN_DIRECTORY) \
  66. --with-xkb-output='$${datadir}/X11/xkb/compiled'
  67. .PHONY: ChangeLog INSTALL
  68. INSTALL:
  69. $(INSTALL_CMD)
  70. ChangeLog:
  71. $(CHANGELOG_CMD)
  72. dist-hook: ChangeLog INSTALL
  73. DIST_SUBDIRS = \
  74. doc \
  75. man \
  76. include \
  77. dix \
  78. fb \
  79. mi \
  80. Xext \
  81. miext \
  82. os \
  83. pseudoramiX \
  84. randr \
  85. render \
  86. Xi \
  87. xkb \
  88. dbe \
  89. record \
  90. xfixes \
  91. damageext \
  92. composite \
  93. glx \
  94. exa \
  95. glamor \
  96. config \
  97. dri3 \
  98. present \
  99. hw \
  100. test
  101. # gross hack
  102. relink: all
  103. $(AM_V_at)$(MAKE) -C hw relink
  104. install-headers: Makefile
  105. +find . -name Makefile | while read m; do \
  106. if grep -q install-sdkHEADERS $$m; then \
  107. (cd `dirname "$$m"` && make install-sdkHEADERS) \
  108. fi \
  109. done