You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ig...@apache.org on 2011/12/08 20:59:16 UTC

svn commit: r1212075 - /trafficserver/traffic/trunk/tools/tsxs.in

Author: igalic
Date: Thu Dec  8 19:59:15 2011
New Revision: 1212075

URL: http://svn.apache.org/viewvc?rev=1212075&view=rev
Log:
Add possibility to extend tsxs command line for -Iincludes.

Modified:
    trafficserver/traffic/trunk/tools/tsxs.in

Modified: trafficserver/traffic/trunk/tools/tsxs.in
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/tools/tsxs.in?rev=1212075&r1=1212074&r2=1212075&view=diff
==============================================================================
--- trafficserver/traffic/trunk/tools/tsxs.in (original)
+++ trafficserver/traffic/trunk/tools/tsxs.in Thu Dec  8 19:59:15 2011
@@ -107,6 +107,7 @@ $0 : a tool to compile, link and install
 	-c [ file1.c [ file2.c [ ... ] ] ]      ## compiles C files
 	-C [ file1.cc [ file2.C [ ... ] ] ]     ## compiles C++ files
 	-o modulename.so                        ## the name of the module
+	-I include                              ## add -Iinclude to the compile
 	-l lib                                  ## add -llib to the link
 
  installing:
@@ -116,6 +117,10 @@ $0 : a tool to compile, link and install
 EOF
 		exit
 		;;
+	-I)
+		CPPFLAGS="$CPPFLAGS -I$2"
+		shift 2
+		;;
 	-l)
 		LIBS="$LIBS -l$2"
 		shift 2