2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* src/Makefile.am: Add bsplib_DATA. Eliminate LIBNAME. Cosmetical
	changes.
This commit is contained in:
Ralf Corsepius
2002-07-22 06:14:20 +00:00
parent 247874ae01
commit 85107726ef
2 changed files with 14 additions and 9 deletions

View File

@@ -1,3 +1,8 @@
2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/Makefile.am: Add bsplib_DATA. Eliminate LIBNAME. Cosmetical
changes.
2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: * configure.ac:

View File

@@ -2,9 +2,11 @@
## $Id$ ## $Id$
## ##
LIB = ${ARCH}/librtems++.a
LIBNAME = librtems++ include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
LIB = ${ARCH}/${LIBNAME}.a include $(top_srcdir)/../../../automake/compile.am
include $(top_srcdir)/../../../automake/lib.am
CC_FILES = rtemsEvent.cc rtemsInterrupt.cc rtemsMessageQueue.cc \ CC_FILES = rtemsEvent.cc rtemsInterrupt.cc rtemsMessageQueue.cc \
rtemsSemaphore.cc rtemsStatusCode.cc rtemsTask.cc rtemsTimer.cc rtemsSemaphore.cc rtemsStatusCode.cc rtemsTask.cc rtemsTimer.cc
@@ -13,18 +15,16 @@ CC_O_FILES = $(CC_FILES:%.cc=${ARCH}/%.o)
SRCS = $(CC_FILES) SRCS = $(CC_FILES)
OBJS = $(CC_O_FILES) OBJS = $(CC_O_FILES)
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../../../automake/compile.am
include $(top_srcdir)/../../../automake/lib.am
AM_CFLAGS += $(LIBC_DEFINES) AM_CFLAGS += $(LIBC_DEFINES)
TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/librtems++$(LIB_VARIANT).a
$(LIB): ${OBJS} bsplib_DATA = $(LIB)
$(LIB): $(OBJS)
$(make-library) $(make-library)
$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB) $(PROJECT_RELEASE)/lib/librtems++$(LIB_VARIANT).a: $(LIB)
$(INSTALL_DATA) $< $@ $(INSTALL_DATA) $< $@
all-local: ${ARCH} $(PREINSTALL_FILES) $(TMPINSTALL_FILES) all-local: ${ARCH} $(PREINSTALL_FILES) $(TMPINSTALL_FILES)