aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-07-01 00:01:42 -0400
committerRob Austein <sra@hactrn.net>2016-07-01 00:01:42 -0400
commit183fc0a7c9b46a164307c1543c7cc85d12332454 (patch)
treed0bcdb4148a2ce9354130e0509d645b92c631071
parent3ba7ca4155c7be439108b174a3b49a508923d378 (diff)
Don't want rpc_serial.c for server builds.
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d3182af..3d42d8f 100644
--- a/Makefile
+++ b/Makefile
@@ -142,7 +142,9 @@ ifneq "${RPC_MODE}" "none"
OBJ += rpc_api.o xdr.o
endif
-ifeq "${RPC_TRANSPORT}" "serial"
+ifeq "${RPC_MODE}" "server"
+ OBJ += slip.o
+else ifeq "${RPC_TRANSPORT}" "serial"
OBJ += slip.o rpc_serial.o
endif