Build the network transport plug-ins with libsocket

This commit is contained in:
Pierre Pronchery 2014-08-07 22:20:03 +02:00
parent 602c180579
commit 77e9e0c27c
2 changed files with 12 additions and 6 deletions

View File

@ -9,6 +9,7 @@ dist=Makefile,common.h,common.c
[tcp] [tcp]
type=plugin type=plugin
sources=tcp.c sources=tcp.c
ldflags=-lsocket
install=$(LIBDIR)/App/transport install=$(LIBDIR)/App/transport
[tcp.c] [tcp.c]
@ -17,6 +18,7 @@ depends=common.h,common.c
[tcp4] [tcp4]
type=plugin type=plugin
sources=tcp4.c sources=tcp4.c
ldflags=-lsocket
install=$(LIBDIR)/App/transport install=$(LIBDIR)/App/transport
[tcp4.c] [tcp4.c]
@ -25,6 +27,7 @@ depends=tcp.c,common.h,common.c
[tcp6] [tcp6]
type=plugin type=plugin
sources=tcp6.c sources=tcp6.c
ldflags=-lsocket
install=$(LIBDIR)/App/transport install=$(LIBDIR)/App/transport
[tcp6.c] [tcp6.c]
@ -37,6 +40,7 @@ sources=template.c
[udp] [udp]
type=plugin type=plugin
sources=udp.c sources=udp.c
ldflags=-lsocket
install=$(LIBDIR)/App/transport install=$(LIBDIR)/App/transport
[udp.c] [udp.c]
@ -45,6 +49,7 @@ depends=common.h,common.c
[udp4] [udp4]
type=plugin type=plugin
sources=udp4.c sources=udp4.c
ldflags=-lsocket
install=$(LIBDIR)/App/transport install=$(LIBDIR)/App/transport
[udp4.c] [udp4.c]
@ -53,6 +58,7 @@ depends=udp.c,common.h,common.c
[udp6] [udp6]
type=plugin type=plugin
sources=udp6.c sources=udp6.c
ldflags=-lsocket
install=$(LIBDIR)/App/transport install=$(LIBDIR)/App/transport
[udp6.c] [udp6.c]