diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2002-12-11 18:20:02 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2002-12-11 18:20:02 +0000 |
commit | 20996955edf891a3bd4f297e29b756b2038661c4 (patch) | |
tree | b951018743f8db8896f801835f87611c997f7c02 /c/src | |
parent | 2002-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-20996955edf891a3bd4f297e29b756b2038661c4.tar.bz2 |
2002-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Eliminate *_O_FILES.
Don't create $ARCH in %.o: %.c rules.
Diffstat (limited to 'c/src')
-rw-r--r-- | c/src/optman/ChangeLog | 5 | ||||
-rw-r--r-- | c/src/optman/Makefile.am | 9 |
2 files changed, 8 insertions, 6 deletions
diff --git a/c/src/optman/ChangeLog b/c/src/optman/ChangeLog index 58cc3ebe2e..fe61ec202d 100644 --- a/c/src/optman/ChangeLog +++ b/c/src/optman/ChangeLog @@ -1,5 +1,10 @@ 2002-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + * Makefile.am: Eliminate *_O_FILES. + Don't create $ARCH in %.o: %.c rules. + +2002-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + * Makefile.am: Use .$(OBJEXT) instead of .o. 2002-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> diff --git a/c/src/optman/Makefile.am b/c/src/optman/Makefile.am index df38993204..0ab4c2ee73 100644 --- a/c/src/optman/Makefile.am +++ b/c/src/optman/Makefile.am @@ -8,27 +8,24 @@ include $(top_srcdir)/../../../automake/compile.am include $(top_srcdir)/../../../automake/lib.am sapi_C_FILES = sapi/no-ext.c sapi/no-io.c -C_O_FILES = $(sapi_C_FILES:sapi/%.c=$(ARCH)/%.$(OBJEXT)) +OBJS = $(sapi_C_FILES:sapi/%.c=$(ARCH)/%.$(OBJEXT)) rtems_C_FILES = rtems/no-dpmem.c rtems/no-event.c rtems/no-msg.c rtems/no-mp.c \ rtems/no-part.c rtems/no-region.c \ rtems/no-rtmon.c rtems/no-sem.c rtems/no-signal.c rtems/no-timer.c -C_O_FILES += $(rtems_C_FILES:rtems/%.c=${ARCH}/%.$(OBJEXT)) +OBJS += $(rtems_C_FILES:rtems/%.c=${ARCH}/%.$(OBJEXT)) PGMS = $(rtems_C_FILES:rtems/%.c=$(ARCH)/%$(LIB_VARIANT).rel) PGMS += $(sapi_C_FILES:sapi/%.c=$(ARCH)/%$(LIB_VARIANT).rel) ${ARCH}/%.$(OBJEXT): sapi/%.c - test -d $(ARCH) || mkdir $(ARCH) ${COMPILE} -o $@ -c $< ${ARCH}/%.$(OBJEXT): rtems/%.c - test -d $(ARCH) || mkdir $(ARCH) ${COMPILE} -o $@ -c $< # Make foo.rel from foo.o ${ARCH}/%$(LIB_VARIANT).rel: ${ARCH}/%.o - test -d $(ARCH) || mkdir $(ARCH) ${make-rel} bsplib_DATA = $(PGMS) @@ -41,7 +38,7 @@ $(PROJECT_RELEASE)/lib/%$(LIB_VARIANT).rel: $(ARCH)/%$(LIB_VARIANT).rel all-local: ${ARCH} $(PGMS) $(TMPINSTALL_FILES) -.PRECIOUS: $(PGMS) $(C_O_FILES) +.PRECIOUS: $(PGMS) $(OBJS) EXTRA_DIST = $(rtems_C_FILES) $(sapi_C_FILES) |