From db3e01084a9f489dca50ad5a834c12542fd853dc Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 21 Dec 1999 14:32:00 +0000 Subject: Patch rtems-rc-19991203-6.diff from Ralf Corsepius which fixes a nasty dependency bug in optman/Makefile.am. Those directories have been build twice before, i.e. re-running make after having built rtems before, was rebuilding the files in optman/ directories. To apply: patch -p1 < rtems-rc-19991203-6.diff ./bootstrap --- c/src/exec/posix/optman/Makefile.am | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) (limited to 'c/src/exec/posix') diff --git a/c/src/exec/posix/optman/Makefile.am b/c/src/exec/posix/optman/Makefile.am index 99da45f754..bf02adffdd 100644 --- a/c/src/exec/posix/optman/Makefile.am +++ b/c/src/exec/posix/optman/Makefile.am @@ -5,18 +5,30 @@ AUTOMAKE_OPTIONS = foreign 1.4 C_FILES = -H_FILES = - C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o) -SRCS = $(C_FILES) -OBJS = $(C_O_FILES) - PGMS = $(C_FILES:%.c=$(ARCH)/%.rel) include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg +include $(top_srcdir)/../../../../automake/lib.am + +TMPINSTALL_FILES += \ +$(C_FILES:%.c=$(PROJECT_RELEASE)/lib/%$(LIB_VARIANT).rel) + +$(PROJECT_RELEASE)/lib/%$(LIB_VARIANT).rel: $(ARCH)/%.rel + $(INSTALL_DATA) $< $@ + +# +# (OPTIONAL) Add local stuff here using += +# AM_CFLAGS += $(CFLAGS_OS_V) +ASM4FLAGS += -I$(PROJECT_INCLUDE)/rtems + +all-local: ${ARCH} $(PGMS) $(TMPINSTALL_FILES) + +.PRECIOUS: $(PGMS) + +EXTRA_DIST = $(C_FILES) include $(top_srcdir)/../../../../automake/local.am -- cgit v1.2.3