Sorry for the trouble — I've started work on a GNU Make build system but have run into a problem that is probably solvable differently in a trivial way than BSD Make, but because I'm used to the latter I haven't looked up how to do it properly in the former — defining a target only if no target by that name has been defined.  I think I might have also had some trouble figuring out what to do with something like '.if make(foo)' in BSD Make, but I don't remember if WANProxy uses any of those.<div>

<br></div><div>Anyway, here's a trivial GNU-style Makefile that will probably work:</div><div><br></div><div>%%%</div><div><div>SRCS= proxy_client.cc proxy_listener.cc proxy_socks_connection.cc proxy_socks_listener.cc wanproxy.cc wanproxy_config.cc wanproxy_config_class_codec.cc wanproxy_config_class_interface.cc wanproxy_config_class_peer.cc wanproxy_config_class_proxy.cc wanproxy_config_class_proxy_socks.cc wanproxy_config_type_codec.cc ../../common/buffer.cc ../../common/log.cc ../../common/timer.cc ../../config/config.cc ../../config/config_class.cc ../../config/config_class_log_mask.cc ../../config/config_object.cc ../../config/config_type_int.cc ../../config/config_type_log_level.cc ../../config/config_type_pointer.cc ../../config/config_type_string.cc ../../config/config_class_address.cc ../../config/config_type_address_family.cc ../../event/event_poll.cc ../../event/event_system.cc ../../event/timeout.cc ../../event/event_poll_poll.cc ../../io/file_descriptor.cc ../../io/io_system.cc ../../io/pipe_link.cc ../../io/pipe_null.cc ../../io/pipe_sink.cc ../../io/pipe_pair_echo.cc ../../io/pipe_simple.cc ../../io/socket.cc ../../io/splice.cc ../../io/splice_pair.cc ../../io/unix_client.cc ../../io/unix_server.cc ../../net/tcp_client.cc ../../net/tcp_server.cc ../../net/udp_client.cc ../../net/udp_server.cc ../../xcodec/xcodec_decoder.cc ../../xcodec/xcodec_encoder.cc ../../xcodec/xcodec_decoder_pipe.cc ../../xcodec/xcodec_encoder_pipe.cc</div>

<div>CXXFLAGS=-I../.. -include common/common.h -DXCODEC_PIPES -DUSE_POLL_POLL</div><div>wanproxy:</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>c++ -o wanproxy ${CXXFLAGS} ${SRCS} -lrt</div><div>
%%%</div>
</div><div><br></div><div>Just put that in 'GNUmakefile' in programs/wanproxy and run 'make' there.  Obviously you could also just invoke c++ by hand, given that level of sophistication.</div><div><br><div class="gmail_quote">

On Tue, Dec 8, 2009 at 08:44, Tan, William <span dir="ltr"><<a href="mailto:wtan@eci.com">wtan@eci.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">










<div lang="EN-US" link="blue" vlink="purple">

<div>

<p class="MsoNormal">I haven’t had any luck building wanproxy (0.6.0) on Linux
(Fedora 8-11 to be specific).  I am experiencing the same problem described by
previous posters with pmake not liking the .include.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Has anyone successfully built on a recent 2.6 linux kernel,
and can they provide any guideance?</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Thanks.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"> </p>

</div>

</div>



<table><tbody><tr><td bgcolor="#ffffff"><font color="#000000"><br>
NOTICE:  The information contained in this transmission is privileged, confidential, and intended only for the use of the individual or entity named above.  If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or the taking of any action in reliance on the contents of this transmission is strictly prohibited.  If you have received this transmission in error, please notify Eze Castle Integration, Inc. by e-mail and destroy the original message and all copies.  Thank you.<br>


<br>
 <br>
<br>
</font></td></tr></tbody></table><br>_______________________________________________<br>
wanproxy mailing list<br>
<a href="mailto:wanproxy@lists.wanproxy.org">wanproxy@lists.wanproxy.org</a><br>
<a href="http://lists.wanproxy.org/listinfo.cgi/wanproxy-wanproxy.org" target="_blank">http://lists.wanproxy.org/listinfo.cgi/wanproxy-wanproxy.org</a><br>
<br></blockquote></div><br></div>