From 6f8ab929848e76a83f4159e2d69c29db8d63fb7b Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Thu, 12 Jul 2007 13:24:15 +0000 Subject: [PATCH] so.mk: Install plugins into $(LIBDIR) --- make/so.mk | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/make/so.mk b/make/so.mk index 2b189443..f7191f79 100644 --- a/make/so.mk +++ b/make/so.mk @@ -4,9 +4,15 @@ # $Id$ include $(MODDIR)/make/defs.mk -ALL += $(SHOBJS) -LDFLAGS += -shared include $(MODDIR)/make/ldlibpath.mk +LDFLAGS += -shared include $(MODDIR)/make/rules.mk + +BUILD_SHOBJS = $(addprefix $(LIBDIR)/, $(SHOBJS)) +all: $(SHOBJS) $(BUILD_SHOBJS) + clean: objclean textclean localclean install: $(ALL) installso + +$(LIBDIR)/%.so: %.so + install -m 755 $< $@