sync code with last improvements from OpenBSD

This commit is contained in:
purplerain 2023-08-28 05:57:34 +00:00
commit 88965415ff
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
26235 changed files with 29195616 additions and 0 deletions

37
lib/libX11/Makefile.am Normal file
View file

@ -0,0 +1,37 @@
if XLIB_LOADABLE_I18N
ORDER=src modules
else
ORDER=modules src
endif
# Order: nls before specs
SUBDIRS=include $(ORDER) nls man
ACLOCAL_AMFLAGS = -I m4
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = x11.pc x11-xcb.pc
MAINTAINERCLEANFILES = ChangeLog INSTALL
.PHONY: ChangeLog INSTALL
INSTALL:
$(INSTALL_CMD)
ChangeLog:
$(CHANGELOG_CMD)
dist-hook: ChangeLog INSTALL
if LINT
# Check source code with tools like lint & sparse
LINT_SUBDIRS=src # modules
lint:
@for subdir in $(LINT_SUBDIRS) ; do \
echo "Making $@ in $$subdir"; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) lint) ; \
done
endif LINT
EXTRA_DIST = README.md