summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-12-10 21:53:02 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-12-10 21:53:02 +0000
commit6c980128774e4359b32d7325a987283c0635869f (patch)
tree8a7ecd643257866f4773b59af8aa0e1513fd8e5d
parentFixed conflict between patches (diff)
downloadrtems-6c980128774e4359b32d7325a987283c0635869f.tar.bz2
RDBG headers files ignored if not configured
Diffstat (limited to '')
-rw-r--r--c/src/lib/include/Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/c/src/lib/include/Makefile.in b/c/src/lib/include/Makefile.in
index 01f24139ea..568e6ecb60 100644
--- a/c/src/lib/include/Makefile.in
+++ b/c/src/lib/include/Makefile.in
@@ -31,6 +31,10 @@ RPC_H_FILES=$(RPC_H_PIECES:%=$(srcdir)/rpc/%.h)
RDBG_H_PIECES= servrpc rdbg $(RTEMS_CPU)/rdbg_f $(RTEMS_CPU)/reg
RDBG_H_FILES=$(RDBG_H_PIECES:%=$(srcdir)/rdbg/%.h)
+# We only build the rdbg library if HAS_NETWORKING and HAS_RDBG was defined
+RDBG_H_PIECES_yes_yes_V = servrpc rdbg $(RTEMS_CPU)/rdbg_f $(RTEMS_CPU)/reg
+RDBG_H_FILES=$($(LIBRDBG_$(HAS_NETWORKING)_$(HAS_RDBG)_V):%=$(srcdir)/rdbg/%.h)
+
SRCS=$(H_FILES) $(SYS_H_FILES) \
$(MOTOROLA_H_FILES) $(RTEMSCPLUSPLUS_H_FILES) \
$(RPC_H_FILES) $(RDBG_H_FILES)