1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/lang/modula-3-socks/files/Makefile.libm3socks
John Polstra 61ce7c4a22 This package implements SOCKS support for Modula-3 applications. It
will be used to support SOCKS operation in the soon-to-be-released next
version of CVSup.

A tip of the hat to:  Darryl Okahata, who developed the patches
necessary to make the SOCKS library work with Modula-3's multithreaded
I/O system.
1996-11-01 02:37:35 +00:00

20 lines
635 B
Makefile

PROG= libm3socks.so
SRCS= accept.c bind.c close.c connect.c dup.c dup2.c \
gethostbyaddr.c gethostbyname.c getpeername.c getsockname.c \
listen.c read.c recv.c recvfrom.c select.c send.c sendto.c \
shutdown.c socket.c socksconf.h wrap.h write.c \
Xconnect.c bytes.c check_cconf.c check_user.c percent_x.c \
saddrtoname.c shell_cmd.c stubs.c
CFLAGS+= -I${.CURDIR}/../SOCKS-SOURCE/h -DPIC -fpic -w
LDFLAGS+= -Bshareable
BINDIR= ${PREFIX}/lib/m3/FreeBSD2
NOMAN= yes
.PATH: ${.CURDIR}/../SOCKS-SOURCE/lib \
${.CURDIR}/../SOCKS-SOURCE/client
${PROG}:
${LD} -o ${PROG} ${LDFLAGS} ${OBJS} ${LDADD}
.include <bsd.prog.mk>