summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makeconf11
1 files changed, 4 insertions, 7 deletions
diff --git a/Makeconf b/Makeconf
index 12c10f9e..fbad837a 100644
--- a/Makeconf
+++ b/Makeconf
@@ -201,14 +201,11 @@ $(INSTALLED_LOCAL_HEADERS): $(top_srcdir)/$(installhdrsubdir)/%:
endif
libs: $(INSTALLED_LOCAL_HEADERS)
-$(libdir)/$(libname)_p.a: $(libname)_p.a
- $(INSTALL_DATA) $(libname)_p.a $(libdir)/$(libname)_p.a
- $(RANLIB) $(libdir)/$(libname)_p.a
-$(libdir)/$(libname).a: $(libname).a
- $(INSTALL_DATA) $(libname).a $(libdir)/$(libname).a
- $(RANLIB) $(libdir)/$(libname).a
+$(addprefix $(libdir)/$(libname),_p.a .a): $(libdir)/%: %
+ $(INSTALL_DATA) $< $@
+ $(RANLIB) $@
$(libdir)/$(libname).so: $(libname).so
- $(INSTALL_DATA) $(libname).so $(libdir)/$(libname).so
+ $(INSTALL_DATA) $< $@
$(addprefix $(includedir)/$(installhdrsubdir)/,$(installhdrs)): $(includedir)/$(installhdrsubdir)/%: %
$(INSTALL_DATA) $< $@