Changeset 6b71f797 in rtems


Ignore:
Timestamp:
Dec 9, 2003, 12:16:59 PM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
58ce601
Parents:
109d660
Message:

2003-12-09 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Add tmpinstall dirstamp support.
Location:
c/src/optman
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/optman/ChangeLog

    r109d660 r6b71f797  
     12003-12-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * Makefile.am: Add tmpinstall dirstamp support.
     4
    152003-12-02      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    26
  • c/src/optman/Makefile.am

    r109d660 r6b71f797  
    1212    rtems/no-mp.c rtems/no-part.c rtems/no-region.c rtems/no-rtmon.c \
    1313    rtems/no-sem.c rtems/no-signal.c rtems/no-timer.c
    14 OBJS += $(rtems_C_FILES:rtems/%.c=${ARCH}/%.$(OBJEXT))
     14OBJS += $(rtems_C_FILES:rtems/%.c=$(ARCH)/%.$(OBJEXT))
    1515
    1616PGMS = $(rtems_C_FILES:rtems/%.c=$(ARCH)/%$(LIB_VARIANT).rel)
    1717PGMS += $(sapi_C_FILES:sapi/%.c=$(ARCH)/%$(LIB_VARIANT).rel)
    1818
    19 ${ARCH}/%.$(OBJEXT): sapi/%.c $(ARCH)/$(dirstamp)
     19$(ARCH)/%.$(OBJEXT): sapi/%.c $(ARCH)/$(dirstamp)
    2020        ${COMPILE} -o $@ -c $<
    2121
    22 ${ARCH}/%.$(OBJEXT): rtems/%.c $(ARCH)/$(dirstamp)
     22$(ARCH)/%.$(OBJEXT): rtems/%.c $(ARCH)/$(dirstamp)
    2323        ${COMPILE} -o $@ -c $<
    2424
    2525# Make foo.rel from foo.o
    26 ${ARCH}/%$(LIB_VARIANT).rel: ${ARCH}/%.o
     26$(ARCH)/%$(LIB_VARIANT).rel: $(ARCH)/%.o
    2727        ${make-rel}
    2828
    29 TMPINSTALL_FILES += \
    30     $(PGMS:${ARCH}/%$(LIB_VARIANT).rel=$(PROJECT_RELEASE)/lib/%$(LIB_VARIANT).rel)
    31 
    32 $(PROJECT_RELEASE)/lib/%$(LIB_VARIANT).rel: $(ARCH)/%$(LIB_VARIANT).rel
    33         $(INSTALL_DATA) $< $@
     29project_libdir = $(libdir)
     30project_lib_DATA = $(ARCH)/no-ext$(LIB_VARIANT).rel \
     31    $(ARCH)/no-io$(LIB_VARIANT).rel $(ARCH)/no-dpmem$(LIB_VARIANT).rel \
     32    $(ARCH)/no-event$(LIB_VARIANT).rel $(ARCH)/no-msg$(LIB_VARIANT).rel \
     33    $(ARCH)/no-mp$(LIB_VARIANT).rel $(ARCH)/no-part$(LIB_VARIANT).rel \
     34    $(ARCH)/no-region$(LIB_VARIANT).rel $(ARCH)/no-rtmon$(LIB_VARIANT).rel \
     35    $(ARCH)/no-sem$(LIB_VARIANT).rel $(ARCH)/no-signal$(LIB_VARIANT).rel \
     36    $(ARCH)/no-timer$(LIB_VARIANT).rel
    3437
    3538all-local: $(PGMS) $(TMPINSTALL_FILES)
    36 
    37 install-data-local: $(PGMS)
    38         @$(mkinstalldirs) $(DESTDIR)$(bsplibdir)
    39         @list='$(PGMS)'; for p in $$list; do \
    40           echo "$(INSTALL_DATA) $$p $(DESTDIR)$(bsplibdir)" ; \
    41           $(INSTALL_DATA) $$p $(DESTDIR)$(bsplibdir); \
    42         done
    4339
    4440.PRECIOUS: $(PGMS) $(OBJS)
     
    4642EXTRA_DIST = $(rtems_C_FILES) $(sapi_C_FILES)
    4743
     44${PROJECT_RELEASE}/lib/no-ext$(LIB_VARIANT).rel: $(ARCH)/no-ext$(LIB_VARIANT).rel ${PROJECT_RELEASE}/lib/$(dirstamp)
     45        $(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/no-ext$(LIB_VARIANT).rel
     46TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/no-ext$(LIB_VARIANT).rel
     47
     48${PROJECT_RELEASE}/lib/no-io$(LIB_VARIANT).rel: $(ARCH)/no-io$(LIB_VARIANT).rel ${PROJECT_RELEASE}/lib/$(dirstamp)
     49        $(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/no-io$(LIB_VARIANT).rel
     50TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/no-io$(LIB_VARIANT).rel
     51
     52${PROJECT_RELEASE}/lib/no-dpmem$(LIB_VARIANT).rel: $(ARCH)/no-dpmem$(LIB_VARIANT).rel ${PROJECT_RELEASE}/lib/$(dirstamp)
     53        $(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/no-dpmem$(LIB_VARIANT).rel
     54TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/no-dpmem$(LIB_VARIANT).rel
     55
     56${PROJECT_RELEASE}/lib/no-event$(LIB_VARIANT).rel: $(ARCH)/no-event$(LIB_VARIANT).rel ${PROJECT_RELEASE}/lib/$(dirstamp)
     57        $(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/no-event$(LIB_VARIANT).rel
     58TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/no-event$(LIB_VARIANT).rel
     59
     60${PROJECT_RELEASE}/lib/no-msg$(LIB_VARIANT).rel: $(ARCH)/no-msg$(LIB_VARIANT).rel ${PROJECT_RELEASE}/lib/$(dirstamp)
     61        $(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/no-msg$(LIB_VARIANT).rel
     62TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/no-msg$(LIB_VARIANT).rel
     63
     64${PROJECT_RELEASE}/lib/no-mp$(LIB_VARIANT).rel: $(ARCH)/no-mp$(LIB_VARIANT).rel ${PROJECT_RELEASE}/lib/$(dirstamp)
     65        $(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/no-mp$(LIB_VARIANT).rel
     66TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/no-mp$(LIB_VARIANT).rel
     67
     68${PROJECT_RELEASE}/lib/no-part$(LIB_VARIANT).rel: $(ARCH)/no-part$(LIB_VARIANT).rel ${PROJECT_RELEASE}/lib/$(dirstamp)
     69        $(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/no-part$(LIB_VARIANT).rel
     70TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/no-part$(LIB_VARIANT).rel
     71
     72${PROJECT_RELEASE}/lib/no-region$(LIB_VARIANT).rel: $(ARCH)/no-region$(LIB_VARIANT).rel ${PROJECT_RELEASE}/lib/$(dirstamp)
     73        $(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/no-region$(LIB_VARIANT).rel
     74TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/no-region$(LIB_VARIANT).rel
     75
     76${PROJECT_RELEASE}/lib/no-rtmon$(LIB_VARIANT).rel: $(ARCH)/no-rtmon$(LIB_VARIANT).rel ${PROJECT_RELEASE}/lib/$(dirstamp)
     77        $(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/no-rtmon$(LIB_VARIANT).rel
     78TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/no-rtmon$(LIB_VARIANT).rel
     79
     80${PROJECT_RELEASE}/lib/no-sem$(LIB_VARIANT).rel: $(ARCH)/no-sem$(LIB_VARIANT).rel ${PROJECT_RELEASE}/lib/$(dirstamp)
     81        $(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/no-sem$(LIB_VARIANT).rel
     82TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/no-sem$(LIB_VARIANT).rel
     83
     84${PROJECT_RELEASE}/lib/no-signal$(LIB_VARIANT).rel: $(ARCH)/no-signal$(LIB_VARIANT).rel ${PROJECT_RELEASE}/lib/$(dirstamp)
     85        $(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/no-signal$(LIB_VARIANT).rel
     86TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/no-signal$(LIB_VARIANT).rel
     87
     88${PROJECT_RELEASE}/lib/no-timer$(LIB_VARIANT).rel: $(ARCH)/no-timer$(LIB_VARIANT).rel ${PROJECT_RELEASE}/lib/$(dirstamp)
     89        $(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/no-timer$(LIB_VARIANT).rel
     90TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/no-timer$(LIB_VARIANT).rel
     91
    4892include $(top_srcdir)/automake/local.am
Note: See TracChangeset for help on using the changeset viewer.