Changeset 2099695 in rtems


Ignore:
Timestamp:
Dec 11, 2002, 6:20:02 PM (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
e5b78e2
Parents:
da35120
Message:

2002-12-11 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Eliminate *_O_FILES. Don't create $ARCH in %.o: %.c rules.
Location:
c/src/optman
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/optman/ChangeLog

    rda35120 r2099695  
     12002-12-11      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * Makefile.am: Eliminate *_O_FILES.
     4        Don't create $ARCH in %.o: %.c rules.
     5
    162002-12-11      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • c/src/optman/Makefile.am

    rda35120 r2099695  
    99
    1010sapi_C_FILES = sapi/no-ext.c sapi/no-io.c
    11 C_O_FILES = $(sapi_C_FILES:sapi/%.c=$(ARCH)/%.$(OBJEXT))
     11OBJS = $(sapi_C_FILES:sapi/%.c=$(ARCH)/%.$(OBJEXT))
    1212
    1313rtems_C_FILES = rtems/no-dpmem.c rtems/no-event.c rtems/no-msg.c rtems/no-mp.c \
    1414    rtems/no-part.c rtems/no-region.c \
    1515    rtems/no-rtmon.c rtems/no-sem.c rtems/no-signal.c rtems/no-timer.c
    16 C_O_FILES += $(rtems_C_FILES:rtems/%.c=${ARCH}/%.$(OBJEXT))
     16OBJS += $(rtems_C_FILES:rtems/%.c=${ARCH}/%.$(OBJEXT))
    1717
    1818PGMS = $(rtems_C_FILES:rtems/%.c=$(ARCH)/%$(LIB_VARIANT).rel)
     
    2020
    2121${ARCH}/%.$(OBJEXT): sapi/%.c
    22         test -d $(ARCH) || mkdir $(ARCH)
    2322        ${COMPILE} -o $@ -c $<
    2423
    2524${ARCH}/%.$(OBJEXT): rtems/%.c
    26         test -d $(ARCH) || mkdir $(ARCH)
    2725        ${COMPILE} -o $@ -c $<
    2826
    2927# Make foo.rel from foo.o
    3028${ARCH}/%$(LIB_VARIANT).rel: ${ARCH}/%.o
    31         test -d $(ARCH) || mkdir $(ARCH)
    3229        ${make-rel}
    3330
     
    4239all-local: ${ARCH} $(PGMS) $(TMPINSTALL_FILES)
    4340
    44 .PRECIOUS: $(PGMS) $(C_O_FILES)
     41.PRECIOUS: $(PGMS) $(OBJS)
    4542
    4643EXTRA_DIST = $(rtems_C_FILES) $(sapi_C_FILES)
Note: See TracChangeset for help on using the changeset viewer.