1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-27 21:29:02 +00:00
freebsd-ports/devel/st/files/Makefile.examples
Dirk Meyer ba47688af8 - new distfiles at master site.
The State Threads is a small application library which provides a
foundation for writing fast and highly scalable Internet applications
(such as web servers, proxy servers, mail transfer agents, and so on) on
UNIX-like platforms. It combines the simplicity of the multithreaded
programming paradigm, in which one thread supports each simultaneous
connection, with the performance and scalability of an event-driven
state machine architecture. In other words, this library offers a
threading API for structuring an Internet application as a state
machine.

The State Threads library is a derivative of the Netscape Portable
Runtime library (NSPR).

WWW: http://oss.sgi.com/projects/state-threads/

PR:		25189
Submitted by:	tobez@tobez.org (Anton Berezin)
2001-03-17 06:48:26 +00:00

17 lines
359 B
Makefile

PREFIX?= /usr/local
CFLAGS+= -I${PREFIX}/include -L${PREFIX}/lib
all: lookupdns proxy server
lookupdns: lookupdns.o res.o
${CC} ${CFLAGS} -o ${.TARGET} lookupdns.o res.o -lst
proxy: proxy.o
${CC} ${CFLAGS} -o ${.TARGET} proxy.o -lst
server: server.o error.o
${CC} ${CFLAGS} -o ${.TARGET} server.o error.o -lst
clean:
rm -f lookupdns proxy server *.o