summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2002-07-22 09:17:40 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2002-07-22 09:17:40 +0000
commit35b22754c2772843c7ccf9818a86d5dc1d36efe8 (patch)
tree575dccdd2fa6868344819392787f50054af8c8b6
parent2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-35b22754c2772843c7ccf9818a86d5dc1d36efe8.tar.bz2
2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/bsp-configure.m4: Add RTEMS_CHECK_MULTIPROCESSING. * automake/compile.am: Add test -d $(ARCH) || mkdir $(ARCH) to all compilation rules (Work-around to an automake bug). * automake/lib.am: Add test -d $(ARCH) || mkdir $(ARCH) to make-library.
Diffstat (limited to '')
-rw-r--r--ChangeLog8
-rw-r--r--aclocal/bsp-configure.m42
-rw-r--r--automake/compile.am7
-rw-r--r--automake/lib.am5
4 files changed, 20 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 0822c6a038..3e3093c324 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+ * aclocal/bsp-configure.m4: Add RTEMS_CHECK_MULTIPROCESSING.
+ * automake/compile.am: Add test -d $(ARCH) || mkdir $(ARCH) to all
+ compilation rules (Work-around to an automake bug).
+ * automake/lib.am: Add test -d $(ARCH) || mkdir $(ARCH) to
+ make-library.
+
+2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
* configure.ac: Activate cpukit. Remove references to c/src/exec.
2002-07-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
diff --git a/aclocal/bsp-configure.m4 b/aclocal/bsp-configure.m4
index 9959621799..71a41a2083 100644
--- a/aclocal/bsp-configure.m4
+++ b/aclocal/bsp-configure.m4
@@ -14,4 +14,6 @@ AC_DEFUN([RTEMS_BSP_CONFIGURE],
RTEMS_CANONICAL_HOST
AM_CONFIG_HEADER([include/bspopts.h])
RTEMS_PROJECT_ROOT
+
+ RTEMS_CHECK_MULTIPROCESSING
])
diff --git a/automake/compile.am b/automake/compile.am
index 22eb1bd2bc..0248c2f2e5 100644
--- a/automake/compile.am
+++ b/automake/compile.am
@@ -107,25 +107,32 @@ AS = $(CC)
ASCOMPILE = $(AS) $(AM_ASFLAGS) $(ASFLAGS)
${ARCH}/%.o: %.c
+ test -d $(ARCH) || mkdir $(ARCH)
${COMPILE} -o $@ -c $<
${ARCH}/%.o: %.cc
+ test -d $(ARCH) || mkdir $(ARCH)
${CXXCOMPILE} -o $@ -c $<
${ARCH}/%.o: %.cpp
+ test -d $(ARCH) || mkdir $(ARCH)
${CXXCOMPILE} -o $@ -c $<
${ARCH}/%.o: %.cxx
+ test -d $(ARCH) || mkdir $(ARCH)
${CXXCOMPILE} -o $@ -c $<
${ARCH}/%.o: %.C
+ test -d $(ARCH) || mkdir $(ARCH)
${CXXCOMPILE} -o $@ -c $<
${ARCH}/%.o: %.S
+ test -d $(ARCH) || mkdir $(ARCH)
${ASCOMPILE} -DASM -o $@ -c $<
# Make foo.rel from foo.o
${ARCH}/%.rel: ${ARCH}/%.o
+ test -d $(ARCH) || mkdir $(ARCH)
${make-rel}
# Dependency files for use by gmake
diff --git a/automake/lib.am b/automake/lib.am
index 7cb9db1148..cebdc20377 100644
--- a/automake/lib.am
+++ b/automake/lib.am
@@ -9,14 +9,15 @@ RANLIB = @RANLIB@
ARFLAGS = ruv
define make-library
+test -d $(ARCH) || mkdir $(ARCH)
$(RM) $@
$(AR) $(ARFLAGS) $@ $^
$(RANLIB) $@
endef
-$(PROJECT_RELEASE)/lib$(MULTISUBDIR):
+$(PROJECT_RELEASE)/lib:
@$(mkinstalldirs) $@
-TMPINSTALL_FILES = $(PROJECT_RELEASE)/lib$(MULTISUBDIR)
+TMPINSTALL_FILES = $(PROJECT_RELEASE)/lib
.PRECIOUS: $(LIB)