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
,\
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)
21 echo
"JAWT_GetAWT" >> $@
23 $(call gb_CustomTarget_get_workdir
,external
/jawt
)/jawt.def
:
24 $(call gb_Output_announce
,$(subst $(WORKDIR
)/,,$@
),$(true
),ECH
,1)
26 echo
"JAWT_GetAWT@8" >> $@
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: