Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>

to convert the libmisc directory from Makefile.in to Makefile.am.
This commit is contained in:
Joel Sherrill
1999-11-23 13:52:59 +00:00
parent fd170023c5
commit d5b004b6e3
16 changed files with 26 additions and 36 deletions

View File

@@ -32,7 +32,7 @@ $(PROJECT_INCLUDE)/rtems/%.h: %.h
# (OPTIONAL) Add local stuff here using +=
#
${LIB}: ${SRCS} ${OBJS}
${LIB}: ${OBJS}
$(make-library)
all: ${ARCH} $(PREINSTALL_FILES) $(LIB) $(TMPINSTALL_FILES)

View File

@@ -11,9 +11,7 @@ PGM = ${ARCH}/$(PGMNAME).rel
C_FILES = dummy.c
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
H_FILES =
SRCS = $(C_FILES) $(H_FILES)
SRCS = $(C_FILES)
OBJS = $(C_O_FILES)
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
@@ -23,14 +21,14 @@ TMPINSTALL_FILES = \
$(PROJECT_INCLUDE)/rtems \
$(PROJECT_RELEASE)/lib/$(PGMNAME)$(LIB_VARIANT).rel
$(PROJECT_INCLUDE)/rtems):
$(PROJECT_INCLUDE)/rtems:
@$(mkinstalldirs) $@
#
# (OPTIONAL) Add local stuff here using +=
#
${PGM}: ${SRCS} ${OBJS}
${PGM}: ${OBJS}
$(make-rel)
$(PROJECT_RELEASE)/lib/$(PGMNAME)$(LIB_VARIANT).rel: $(PGM)

View File

@@ -33,7 +33,7 @@ $(PROJECT_INCLUDE)/rtems/%.h: %.h
# (OPTIONAL) Add local stuff here using +=
#
${LIB}: ${SRCS} ${OBJS}
${LIB}: ${OBJS}
$(make-library)
all: ${ARCH} $(PREINSTALL_FILES) $(LIB) $(TMPINSTALL_FILES)

View File

@@ -43,7 +43,7 @@ $(PROJECT_INCLUDE)/rtems/%.h: %.h
# (OPTIONAL) Add local stuff here using +=
#
${LIB}: ${SRCS} ${OBJS}
${LIB}: ${OBJS}
$(make-library)
all: ${ARCH} $(PREINSTALL_FILES) $(LIB) $(TMPINSTALL_FILES)

View File

@@ -32,7 +32,7 @@ $(PROJECT_INCLUDE)/rtems/%.h: %.h
# (OPTIONAL) Add local stuff here using +=
#
${LIB}: ${SRCS} ${OBJS}
${LIB}: ${OBJS}
$(make-library)
all: ${ARCH} $(PREINSTALL_FILES) $(LIB) $(TMPINSTALL_FILES)

View File

@@ -33,7 +33,7 @@ $(PROJECT_INCLUDE)/rtems/%.h: %.h
# (OPTIONAL) Add local stuff here using +=
#
${LIB}: ${SRCS} ${OBJS}
${LIB}: ${OBJS}
$(make-library)
all: ${ARCH} $(PREINSTALL_FILES) $(LIB) $(TMPINSTALL_FILES)

View File

@@ -32,7 +32,7 @@ $(PROJECT_INCLUDE)/rtems/%.h: %.h
# (OPTIONAL) Add local stuff here using +=
#
${LIB}: ${SRCS} ${OBJS}
${LIB}: ${OBJS}
$(make-library)
all: ${ARCH} $(PREINSTALL_FILES) $(LIB) $(TMPINSTALL_FILES)

View File

@@ -8,20 +8,17 @@ LIBNAME = libmisc
LIB = ${ARCH}/$(LIBNAME).a
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(RTEMS_ROOT)/make/lib.cfg
include $(top_srcdir)/../../../automake/lib.am
TMP_LIBS = ../monitor/$(ARCH)/libmonitor-tmp.a ../untar/$(ARCH)/libuntar-tmp.a \
../stackchk/$(ARCH)/libstackchk-tmp.a ../cpuuse/$(ARCH)/libcpuuse-tmp.a \
../rtmonuse/$(ARCH)/librtmonuse-tmp.a \
../dumpbuf/$(ARCH)/libdumpbuf-tmp.a
TMPINSTALL_FILES = \
$(PROJECT_RELEASE)/lib \
$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIBSUFFIX_VA)
TMPINSTALL_FILES += \
$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
$(PROJECT_RELEASE)/lib:
@$(mkinstalldirs) $@
$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIBSUFFIX_VA): $(LIB)
$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
$(INSTALL_DATA) $< $@
#