summaryrefslogtreecommitdiff
path: root/external/CustomTarget_wine.mk
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2012-12-17 17:48:00 -0500
committerDavid Tardon <dtardon@redhat.com>2012-12-25 09:39:47 +0100
commit5b0d2d02a51dcf6c4235124f7d92280877fbb3df (patch)
tree8e647659f49cda94467bcf934cf3f6ceee68b212 /external/CustomTarget_wine.mk
parent2d8a50d3f8a5af914e2e184796bfab05df52c539 (diff)
convert external to gbuild
Change-Id: I7127db6aad9e97a0f3e758aa83b22ac8465d3f43
Diffstat (limited to 'external/CustomTarget_wine.mk')
-rw-r--r--external/CustomTarget_wine.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/external/CustomTarget_wine.mk b/external/CustomTarget_wine.mk
new file mode 100644
index 000000000000..7796e8c8bce5
--- /dev/null
+++ b/external/CustomTarget_wine.mk
@@ -0,0 +1,23 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_CustomTarget_CustomTarget,external/wine))
+
+$(eval $(call gb_CustomTarget_register_targets,external/wine,\
+ libgdiplus.dll.a \
+ libmsi.dll.a \
+ liburlmod.dll.a \
+))
+
+$(call gb_CustomTarget_get_target,external/wine)/lib%.dll.a: $(call gb_CustomTarget_get_workdir,external/wine)/%.def | \
+ $(call gb_CustomTarget_get_workdir,external/wine)/.dir
+ $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),DLT,1)
+ $(DLLTOOL) --kill-at --input-def=$< --output-lib=$@ --dllname=$*.dll
+
+# vim:set shiftwidth=4 tabstop=4 noexpandtab: