Tests: Add libusbx stress test
[platform/upstream/libusb.git] / Makefile.am
1 AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip
2 ACLOCAL_AMFLAGS = -I m4
3 DISTCLEANFILES = libusb-1.0.pc
4 EXTRA_DIST = TODO PORTING msvc libusb/libusb-1.0.def libusb/version_nano.h \
5   examples/getopt/getopt.c examples/getopt/getopt1.c examples/getopt/getopt.h
6 SUBDIRS = libusb doc
7
8 if BUILD_EXAMPLES
9 SUBDIRS += examples
10 endif
11
12 if BUILD_TESTS
13 SUBDIRS += tests
14 endif
15
16 pkgconfigdir=$(libdir)/pkgconfig
17 pkgconfig_DATA=libusb-1.0.pc
18
19 .PHONY: dist-up
20
21 reldir = .release/$(distdir)
22 dist-up: dist
23         rm -rf $(reldir)
24         mkdir -p $(reldir)
25         cp $(distdir).tar.bz2 $(reldir)
26         rsync -rv $(reldir) frs.sourceforge.net:/home/frs/project/l/li/libusb/libusb-1.0/
27         rm -rf $(reldir)