2013-02-07 18:17:22 -06:00
|
|
|
# -*- 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/.
|
|
|
|
#
|
|
|
|
|
|
|
|
wintools_WORKDIR := $(call gb_CustomTarget_get_workdir,setup_native/wintools)
|
|
|
|
wintools_SRCDIR := $(SRCDIR)/setup_native/source/win32/wintools
|
|
|
|
|
|
|
|
$(eval $(call gb_CustomTarget_CustomTarget,setup_native/wintools))
|
|
|
|
|
|
|
|
$(eval $(call gb_CustomTarget_register_targets,setup_native/wintools,\
|
|
|
|
makecab.exe \
|
|
|
|
msidb.exe \
|
|
|
|
msiinfo.exe \
|
|
|
|
msimsp.exe \
|
|
|
|
msitran.exe \
|
|
|
|
))
|
|
|
|
|
2013-02-10 03:31:51 -06:00
|
|
|
$(wintools_WORKDIR)/makecab.exe: $(wintools_SRCDIR)/makecab/makecab.c $(wintools_SRCDIR)/makecab/parseddf.c
|
2013-02-07 18:17:22 -06:00
|
|
|
$(WINEGCC) -o $@ $< -m32 -mconsole -lmsi
|
|
|
|
|
2013-02-10 03:31:51 -06:00
|
|
|
$(wintools_WORKDIR)/msidb.exe: $(wintools_SRCDIR)/msidb/msidb.c
|
2013-02-07 18:17:22 -06:00
|
|
|
$(WINEGCC) -o $@ $< -m32 -municode -lmsi
|
|
|
|
|
2013-02-10 03:31:51 -06:00
|
|
|
$(wintools_WORKDIR)/msiinfo.exe: $(wintools_SRCDIR)/msiinfo/msiinfo.c
|
2013-02-07 18:17:22 -06:00
|
|
|
$(WINEGCC) -o $@ $< -m32 -mconsole -municode -lmsi
|
|
|
|
|
2013-02-10 03:31:51 -06:00
|
|
|
$(wintools_WORKDIR)/msimsp.exe: $(wintools_SRCDIR)/msimsp/msimsp.c
|
2013-02-07 18:17:22 -06:00
|
|
|
$(WINEGCC) -o $@ $< -m32 -mconsole -lmsi
|
|
|
|
|
2013-02-10 03:31:51 -06:00
|
|
|
$(wintools_WORKDIR)/msitran.exe: $(wintools_SRCDIR)/msitran/msitran.c
|
2013-02-07 18:17:22 -06:00
|
|
|
$(WINEGCC) -o $@ $< -m32 -mconsole -lmsi
|
|
|
|
|
|
|
|
# vim: set noet sw=4 ts=4:
|