summaryrefslogtreecommitdiff
path: root/lib/libX11/Makefile.am
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-25 16:39:02 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-25 16:39:02 +0000
commit9b7bb5b308fa44c4ec0d5f8fdb8ceb7155bde9c0 (patch)
treecdd7d6f88191650911abefe33caa78ac57d097c9 /lib/libX11/Makefile.am
parentca86a8e8c730a906150f7d5a3518cae9f43d94b8 (diff)
import from X.Org 7.2RC2
Diffstat (limited to 'lib/libX11/Makefile.am')
-rw-r--r--lib/libX11/Makefile.am34
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/libX11/Makefile.am b/lib/libX11/Makefile.am
new file mode 100644
index 000000000..ce046ece6
--- /dev/null
+++ b/lib/libX11/Makefile.am
@@ -0,0 +1,34 @@
+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
+
+.PHONY: ChangeLog
+
+ChangeLog:
+ GIT_DIR=${srcdir}/.git git-log > ChangeLog
+
+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