From 493f0d8a8b5dcc8011797959e972ccfa38f9f845 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 14 Mar 2002 21:29:15 +0000 Subject: 2002-03-14 Roland McGrath * Makefile (cleantarg): Append $(store-types:%=libstore_%.a) here. (all): Depend on that list too. (install): Depend on those files in $(libdir). ($(store-types:%=$(libdir)/libstore_%.a): $(libdir)/%: %): New static pattern rule to install them. --- libstore/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libstore/Makefile b/libstore/Makefile index 93dc1562..7fa566b4 100644 --- a/libstore/Makefile +++ b/libstore/Makefile @@ -100,6 +100,10 @@ libstore_%.so.$(hurd-version): %_pic.o libstore.so $(store-types:%=libstore_%.a): libstore_%.a: $(srcdir)/Makefile $(CC) -r -nostdlib -nostartfiles -x c /dev/null \ -o $@ -u store_$*_class +cleantarg += $(store-types:%=libstore_%.a) -# XXX need to install these all: $(store-types:%=libstore_%.a) + +install: $(store-types:%=$(libdir)/libstore_%.a) +$(store-types:%=$(libdir)/libstore_%.a): $(libdir)/%: % + $(INSTALL_DATA) $< $@ -- cgit v1.2.3