summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2021-02-25 09:04:39 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2021-03-10 09:20:42 +0000
commit343dc74e52b69475659c0085bc148971dc854426 (patch)
tree1bdb82e5d618a1f65f4e99ea929d22234e860c66 /Makefile.am
parent4901f35cac64d71ef295f4531af46c9b00eab1a8 (diff)
Makefile.am: reorder the protocols to group by default and LEGACY
An alphabetically ordered list is nice, but it's harder to figure out based on a diff whether a commit affects the legacy protocols or not. Let's group those separately, first the normal protocol files, then all the legacy-only ones. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am192
1 files changed, 89 insertions, 103 deletions
diff --git a/Makefile.am b/Makefile.am
index ec2188f..2074701 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -14,16 +14,6 @@ bigreqs_HEADERS = \
bigreqsprotopkgconfigdir = $(datadir)/pkgconfig
bigreqsprotopkgconfig_DATA = bigreqsproto.pc
-if LEGACY
-XCalibrateincludedir = $(includedir)/X11/extensions
-XCalibrateinclude_HEADERS = \
- include/X11/extensions/xcalibrateproto.h \
- include/X11/extensions/xcalibratewire.h
-
-calibrateprotopkgconfigdir = $(datadir)/pkgconfig
-calibrateprotopkgconfig_DATA = xcalibrateproto.pc
-endif
-
compositedir = $(includedir)/X11/extensions
composite_HEADERS = \
include/X11/extensions/composite.h \
@@ -66,16 +56,6 @@ dri3_HEADERS = \
dri3protopkgconfigdir = $(datadir)/pkgconfig
dri3protopkgconfig_DATA = dri3proto.pc
-if LEGACY
-eviedir = $(includedir)/X11/extensions
-evie_HEADERS = \
- include/X11/extensions/evieproto.h \
- include/X11/extensions/Xeviestr.h
-
-evieprotopkgconfigdir = $(datadir)/pkgconfig
-evieprotopkgconfig_DATA = evieproto.pc
-endif
-
fixesdir = $(includedir)/X11/extensions
fixes_HEADERS = \
include/X11/extensions/xfixesproto.h \
@@ -84,17 +64,6 @@ fixes_HEADERS = \
fixesprotopkgconfigdir = $(datadir)/pkgconfig
fixesprotopkgconfig_DATA = fixesproto.pc
-if LEGACY
-fontcachedir = $(includedir)/X11/extensions
-fontcache_HEADERS = \
- include/X11/extensions/fontcache.h \
- include/X11/extensions/fontcacheP.h \
- include/X11/extensions/fontcachstr.h
-
-fontcacheprotopkgconfigdir = $(datadir)/pkgconfig
-fontcacheprotopkgconfig_DATA = fontcacheproto.pc
-endif
-
fontsdir = $(includedir)/X11/fonts
fonts_HEADERS = \
include/X11/fonts/font.h \
@@ -144,23 +113,6 @@ endif
kbprotopkgconfigdir = $(datadir)/pkgconfig
kbprotopkgconfig_DATA = kbproto.pc
-if LEGACY
-lg3ddir = $(includedir)/X11/extensions
-lg3d_HEADERS = \
- include/X11/extensions/lgewire.h
-
-lg3dprotopkgconfigdir = $(datadir)/pkgconfig
-lg3dprotopkgconfig_DATA = lg3dproto.pc
-
-xproxymngdir = $(includedir)/X11/PM
-xproxymng_HEADERS = \
- include/X11/PM/PM.h \
- include/X11/PM/PMproto.h
-
-pmprotopkgconfigdir = $(datadir)/pkgconfig
-pmprotopkgconfig_DATA = xproxymngproto.pc
-endif
-
presentdir = $(includedir)/X11/extensions
present_HEADERS = \
include/X11/extensions/presentproto.h \
@@ -169,20 +121,6 @@ present_HEADERS = \
presentprotopkgconfigdir = $(datadir)/pkgconfig
presentprotopkgconfig_DATA = presentproto.pc
-if LEGACY
-printdir = $(includedir)/X11/extensions
-print_HEADERS = \
- include/X11/extensions/Print.h \
- include/X11/extensions/Printstr.h
-
-printprotopkgconfigdir = $(datadir)/pkgconfig
-printprotopkgconfig_DATA = printproto.pc
-
-miscmandir = $(MISC_MAN_DIR)
-miscman_DATA = man/Xprint.$(MISC_MAN_SUFFIX)
-CLEANFILES = $(miscman_DATA)
-endif
-
SED = sed
XORGRELSTRING = @PACKAGE_STRING@
@@ -244,21 +182,6 @@ scrnsaver_HEADERS = \
scrnsaverprotopkgconfigdir = $(datadir)/pkgconfig
scrnsaverprotopkgconfig_DATA = scrnsaverproto.pc
-if LEGACY
-trapdir = $(includedir)/X11/extensions
-trap_HEADERS = \
- include/X11/extensions/xtrapbits.h \
- include/X11/extensions/xtrapddmi.h \
- include/X11/extensions/xtrapdi.h \
- include/X11/extensions/xtrapemacros.h \
- include/X11/extensions/xtraplib.h \
- include/X11/extensions/xtraplibp.h \
- include/X11/extensions/xtrapproto.h
-
-trapprotopkgconfigdir = $(datadir)/pkgconfig
-trapprotopkgconfig_DATA = trapproto.pc
-endif
-
videodir = $(includedir)/X11/extensions
video_HEADERS = \
include/X11/extensions/Xv.h \
@@ -272,16 +195,6 @@ endif
videoprotopkgconfigdir = $(datadir)/pkgconfig
videoprotopkgconfig_DATA = videoproto.pc
-if LEGACY
-windowswmdir = $(includedir)/X11/extensions
-windowswm_HEADERS = \
- include/X11/extensions/windowswm.h \
- include/X11/extensions/windowswmstr.h
-
-windowswmprotopkgconfigdir = $(datadir)/pkgconfig
-windowswmprotopkgconfig_DATA = windowswmproto.pc
-endif
-
xprotodir = $(includedir)/X11
xproto_HEADERS = \
include/X11/ap_keysym.h \
@@ -397,7 +310,96 @@ xf86dri_HEADERS = \
xf86driprotopkgconfigdir = $(datadir)/pkgconfig
xf86driprotopkgconfig_DATA = xf86driproto.pc
+xf86vidmodedir = $(includedir)/X11/extensions
+xf86vidmode_HEADERS = \
+ include/X11/extensions/xf86vm.h \
+ include/X11/extensions/xf86vmproto.h \
+ include/X11/extensions/xf86vmstr.h
+
+xf86vidmodeprotopkgconfigdir = $(datadir)/pkgconfig
+xf86vidmodeprotopkgconfig_DATA = xf86vidmodeproto.pc
+
+xineramadir = $(includedir)/X11/extensions
+xinerama_HEADERS = \
+ include/X11/extensions/panoramiXproto.h
+
+xineramaprotopkgconfigdir = $(datadir)/pkgconfig
+xineramaprotopkgconfig_DATA = xineramaproto.pc
+
if LEGACY
+XCalibrateincludedir = $(includedir)/X11/extensions
+XCalibrateinclude_HEADERS = \
+ include/X11/extensions/xcalibrateproto.h \
+ include/X11/extensions/xcalibratewire.h
+
+calibrateprotopkgconfigdir = $(datadir)/pkgconfig
+calibrateprotopkgconfig_DATA = xcalibrateproto.pc
+
+eviedir = $(includedir)/X11/extensions
+evie_HEADERS = \
+ include/X11/extensions/evieproto.h \
+ include/X11/extensions/Xeviestr.h
+
+evieprotopkgconfigdir = $(datadir)/pkgconfig
+evieprotopkgconfig_DATA = evieproto.pc
+
+fontcachedir = $(includedir)/X11/extensions
+fontcache_HEADERS = \
+ include/X11/extensions/fontcache.h \
+ include/X11/extensions/fontcacheP.h \
+ include/X11/extensions/fontcachstr.h
+
+fontcacheprotopkgconfigdir = $(datadir)/pkgconfig
+fontcacheprotopkgconfig_DATA = fontcacheproto.pc
+
+lg3ddir = $(includedir)/X11/extensions
+lg3d_HEADERS = \
+ include/X11/extensions/lgewire.h
+
+lg3dprotopkgconfigdir = $(datadir)/pkgconfig
+lg3dprotopkgconfig_DATA = lg3dproto.pc
+
+xproxymngdir = $(includedir)/X11/PM
+xproxymng_HEADERS = \
+ include/X11/PM/PM.h \
+ include/X11/PM/PMproto.h
+
+pmprotopkgconfigdir = $(datadir)/pkgconfig
+pmprotopkgconfig_DATA = xproxymngproto.pc
+
+printdir = $(includedir)/X11/extensions
+print_HEADERS = \
+ include/X11/extensions/Print.h \
+ include/X11/extensions/Printstr.h
+
+printprotopkgconfigdir = $(datadir)/pkgconfig
+printprotopkgconfig_DATA = printproto.pc
+
+miscmandir = $(MISC_MAN_DIR)
+miscman_DATA = man/Xprint.$(MISC_MAN_SUFFIX)
+CLEANFILES = $(miscman_DATA)
+
+trapdir = $(includedir)/X11/extensions
+trap_HEADERS = \
+ include/X11/extensions/xtrapbits.h \
+ include/X11/extensions/xtrapddmi.h \
+ include/X11/extensions/xtrapdi.h \
+ include/X11/extensions/xtrapemacros.h \
+ include/X11/extensions/xtraplib.h \
+ include/X11/extensions/xtraplibp.h \
+ include/X11/extensions/xtrapproto.h
+
+trapprotopkgconfigdir = $(datadir)/pkgconfig
+trapprotopkgconfig_DATA = trapproto.pc
+
+windowswmdir = $(includedir)/X11/extensions
+windowswm_HEADERS = \
+ include/X11/extensions/windowswm.h \
+ include/X11/extensions/windowswmstr.h
+
+windowswmprotopkgconfigdir = $(datadir)/pkgconfig
+windowswmprotopkgconfig_DATA = windowswmproto.pc
+
xf86miscdir = $(includedir)/X11/extensions
xf86misc_HEADERS = \
include/X11/extensions/xf86misc.h \
@@ -415,22 +417,6 @@ xf86rushprotopkgconfigdir = $(datadir)/pkgconfig
xf86rushprotopkgconfig_DATA = xf86rushproto.pc
endif
-xf86vidmodedir = $(includedir)/X11/extensions
-xf86vidmode_HEADERS = \
- include/X11/extensions/xf86vm.h \
- include/X11/extensions/xf86vmproto.h \
- include/X11/extensions/xf86vmstr.h
-
-xf86vidmodeprotopkgconfigdir = $(datadir)/pkgconfig
-xf86vidmodeprotopkgconfig_DATA = xf86vidmodeproto.pc
-
-xineramadir = $(includedir)/X11/extensions
-xinerama_HEADERS = \
- include/X11/extensions/panoramiXproto.h
-
-xineramaprotopkgconfigdir = $(datadir)/pkgconfig
-xineramaprotopkgconfig_DATA = xineramaproto.pc
-
SUBDIRS=specs
dist_doc_DATA = \