summaryrefslogtreecommitdiff
path: root/Makefile.in
blob: 89872c01ec970ea56222e3a6a6b50f62b9940ba9 (plain)
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
# Makefile for uClibc-ng-test
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.

include $(top_srcdir)Rules.mak

all: test_compile test_gen

clean:
	$(MAKE) -C test clean

test check: test_compile
	$(Q)$(MAKE) -C test \
		$(if $(O),top_builddir=$(O)/)

test_compile: $(LOCAL_INSTALL_PATH)
	$(Q)$(MAKE) -C test compile \
		$(if $(O),top_builddir=$(O)/)

test_gen: $(LOCAL_INSTALL_PATH)
	$(Q)$(MAKE) -C test gen \
		$(if $(O),top_builddir=$(O)/)

install:
	mkdir -p $(DESTDIR)/usr/lib/uclibc-ng-test
	tar --exclude='*.[ochm]' -cvf - test/ | tar -xvf - -C $(DESTDIR)/usr/lib/uclibc-ng-test