1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00
ULib/tests/Makefile.am
2015-02-19 20:11:27 +01:00

27 lines
715 B
Makefile

## Makefile.am -- Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS = no-dependencies
EXTRA_DIST = .colors .function reset.color make_test.sh
MAINTAINERCLEANFILES = Makefile.in
SUBDIRS1 = base
if DEBUG
SUBDIRS1 += debug
endif
SUBDIRS = $(SUBDIRS1) ulib
if ENABLE_EXAMPLES
SUBDIRS += examples contrib
endif
DIST_SUBDIRS = base debug ulib examples contrib
test:
@for i in $(SUBDIRS); do cd $(abs_top_builddir)/tests/$$i; $(MAKE) $(AM_MAKEFLAGS) test; done
dist-hook:
find $(distdir) -type f -name \*.c -exec /utility/expand_tab '{}' ';'
find $(distdir) -type f -name \*.cpp -exec /utility/expand_tab '{}' ';'
find $(distdir) -type f -name \*.cfg -exec /utility/expand_tab '{}' ';'