From 2a582aa558973c30b2105695a84d53a1625ed625 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 26 Jul 2002 13:31:05 +0000 Subject: 2002-07-26 Ralf Corsepius * configure.ac: Disable LIBRPC for the c4x. Check for presence of score/cpu/${RTEMS_CPU}/cpu.c. * wrapup/Makefile.am: Reflect changes above. Let librtemscpu.a depend upon libscorecpu.a. --- cpukit/wrapup/Makefile.am | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'cpukit/wrapup') diff --git a/cpukit/wrapup/Makefile.am b/cpukit/wrapup/Makefile.am index 7e0bdd612e..c54904bc4c 100644 --- a/cpukit/wrapup/Makefile.am +++ b/cpukit/wrapup/Makefile.am @@ -8,7 +8,9 @@ include $(top_srcdir)/automake/multilib.am include $(top_srcdir)/automake/compile.am include $(top_srcdir)/automake/lib.am -CPU_OBJS = $(wildcard ../score/cpu/$(RTEMS_CPU)/$(ARCH)/*.$(OBJEXT)) +if LIBSCORECPU +CPU_OBJS = ../score/cpu/$(RTEMS_CPU)/$(ARCH)/libscorecpu.a +endif CORE_OBJS = $(wildcard ../score/src/$(ARCH)/*.$(OBJEXT)) SAPI_OBJS = $(wildcard ../sapi/src/$(ARCH)/*.$(OBJEXT)) RTEMS_OBJS = $(wildcard ../rtems/src/$(ARCH)/*.$(OBJEXT)) @@ -31,7 +33,11 @@ LIBIMFS_OBJS = ../libfs/src/imfs/$(ARCH)/libimfs.a if HAS_NETWORKING NETWORKING_OBJS = \ - ../libnetworking/wrapup/$(ARCH)/libnetworking.a \ + ../libnetworking/wrapup/$(ARCH)/libnetworking.a +endif + +if LIBRPC +LIBRPC_OBJS = \ ../librpc/src/rpc/$(ARCH)/librpc.a \ ../librpc/src/xdr/$(ARCH)/libxdr.a endif @@ -39,7 +45,7 @@ endif OBJS = $(CPU_OBJS) $(CORE_OBJS) $(RTEMS_OBJS) $(SAPI_OBJS) \ $(POSIX_OBJS) $(ITRON_OBJS) $(LIBCSUPPORT_OBJS) \ $(LIBBLOCK_OBJS) $(LIBDOSFS_OBJS) $(LIBIMFS_OBJS) \ - $(NETWORKING_OBJS) + $(NETWORKING_OBJS) $(LIBRPC_OBJS) $(LIB): ${OBJS} rm -f $@ @@ -75,9 +81,6 @@ $(LIB): ${OBJS} TMPINSTALL_FILES += $(project_libdir)$(MULTISUBDIR)/librtemscpu$(LIB_VARIANT).a -#$(project_libdir)$(MULTISUBDIR)/librtemscpu$(LIB_VARIANT).a: $(LIB) -# $(INSTALL_DATA) $< $@ - cpulibdir = $(libdir) cpulib_DATA = $(LIB) -- cgit v1.2.3