trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject [10/11] git commit: Updated to build on ATS..
Date Thu, 01 Mar 2012 16:04:53 GMT
Updated to build on ATS..


git-svn-id: https://svn.apache.org/repos/asf/trafficserver/plugins/trunk@1199421 13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/cdf1a607
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/cdf1a607
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/cdf1a607

Branch: refs/heads/master
Commit: cdf1a6076fb25b951d2bd1a4e8f11cac326fecc6
Parents: ae5cd07
Author: Leif Hedstrom <zwoop@apache.org>
Authored: Tue Nov 8 20:01:21 2011 +0000
Committer: Leif Hedstrom <zwoop@apache.org>
Committed: Tue Nov 8 20:01:21 2011 +0000

----------------------------------------------------------------------
 Makefile |   25 ++++++++-----------------
 1 files changed, 8 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/cdf1a607/Makefile
----------------------------------------------------------------------
diff --git a/Makefile b/Makefile
index e517796..4c32858 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,3 @@
-#
-# Makefile for regex_remap plugin
-#
 #  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
@@ -9,27 +6,21 @@
 #  "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
+#  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.
-#
-OPTFLAG=-O3 -g
-
-# Set INCFLAG to wherever you installed Apache TS include files
-# INCFLAG=-I/opt/trafficserver/include
-CXXFLAGS=-fPIC -Wall -Werror $(INCFLAG)
-LDFLAGS=-lpcre
 
-%.so : %.o
-	$(CXX) $(LDFLAGS) -shared -fPIC -o $@ $<
+TSXS?=tsxs
 
-all:: regex_remap.so
+all:	regex_remap.cc
+	$(TSXS) -v -C $? -o regex_remap.so
 
-regex_remap.so:	regex_remap.o
+install:
+	$(TSXS) -i -o regex_remap.so
 
-clean::
-	rm -f *.o *.so
+clean:
+	rm -f *.lo *.so *.bz2 *.asc *.md5 *.sha1


Mime
View raw message