Re: compile smaple source code



On 2/14/07, druidy long <druidyster gmail com> wrote:
Hi,

I want to compile the source code under the tests directory in libsoup,
however I can't find a usable Makefile to use.
Here is the files I got in the tests folder:

/usr/ports/devel/libsoup/work/libsoup- 2.2.99/tests
mail01:tests # ls
./                      Makefile.in.bak         date.c
getbug.c                httpd.conf.in           simple-proxy.c
xmlrpc-server.php
../                     apache-wrapper.c        dict.c
header-parsing.c        libsoup.supp            test-cert.pem
xmlrpc-test.c
Makefile.am             apache-wrapper.h        dns.c
htdigest                revserver.c             test-key.pem
Makefile.in             auth-test.c             get.c
htpasswd                simple-httpd.c          uri-parsing.c


eg. if I want to compile simple-httpd.c, how can I compile it?

You need to call 'configure' script that can be found in the top-level
source directory (possible with additional parameters depending on
your needs and wishes).
It will generate regular Makefiles from Makefile.in templates.

--
Andrew W. Nosenko <andrew w nosenko gmail com>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]