diff options
-rw-r--r-- | libc/inet/rpc/Makefile.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/inet/rpc/Makefile.in b/libc/inet/rpc/Makefile.in index 056807585..9bfa781d6 100644 --- a/libc/inet/rpc/Makefile.in +++ b/libc/inet/rpc/Makefile.in @@ -32,7 +32,10 @@ endif INET_RPC_DIR:=$(top_srcdir)libc/inet/rpc INET_RPC_OUT:=$(top_builddir)libc/inet/rpc +ifneq ($(DOMULTI),n) INET_RPC_NO_MULTI:=rpc_commondata.c rpc_thread.c svc.c +CSRC:=$(filter-out $(INET_RPC_NO_MULTI),$(CSRC)) +endif INET_RPC_SRC:=$(patsubst %.c,$(INET_RPC_DIR)/%.c,$(CSRC)) INET_RPC_OBJ:=$(patsubst %.c,$(INET_RPC_OUT)/%.o,$(CSRC)) @@ -40,7 +43,7 @@ INET_RPC_OBJ:=$(patsubst %.c,$(INET_RPC_OUT)/%.o,$(CSRC)) libc-a-$(UCLIBC_HAS_RPC)+=$(INET_RPC_OBJ) libc-so-$(UCLIBC_HAS_RPC)+=$(INET_RPC_OBJ:.o=.os) -libc-multi-$(UCLIBC_HAS_RPC)+=$(filter-out $(patsubst %.c,$(INET_RPC_DIR)/%.c,$(INET_RPC_NO_MULTI)),$(INET_RPC_SRC)) +libc-multi-$(UCLIBC_HAS_RPC)+=$(INET_RPC_SRC) libc-nomulti-$(UCLIBC_HAS_RPC)+=$(patsubst %.c,$(INET_RPC_OUT)/%.o,$(INET_RPC_NO_MULTI)) objclean-y+=inet_rpc_objclean |