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.
This commit is contained in:
Ralf Corsepius
2002-07-22 09:17:40 +00:00
parent 1462016612
commit 35b22754c2
4 changed files with 20 additions and 2 deletions

View File

@@ -1,3 +1,11 @@
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> 2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Activate cpukit. Remove references to c/src/exec. * configure.ac: Activate cpukit. Remove references to c/src/exec.

View File

@@ -14,4 +14,6 @@ AC_DEFUN([RTEMS_BSP_CONFIGURE],
RTEMS_CANONICAL_HOST RTEMS_CANONICAL_HOST
AM_CONFIG_HEADER([include/bspopts.h]) AM_CONFIG_HEADER([include/bspopts.h])
RTEMS_PROJECT_ROOT RTEMS_PROJECT_ROOT
RTEMS_CHECK_MULTIPROCESSING
]) ])

View File

@@ -107,25 +107,32 @@ AS = $(CC)
ASCOMPILE = $(AS) $(AM_ASFLAGS) $(ASFLAGS) ASCOMPILE = $(AS) $(AM_ASFLAGS) $(ASFLAGS)
${ARCH}/%.o: %.c ${ARCH}/%.o: %.c
test -d $(ARCH) || mkdir $(ARCH)
${COMPILE} -o $@ -c $< ${COMPILE} -o $@ -c $<
${ARCH}/%.o: %.cc ${ARCH}/%.o: %.cc
test -d $(ARCH) || mkdir $(ARCH)
${CXXCOMPILE} -o $@ -c $< ${CXXCOMPILE} -o $@ -c $<
${ARCH}/%.o: %.cpp ${ARCH}/%.o: %.cpp
test -d $(ARCH) || mkdir $(ARCH)
${CXXCOMPILE} -o $@ -c $< ${CXXCOMPILE} -o $@ -c $<
${ARCH}/%.o: %.cxx ${ARCH}/%.o: %.cxx
test -d $(ARCH) || mkdir $(ARCH)
${CXXCOMPILE} -o $@ -c $< ${CXXCOMPILE} -o $@ -c $<
${ARCH}/%.o: %.C ${ARCH}/%.o: %.C
test -d $(ARCH) || mkdir $(ARCH)
${CXXCOMPILE} -o $@ -c $< ${CXXCOMPILE} -o $@ -c $<
${ARCH}/%.o: %.S ${ARCH}/%.o: %.S
test -d $(ARCH) || mkdir $(ARCH)
${ASCOMPILE} -DASM -o $@ -c $< ${ASCOMPILE} -DASM -o $@ -c $<
# Make foo.rel from foo.o # Make foo.rel from foo.o
${ARCH}/%.rel: ${ARCH}/%.o ${ARCH}/%.rel: ${ARCH}/%.o
test -d $(ARCH) || mkdir $(ARCH)
${make-rel} ${make-rel}
# Dependency files for use by gmake # Dependency files for use by gmake

View File

@@ -9,14 +9,15 @@ RANLIB = @RANLIB@
ARFLAGS = ruv ARFLAGS = ruv
define make-library define make-library
test -d $(ARCH) || mkdir $(ARCH)
$(RM) $@ $(RM) $@
$(AR) $(ARFLAGS) $@ $^ $(AR) $(ARFLAGS) $@ $^
$(RANLIB) $@ $(RANLIB) $@
endef endef
$(PROJECT_RELEASE)/lib$(MULTISUBDIR): $(PROJECT_RELEASE)/lib:
@$(mkinstalldirs) $@ @$(mkinstalldirs) $@
TMPINSTALL_FILES = $(PROJECT_RELEASE)/lib$(MULTISUBDIR) TMPINSTALL_FILES = $(PROJECT_RELEASE)/lib
.PRECIOUS: $(LIB) .PRECIOUS: $(LIB)