summaryrefslogtreecommitdiffstats
path: root/c/src/automake/lib.am
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-08-16 09:13:33 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-08-16 09:13:33 +0000
commit11a26b990805fcfad7bc12c6813f19bddaa88f32 (patch)
treebce15e8760797bd729b12c07bcd457c31d38bb0a /c/src/automake/lib.am
parentCorrect PR number. (diff)
downloadrtems-11a26b990805fcfad7bc12c6813f19bddaa88f32.tar.bz2
2003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/compile.am, automake/force-preinstall.am, automake/host.am, automake/lib.am, automake/local.am, automake/subdirs.am: New (copied from ../../automake).
Diffstat (limited to 'c/src/automake/lib.am')
-rw-r--r--c/src/automake/lib.am23
1 files changed, 23 insertions, 0 deletions
diff --git a/c/src/automake/lib.am b/c/src/automake/lib.am
new file mode 100644
index 0000000000..cebdc20377
--- /dev/null
+++ b/c/src/automake/lib.am
@@ -0,0 +1,23 @@
+##
+## $Id$
+##
+
+## LD = @LD@
+AR = @AR@
+RANLIB = @RANLIB@
+
+ARFLAGS = ruv
+
+define make-library
+test -d $(ARCH) || mkdir $(ARCH)
+$(RM) $@
+$(AR) $(ARFLAGS) $@ $^
+$(RANLIB) $@
+endef
+
+$(PROJECT_RELEASE)/lib:
+ @$(mkinstalldirs) $@
+
+TMPINSTALL_FILES = $(PROJECT_RELEASE)/lib
+
+.PRECIOUS: $(LIB)