summaryrefslogtreecommitdiffstats
path: root/automake/lib.am
diff options
context:
space:
mode:
Diffstat (limited to 'automake/lib.am')
-rw-r--r--automake/lib.am18
1 files changed, 18 insertions, 0 deletions
diff --git a/automake/lib.am b/automake/lib.am
new file mode 100644
index 0000000000..85c8c09e95
--- /dev/null
+++ b/automake/lib.am
@@ -0,0 +1,18 @@
+##
+## $Id$
+##
+
+include $(RTEMS_ROOT)/make/leaf.cfg
+
+define make-library
+$(RM) $@
+$(AR) $(ARFLAGS) $@ $^
+$(RANLIB) $@
+endef
+
+TMPINSTALL_FILES = $(PROJECT_RELEASE)/lib
+
+$(PROJECT_INCLUDE)/lib:
+ @$(mkinstalldirs) $@
+
+.PRECIOUS: $(LIB)