mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-20 01:18:13 +02:00
Only convert to use "ansi prototypes" the functions warned from
compilation with "./autogen.sh --prefix=/usr", on a Linux computer.
Also, only address "trivial" compiler warning fixes in this commit.
The new .gitignore is the output of a command like:
% find . -name .gitignore -exec cat {} \; | sort | uniq
and only the toplevel .gitignore file was kept.
35 lines
629 B
Makefile
35 lines
629 B
Makefile
if XLIB_LOADABLE_I18N
|
|
ORDER=src modules
|
|
else
|
|
ORDER=modules src
|
|
endif
|
|
SUBDIRS=include $(ORDER) nls man
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
pkgconfig_DATA = x11.pc
|
|
if XCB
|
|
pkgconfig_DATA += x11-xcb.pc
|
|
endif
|
|
|
|
EXTRA_DIST=x11.pc.in x11-xcb.pc.in ChangeLog
|
|
|
|
MAINTAINERCLEANFILES=ChangeLog
|
|
DISTCLEANFILES = doltcompile doltlibtool
|
|
|
|
.PHONY: ChangeLog
|
|
|
|
ChangeLog:
|
|
$(CHANGELOG_CMD)
|
|
|
|
dist-hook: ChangeLog
|
|
|
|
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
|