2006-11-25 09:33:55 -07:00
|
|
|
if XLIB_LOADABLE_I18N
|
|
|
|
ORDER=src modules
|
|
|
|
else
|
|
|
|
ORDER=modules src
|
|
|
|
endif
|
|
|
|
SUBDIRS=include $(ORDER) nls man
|
|
|
|
|
2010-09-04 04:33:11 -06:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
2006-11-25 09:33:55 -07:00
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
2011-05-30 13:19:29 -06:00
|
|
|
pkgconfig_DATA = x11.pc x11-xcb.pc
|
2006-11-25 09:33:55 -07:00
|
|
|
|
2010-05-18 13:37:28 -06:00
|
|
|
MAINTAINERCLEANFILES = ChangeLog INSTALL
|
2006-11-25 09:33:55 -07:00
|
|
|
|
2010-05-18 13:37:28 -06:00
|
|
|
.PHONY: ChangeLog INSTALL
|
|
|
|
|
|
|
|
INSTALL:
|
|
|
|
$(INSTALL_CMD)
|
2006-11-25 09:33:55 -07:00
|
|
|
|
|
|
|
ChangeLog:
|
2009-05-03 06:59:09 -06:00
|
|
|
$(CHANGELOG_CMD)
|
2006-11-25 09:33:55 -07:00
|
|
|
|
2010-05-18 13:37:28 -06:00
|
|
|
dist-hook: ChangeLog INSTALL
|
2006-11-25 09:33:55 -07:00
|
|
|
|
|
|
|
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
|