-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile.am
35 lines (28 loc) · 956 Bytes
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# root Makefile.am
# vim:set softtabstop=8 shiftwidth=8 tabstop=8 noexpandtab:
#
# This file is distributed under the terms of the MIT License.
# See the LICENSE file at the top of this tree, or if it is missing a copy can
# be found at http://opensource.org/licenses/MIT
#
ACLOCAL_AMFLAGS = -I aclocal
sources = include src
SUBDIRS = $(sources)
EXTRA_DIST = README.md LICENSE \
bootstrap do-configure-debug make-all \
amlocal/uncrustify.cfg \
fonts/*.ttf
# Uncrustify the source
uncrustify: amlocal/uncrustify.cfg
@for dir in $(sources) src/resource; do \
find "$(top_srcdir)/$$dir" -type f -name '*.[ch]' ! -path '*/fonts/*' -print0 | \
xargs -0 uncrustify -c $(top_srcdir)/amlocal/uncrustify.cfg --replace --no-backup; \
done
test:
$(MAKE) -C tests test
LIBTOOL_DEPS = @LIBTOOL_DEPS@
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status --recheck
distclean-local:
rm -f Makefile.in aclocal.m4 configure
rm -rf autom4te.cache build-aux