summaryrefslogtreecommitdiff
path: root/source4/lib/socket/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/socket/config.mk')
-rw-r--r--source4/lib/socket/config.mk43
1 files changed, 43 insertions, 0 deletions
diff --git a/source4/lib/socket/config.mk b/source4/lib/socket/config.mk
new file mode 100644
index 0000000000..18aa806e41
--- /dev/null
+++ b/source4/lib/socket/config.mk
@@ -0,0 +1,43 @@
+##############################
+# Start SUBSYSTEM LIBNETIF
+[SUBSYSTEM::LIBNETIF]
+PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL LIBREPLACE_NETWORK
+# End SUBSYSTEM LIBNETIF
+##############################
+
+LIBNETIF_OBJ_FILES = $(addprefix $(libsocketsrcdir)/, interface.o netif.o)
+
+$(eval $(call proto_header_template,$(libsocketsrcdir)/netif_proto.h,$(LIBNETIF_OBJ_FILES:.o=.c)))
+
+################################################
+# Start MODULE socket_ip
+[MODULE::socket_ip]
+SUBSYSTEM = samba-socket
+OUTPUT_TYPE = MERGED_OBJ
+PRIVATE_DEPENDENCIES = LIBSAMBA-ERRORS LIBREPLACE_NETWORK
+# End MODULE socket_ip
+################################################
+
+socket_ip_OBJ_FILES = $(libsocketsrcdir)/socket_ip.o
+
+################################################
+# Start MODULE socket_unix
+[MODULE::socket_unix]
+SUBSYSTEM = samba-socket
+OUTPUT_TYPE = MERGED_OBJ
+PRIVATE_DEPENDENCIES = LIBREPLACE_NETWORK
+# End MODULE socket_unix
+################################################
+
+socket_unix_OBJ_FILES = $(libsocketsrcdir)/socket_unix.o
+
+################################################
+# Start SUBSYSTEM SOCKET
+[SUBSYSTEM::samba-socket]
+PUBLIC_DEPENDENCIES = LIBTALLOC
+PRIVATE_DEPENDENCIES = SOCKET_WRAPPER LIBCLI_COMPOSITE LIBCLI_RESOLVE
+# End SUBSYSTEM SOCKET
+################################################
+
+samba-socket_OBJ_FILES = $(addprefix $(libsocketsrcdir)/, socket.o access.o connect_multi.o connect.o)
+