summaryrefslogtreecommitdiffstats
path: root/c/src/librtems++/src/Makefile.am
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-23 14:10:05 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-23 14:10:05 +0000
commit23e3f642e4f0753029b4bd4d444cd94b8f4bb4c6 (patch)
treee514d60d91bdb207f0ef720199ef8d1e21e80ca5 /c/src/librtems++/src/Makefile.am
parent9f4868cea9c37ff42c0c01dd217c6710a6dda2aa (diff)
downloadrtems-23e3f642e4f0753029b4bd4d444cd94b8f4bb4c6.tar.bz2
Missed in previous automake conversion patches from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
Diffstat (limited to '')
-rw-r--r--c/src/librtems++/src/Makefile.am33
1 files changed, 33 insertions, 0 deletions
diff --git a/c/src/librtems++/src/Makefile.am b/c/src/librtems++/src/Makefile.am
new file mode 100644
index 0000000000..b4f3d87cca
--- /dev/null
+++ b/c/src/librtems++/src/Makefile.am
@@ -0,0 +1,33 @@
+##
+## $Id$
+##
+
+AUTOMAKE_OPTIONS = foreign 1.4
+
+LIBNAME = librtems++
+LIB = ${ARCH}/${LIBNAME}.a
+
+CC_FILES = rtemsEvent.cc rtemsInterrupt.cc rtemsMessageQueue.cc \
+ rtemsSemaphore.cc rtemsStatusCode.cc rtemsTask.cc rtemsTimer.cc
+CC_O_FILES = $(CC_FILES:%.cc=${ARCH}/%.o)
+
+SRCS = $(CC_FILES)
+OBJS = $(CC_O_FILES)
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+include $(top_srcdir)/../../../automake/lib.am
+
+AM_CFLAGS += $(LIBC_DEFINES)
+
+TMPINSTALL_FILES += \
+$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
+
+$(LIB): ${OBJS}
+ $(make-library)
+
+$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
+ $(INSTALL_DATA) $< $@
+
+all: ${ARCH} $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
+
+include $(top_srcdir)/../../../automake/local.am