diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2002-08-11 07:13:50 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2002-08-11 07:13:50 +0000 |
commit | 982fceec50c8e36feee143b9944b995d62dd6ff6 (patch) | |
tree | 71900aef56d71572f412542558b43007a66f8503 /c/src/lib/libbsp/unix/posix/startup | |
parent | 2002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-982fceec50c8e36feee143b9944b995d62dd6ff6.tar.bz2 |
2002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* shmsupp/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
Diffstat (limited to 'c/src/lib/libbsp/unix/posix/startup')
-rw-r--r-- | c/src/lib/libbsp/unix/posix/startup/Makefile.am | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/unix/posix/startup/Makefile.am b/c/src/lib/libbsp/unix/posix/startup/Makefile.am index 0f275dd05d..9b7153c8ef 100644 --- a/c/src/lib/libbsp/unix/posix/startup/Makefile.am +++ b/c/src/lib/libbsp/unix/posix/startup/Makefile.am @@ -15,14 +15,14 @@ endif # C sources C_FILES = bspclean.c bsplibc.c bspstart.c setvec.c $(C_MAIN_C_FILES) -C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o) +C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT)) startup_rel_OBJECTS = $(C_O_FILES) # CC sources CC_FILES = rtems-ctor.cc -CC_O_FILES = $(CC_FILES:%.cc=${ARCH}/%.o} +CC_O_FILES = $(CC_FILES:%.cc=${ARCH}/%.$(OBJEXT)} -# We install the RTEMS constructor as a separate .o +# We install the RTEMS constructor as a separate .$(OBJEXT) # so it can be easily place correctly by the compiler config file. include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg @@ -38,18 +38,18 @@ AM_CFLAGS += $(LIBC_DEFINES) $(PGM): $(startup_rel_OBJECTS) $(make-rel) -${ARCH}/libno-ctor.a: $(ARCH)/no-ctor.o +${ARCH}/libno-ctor.a: $(ARCH)/no-ctor.$(OBJEXT) $(AR) -cvr $@ $< $(PROJECT_RELEASE)/lib/libno-ctor$(LIB_VARIANT).a: ${ARCH}/libno-ctor.a $(INSTALL_DATA) $< $@ -$(PROJECT_RELEASE)/lib/rtems-ctor$(LIB_VARIANT).o: $(ARCH)/rtems-ctor.o +$(PROJECT_RELEASE)/lib/rtems-ctor$(LIB_VARIANT).$(OBJEXT): $(ARCH)/rtems-ctor.$(OBJEXT) $(INSTALL_DATA) $< $@ if HAS_CXX all-local: $(ARCH) $(PGM) $(PROJECT_RELEASE)/lib/libno-ctor$(LIB_VARIANT).a \ - $(PROJECT_RELEASE)/lib/rtems-ctor$(LIB_VARIANT).o + $(PROJECT_RELEASE)/lib/rtems-ctor$(LIB_VARIANT).$(OBJEXT) else all-local: $(ARCH) $(PGM) endif |