From b11cd520d1b05dbebd947dfe3c3ba7ba0a732006 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Tue, 24 Aug 1999 22:09:36 -0700 Subject: [PATCH] smarter automatic module inherit (IM(NS)HO) Rev: src/modules/dynamic_module_makefile.in:1.55 --- src/modules/dynamic_module_makefile.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/modules/dynamic_module_makefile.in b/src/modules/dynamic_module_makefile.in index 00640f441a..c68bb92da6 100644 --- a/src/modules/dynamic_module_makefile.in +++ b/src/modules/dynamic_module_makefile.in @@ -1,5 +1,5 @@ # -# $Id: dynamic_module_makefile.in,v 1.54 1999/05/29 17:52:19 grubba Exp $ +# $Id: dynamic_module_makefile.in,v 1.55 1999/08/25 05:09:36 hubbe Exp $ # @@ -32,8 +32,9 @@ $(MODULE_ARCHIVES) ThisIsAPhonyTargetBlaBlaBla: force dummy: $(DUMMY) linker_options modlist_headers modlist_segment module.so @tmp="$(INSTALL_NAME)" ; \ if test x$$tmp = x ; then tmp="$(MODNAME)"; else :; fi ;\ - $(TMP_BINDIR)/install_module module.so $(TMP_LIBDIR)/modules/$$tmp.so ;\ - if [ -f $(SRCDIR)/module.pmod.in ]; then sed -e "s/@module@/\"$$tmp\"/" <$(SRCDIR)/module.pmod.in >$(TMP_LIBDIR)/modules/$$tmp.pmod ; else if [ -f ./module.pmod.in ]; then sed -e "s/@module@/\"$$tmp\"/" <./module.pmod.in >$(TMP_LIBDIR)/modules/$$tmp.pmod; else :; fi; fi + tmp2="___$$tmp" ; \ + if [ -f $(SRCDIR)/module.pmod.in ]; then sed -e "s/@module@/.$$tmp2/" <$(SRCDIR)/module.pmod.in >$(TMP_LIBDIR)/modules/$$tmp.pmod ; else if [ -f ./module.pmod.in ]; then sed -e "s/@module@/.$$tmp2/" <./module.pmod.in >$(TMP_LIBDIR)/modules/$$tmp.pmod; else tmp2="$$tmp"; fi; fi ; \ + $(TMP_BINDIR)/install_module module.so $(TMP_LIBDIR)/modules/$$tmp2.so linker_options: Makefile echo "$(LINKER_OPTIONS)" >linker_options -- GitLab