Updated Branches: refs/heads/master abe55a685 -> 30b3bbaba
TS-1462: Add SPDY plugin Makefile Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/30b3bbab Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/30b3bbab Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/30b3bbab Branch: refs/heads/master Commit: 30b3bbabadb802a1cc34057a93f463901e440d70 Parents: abe55a6 Author: James Peach <[email protected]> Authored: Mon Oct 8 21:49:14 2012 -0700 Committer: James Peach <[email protected]> Committed: Mon Oct 8 21:49:14 2012 -0700 ---------------------------------------------------------------------- plugins/experimental/spdy/Makefile.am | 52 ++++++++++++++++++++++++++++ 1 files changed, 52 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/30b3bbab/plugins/experimental/spdy/Makefile.am ---------------------------------------------------------------------- diff --git a/plugins/experimental/spdy/Makefile.am b/plugins/experimental/spdy/Makefile.am new file mode 100644 index 0000000..4ca2884 --- /dev/null +++ b/plugins/experimental/spdy/Makefile.am @@ -0,0 +1,52 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +pkglibdir = ${pkglibexecdir} +pkglib_LTLIBRARIES = spdy.la +lib_LTLIBRARIES = libspdy.la +check_PROGRAMS = zstream_test + +AM_CXXFLAGS = \ + -I$(srcdir)/lib \ + -std=c++11 + +if BUILD_HAVE_LIBCXX +AM_CXXFLAGS += -stdlib=libc++ +endif + +spdy_la_SOURCES = \ + http.cc \ + io.cc \ + protocol.cc \ + spdy.cc \ + stream.cc \ + strings.cc + +libspdy_la_SOURCES = \ + lib/base/logging.cc \ + lib/spdy/message.cc \ + lib/spdy/zstream.cc + +spdy_la_LIBADD = libspdy.la +spdy_la_LDFLAGS = -module -avoid-version -shared + +zstream_test_SOURCES = tests/zstream_test.cc tests/stubs.cc +zstream_test_LDADD = libspdy.la -lz + +TESTS = $(check_PROGRAMS) + +test:: $(TESTS) + for f in $(TESTS) ; do $$f ; done
