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