aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2019-03-07 17:27:44 +0100
committerMicael Karlberg <[email protected]>2019-04-30 10:58:16 +0200
commit9e34d5b91fda4c1021090fa00a8921cc2c8d2cb8 (patch)
tree8580ab0743b2dee79169b6b30af2d6b225ef7704 /erts/emulator
parent759ec896d7f254db2996cbb503c1ef883e6714b0 (diff)
downloadotp-9e34d5b91fda4c1021090fa00a8921cc2c8d2cb8.tar.gz
otp-9e34d5b91fda4c1021090fa00a8921cc2c8d2cb8.tar.bz2
otp-9e34d5b91fda4c1021090fa00a8921cc2c8d2cb8.zip
[socket] Preliminary - make socket configurable
Preliminary work to make socket configurable (enable and disable). OTP-15658
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/Makefile.in11
1 files changed, 9 insertions, 2 deletions
diff --git a/erts/emulator/Makefile.in b/erts/emulator/Makefile.in
index 448f41b523..1c85c4e827 100644
--- a/erts/emulator/Makefile.in
+++ b/erts/emulator/Makefile.in
@@ -843,6 +843,14 @@ ESOCK_RUN_OBJS = \
$(OBJDIR)/socket_dbg.o \
$(OBJDIR)/socket_tarray.o \
$(OBJDIR)/socket_util.o
+ifeq ($(USE_ESOCK), yes)
+ESOCK_NIF_OBJS = \
+ $(OBJDIR)/socket_nif.o \
+ $(OBJDIR)/net_nif.o
+else
+ESOCK_NIF_OBJS = \
+ $(OBJDIR)/net_nif.o
+endif
else
ESOCK_RUN_OBJS =
endif
@@ -903,8 +911,7 @@ NIF_OBJS = \
$(OBJDIR)/prim_buffer_nif.o \
$(OBJDIR)/prim_file_nif.o \
$(OBJDIR)/zlib_nif.o \
- $(OBJDIR)/socket_nif.o \
- $(OBJDIR)/net_nif.o
+ $(ESOCK_NIF_OBJS)
ifeq ($(TARGET),win32)
DRV_OBJS = \