summaryrefslogtreecommitdiffstats
path: root/cpukit/automake/lib.am
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2002-06-15 05:29:18 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2002-06-15 05:29:18 +0000
commit9ea3832c6cec1db5fc6c72862e2c9fad5e738431 (patch)
treeb0296c93ed4703b311f08c9474fd3d0fd4351eb6 /cpukit/automake/lib.am
parent2002-06-14 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-9ea3832c6cec1db5fc6c72862e2c9fad5e738431.tar.bz2
Copied over from the automake/
Diffstat (limited to 'cpukit/automake/lib.am')
-rw-r--r--cpukit/automake/lib.am22
1 files changed, 22 insertions, 0 deletions
diff --git a/cpukit/automake/lib.am b/cpukit/automake/lib.am
new file mode 100644
index 0000000000..7cb9db1148
--- /dev/null
+++ b/cpukit/automake/lib.am
@@ -0,0 +1,22 @@
+##
+## $Id$
+##
+
+## LD = @LD@
+AR = @AR@
+RANLIB = @RANLIB@
+
+ARFLAGS = ruv
+
+define make-library
+$(RM) $@
+$(AR) $(ARFLAGS) $@ $^
+$(RANLIB) $@
+endef
+
+$(PROJECT_RELEASE)/lib$(MULTISUBDIR):
+ @$(mkinstalldirs) $@
+
+TMPINSTALL_FILES = $(PROJECT_RELEASE)/lib$(MULTISUBDIR)
+
+.PRECIOUS: $(LIB)