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 wintools_WORKDIR
:= $(call gb_CustomTarget_get_workdir
,setup_native
/wintools
)
11 wintools_SRCDIR
:= $(SRCDIR
)/setup_native
/source
/win32
/wintools
13 $(eval
$(call gb_CustomTarget_CustomTarget
,setup_native
/wintools
))
15 $(eval
$(call gb_CustomTarget_register_targets
,setup_native
/wintools
,\
23 $(wintools_WORKDIR
)/makecab.exe
: $(wintools_SRCDIR
)/makecab
/makecab.c
$(wintools_SRCDIR
)/makecab
/parseddf.c
24 $(WINEGCC
) -o
$@
$< -m32
-mconsole
-lmsi
26 $(wintools_WORKDIR
)/msidb.exe
: $(wintools_SRCDIR
)/msidb
/msidb.c
27 $(WINEGCC
) -o
$@
$< -m32
-municode
-lmsi
29 $(wintools_WORKDIR
)/msiinfo.exe
: $(wintools_SRCDIR
)/msiinfo
/msiinfo.c
30 $(WINEGCC
) -o
$@
$< -m32
-mconsole
-municode
-lmsi
32 $(wintools_WORKDIR
)/msimsp.exe
: $(wintools_SRCDIR
)/msimsp
/msimsp.c
33 $(WINEGCC
) -o
$@
$< -m32
-mconsole
-lmsi
35 $(wintools_WORKDIR
)/msitran.exe
: $(wintools_SRCDIR
)/msitran
/msitran.c
36 $(WINEGCC
) -o
$@
$< -m32
-mconsole
-lmsi
38 # vim: set noet sw=4 ts=4: