T Jake Luciani | 1952e54 | 2009-02-01 04:47:30 +0000 | [diff] [blame] | 1 | SUBDIRS = test |
| 2 | |
| 3 | Makefile-perl.mk : Makefile.PL |
| 4 | $(PERL) Makefile.PL MAKEFILE=Makefile-perl.mk |
| 5 | |
| 6 | all-local: Makefile-perl.mk |
| 7 | $(MAKE) -f Makefile-perl.mk |
| 8 | find blib -name 'Makefile*' -exec rm -f {} \; |
| 9 | |
| 10 | check-local: |
| 11 | $(PERL) -Iblib/lib -I@abs_srcdir@ -I@builddir@/test/gen-perl \ |
| 12 | @abs_srcdir@/test.pl @abs_srcdir@/test/*.t |
| 13 | |
| 14 | install-exec-local: Makefile-perl.mk |
| 15 | $(MAKE) -f Makefile-perl.mk install DESTDIR=$(DESTDIR)/ |
| 16 | |
David Reiss | 067c9af | 2009-02-11 01:11:54 +0000 | [diff] [blame] | 17 | clean-local: |
| 18 | if test -f Makefile-perl.mk ; then \ |
| 19 | $(MAKE) -f Makefile-perl.mk clean ; \ |
| 20 | fi |
T Jake Luciani | 1952e54 | 2009-02-01 04:47:30 +0000 | [diff] [blame] | 21 | rm -f Makefile-perl.mk.old |
| 22 | |
| 23 | EXTRA_DIST = MANIFEST \ |
| 24 | Makefile.PL \ |
| 25 | test.pl \ |
| 26 | lib/Thrift.pm \ |
| 27 | lib/Thrift.pm \ |
| 28 | lib/Thrift/BinaryProtocol.pm \ |
| 29 | lib/Thrift/BufferedTransport.pm \ |
| 30 | lib/Thrift/FramedTransport.pm \ |
| 31 | lib/Thrift/HttpClient.pm \ |
| 32 | lib/Thrift/MemoryBuffer.pm \ |
| 33 | lib/Thrift/Protocol.pm \ |
| 34 | lib/Thrift/Socket.pm \ |
| 35 | lib/Thrift/Transport.pm |