Skip to content
Snippets Groups Projects
Commit b11cd520 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

smarter automatic module inherit (IM(NS)HO)

Rev: src/modules/dynamic_module_makefile.in:1.55
parent d6cf848b
No related branches found
No related tags found
No related merge requests found
# #
# $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 ...@@ -32,8 +32,9 @@ $(MODULE_ARCHIVES) ThisIsAPhonyTargetBlaBlaBla: force
dummy: $(DUMMY) linker_options modlist_headers modlist_segment module.so dummy: $(DUMMY) linker_options modlist_headers modlist_segment module.so
@tmp="$(INSTALL_NAME)" ; \ @tmp="$(INSTALL_NAME)" ; \
if test x$$tmp = x ; then tmp="$(MODNAME)"; else :; fi ;\ if test x$$tmp = x ; then tmp="$(MODNAME)"; else :; fi ;\
$(TMP_BINDIR)/install_module module.so $(TMP_LIBDIR)/modules/$$tmp.so ;\ tmp2="___$$tmp" ; \
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 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 linker_options: Makefile
echo "$(LINKER_OPTIONS)" >linker_options echo "$(LINKER_OPTIONS)" >linker_options
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment