blob: 0dfa5fadca711d3215162eb922ea3e4feb3caabb [file] [log] [blame]
Jens Geyer7757ce72013-07-18 22:48:40 +02001#
2# Licensed to the Apache Software Foundation (ASF) under one
3# or more contributor license agreements. See the NOTICE file
4# distributed with this work for additional information
5# regarding copyright ownership. The ASF licenses this file
6# to you under the Apache License, Version 2.0 (the
7# "License"); you may not use this file except in compliance
8# with the License. You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing,
13# software distributed under the License is distributed on an
14# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15# KIND, either express or implied. See the License for the
16# specific language governing permissions and limitations
17# under the License.
18#
19
jfarrell8fd8c632014-07-10 09:14:51 -040020SUBDIRS = .
21
Jens Geyer7757ce72013-07-18 22:48:40 +020022if WITH_TESTS
jfarrell8fd8c632014-07-10 09:14:51 -040023SUBDIRS += test
Jens Geyer7757ce72013-07-18 22:48:40 +020024endif
25
Jens Geyer0e87c462013-06-18 22:25:07 +020026install:
Jens Geyer79f988c2014-10-03 20:42:54 +020027 @echo '##############################################################'
28 @echo '##############################################################'
29 @echo 'The Go client library should be installed via "go get", please see /lib/go/README.md'
30 @echo '##############################################################'
31 @echo '##############################################################'
Jens Geyer0e87c462013-06-18 22:25:07 +020032
33check-local:
taozlec0d384a2017-07-17 18:40:42 +020034 GOPATH=`pwd` $(GO) test -race ./thrift
Jens Geyer0e87c462013-06-18 22:25:07 +020035
James E. King, III65efdff2017-09-25 00:13:38 -040036clean-local:
37 $(RM) -rf pkg
38
Roger Meier41ad4342015-03-24 22:30:40 +010039all-local:
taozlec0d384a2017-07-17 18:40:42 +020040 GOPATH=`pwd` $(GO) build ./thrift
Jens Geyer0e87c462013-06-18 22:25:07 +020041
jfarrell32d323e2013-08-15 20:39:58 -040042EXTRA_DIST = \
Jens Geyer79f988c2014-10-03 20:42:54 +020043 thrift \
jfarrellf13e4312015-08-25 00:39:29 -040044 coding_standards.md \
Jens Geyer79f988c2014-10-03 20:42:54 +020045 README.md