fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / mingw-externals / CustomTarget_jawt.mk
blob1fb5fa872eb25f21d2e91fa62b13fdff8e5531ff
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_CustomTarget_CustomTarget,external/jawt))
12 $(eval $(call gb_CustomTarget_register_targets,external/jawt,\
13 jawt.def \
14 libjawt.dll.a \
17 ifeq ($(OS)-$(CPUNAME),WNT-X86_64)
18 $(call gb_CustomTarget_get_workdir,external/jawt)/jawt.def:
19 $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),ECH,1)
20 echo EXPORTS > $@
21 echo "JAWT_GetAWT" >> $@
22 else
23 $(call gb_CustomTarget_get_workdir,external/jawt)/jawt.def:
24 $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),ECH,1)
25 echo EXPORTS > $@
26 echo "JAWT_GetAWT@8" >> $@
27 endif
29 $(call gb_CustomTarget_get_workdir,external/jawt)/libjawt.dll.a: $(call gb_CustomTarget_get_workdir,external/jawt)/jawt.def
30 $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),DLT,1)
31 $(DLLTOOL) --input-def=$< --output-lib=$@ --dllname=jawt.dll
33 # vim:set shiftwidth=4 tabstop=4 noexpandtab: