summaryrefslogtreecommitdiff
path: root/sofort/exrules/pe-dlltool.mk
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-04-24 21:51:33 +0000
committermidipix <writeonce@midipix.org>2021-04-25 12:14:41 +0000
commit092ccd97aabe048cb5730b5799d712332c98a9da (patch)
tree010e0fd7e54ef74f40d450f224c5a08814c8e2bc /sofort/exrules/pe-dlltool.mk
parent39ac7633040a27354c7343e084f966b5e567be06 (diff)
downloadsbmake-092ccd97aabe048cb5730b5799d712332c98a9da.tar.bz2
sbmake-092ccd97aabe048cb5730b5799d712332c98a9da.tar.xz
build system: created skeleton.
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