Reviewed By: Slee
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664788
13f79535-47bb-0310-9956-
ffa450edef68
LD = g++
# Compiler flags
-DCFL = -Wall -O3 -g -I./gen-cpp $(include_flags) -L$(thrift_home)/lib -lthrift
+DCFL = -Wall -O3 -g -I./gen-cpp $(include_flags) -L$(thrift_home)/lib/cpp -lthrift
CFL = -Wall -O3 -I./gen-cpp $(include_flags) -L$(thrift_home)/lib -lthrift
all: server client
<property name="src" location="src" />
<property name="gen" location="gen-java" />
<property name="build" location="build" />
- <property name="cpath" location="/usr/local/lib/libthrift.jar" />
+ <property name="cpath" location="../../lib/java/libthrift.jar" />
<target name="init">
<tstamp />
</target>
<target name="generate">
- <exec executable="thrift">
+ <exec executable="../../compiler/cpp/bin/thrift">
<arg line="--java ../ThriftTest.thrift" />
</exec>
</target>
target: all
# Tools
-THRIFT = thrift
+THRIFT = ../../compiler/cpp/bin/thrift
all: normal inline
target: all
# Tools
-THRIFT = thrift
+THRIFT = ../../compiler/cpp/bin/thrift
all: stubs