summaryrefslogtreecommitdiff
path: root/setup_native/source/win32/wintools/msiinfo/makefile.mk
blob: 58d986e8f00b59428495b92a60c41e69251c92df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#
# 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/.
#

PRJ=..$/..$/..$/..
PRJNAME=setup_native
TARGET=sn_msiinfo


# --- Settings -----------------------------------------------------

.INCLUDE : settings.mk

# --- Files --------------------------------------------------------

.IF "$(WINEGCC)"==""
@all:
    @echo "No winegcc present, not building msiinfo..."
.ELSE
@all: $(BIN)/msiinfo.exe $(BIN)/msiinfo.exe.so

$(BIN)/msiinfo.exe.so: $(BIN)/msiinfo.exe

$(BIN)/msiinfo.exe:
	$(WINEGCC) -o $(BIN)/msiinfo.exe msiinfo.c -m32 -mconsole -municode -lmsi

# --- Targets --------------------------------------------------------------

.INCLUDE : target.mk

.ENDIF