Turned off gcc-4.2 forcing on osx for now, until I can merge in the better switch.
[m6w6/libmemcached] / Makefile.am
1 ACLOCAL_AMFLAGS = -I m4
2
3 SUBDIRS = docs libmemcached libmemcachedutil support clients tests
4 EXTRA_dist = README.FIRST
5
6 check-local: test-no-outputdiff
7
8 test: all
9 @(cd tests; ${MAKE} test)
10
11 test-extended: all
12 @(cd tests; ${MAKE} test-extended)
13
14 valgrind:
15 @(cd tests; ${MAKE} valgrind)
16
17 test-no-outputdiff:
18 @(cd tests; ${MAKE} test-no-outputdiff)
19
20 fedora:
21 rm -f ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm
22 rm -f ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm
23 cp libmemcached-$(VERSION).tar.gz /home/brian/rpmbuild/SOURCES/
24 rpmbuild -ba support/libmemcached.spec
25 cp ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm .
26 cp ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm .
27
28 generic:
29 rm -f ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm
30 rm -f ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm
31 cp libmemcached-$(VERSION).tar.gz /home/brian/rpmbuild/SOURCES/
32 rpmbuild -ba support/libmemcached.spec
33 cp ~/rpmbuild/RPMS/x86_64/libmemcached-$(VERSION)*.rpm .
34 cp ~/rpmbuild/SRPMS/libmemcached-$(VERSION)*.rpm .
35
36 rpm: all dist generic fedora