mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
61ce7c4a22
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.
20 lines
635 B
Makefile
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>
|