summaryrefslogtreecommitdiff
path: root/sofort/exrules/pe-mdso.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sofort/exrules/pe-mdso.mk')
-rw-r--r--sofort/exrules/pe-mdso.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/sofort/exrules/pe-mdso.mk b/sofort/exrules/pe-mdso.mk
new file mode 100644
index 0000000..9a3b941
--- /dev/null
+++ b/sofort/exrules/pe-mdso.mk
@@ -0,0 +1,18 @@
+# pe-mdso.mk: PE shared library rules for targets using mdso.
+# this file is covered by COPYING.SOFORT.
+
+include $(PROJECT_DIR)/sofort/exrules/pe-common.mk
+
+$(IMPLIB_VER): $(IMPLIB_DEF)
+ $(MDSO) -m $(CC_BITS) -i $(IMPLIB_VER) -n $(DSO_VER) -l $(DSO_LIBPATH) $<
+
+ifeq ($(AVOID_VERSION),yes)
+
+else
+
+$(IMPLIB_SONAME): $(IMPLIB_DEF)
+ $(MDSO) -m $(CC_BITS) -i $(IMPLIB_SONAME) -n $(DSO_SONAME) $(IMPLIB_DEF)
+
+endif
+
+include $(PROJECT_DIR)/sofort/exrules/pe-version.mk