summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libstore/Makefile6
1 files changed, 5 insertions, 1 deletions
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) $< $@