ZRCola/MSI/include/MSIBuildCfg.mak

179 lines
11 KiB
Makefile
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#
# Copyright 1991-2016 Amebis
#
# This file is part of ZRCola.
#
# ZRCola is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# ZRCola is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
#
######################################################################
# MSI General Package Information (language dependant)
!IF "$(LANG)" == "Sl"
MSIBUILD_PRODUCT_NAME=ZRCola
MSIBUILD_PRODUCT_DESC=Vnašalni sistem za jezikoslovno rabo
MSIBUILD_VENDOR_NAME=Amebis, d. o. o., Kamnik
MSIBUILD_VENDOR_URL=http://www.amebis.si/
MSIBUILD_VENDOR_ADDRESS=Amebis, p. p. 69, 1241 Kamnik
MSIBUILD_VENDOR_PHONE=(01) 8311 035
MSIBUILD_PRODUCT_URL=$(MSIBUILD_VENDOR_URL)
MSIBUILD_PRODUCT_UPGRADE_URL=$(MSIBUILD_VENDOR_URL)
MSIBUILD_LANGID=1060
MSIBUILD_CODEPAGE=1250
!ELSE
LANG=En
MSIBUILD_PRODUCT_NAME=ZRCola
MSIBUILD_PRODUCT_DESC=Input system for linguistic use
MSIBUILD_VENDOR_NAME=Amebis, Slovenia, E.U.
MSIBUILD_VENDOR_URL=http://www.amebis.si/
MSIBUILD_VENDOR_ADDRESS=Amebis, p. p. 69, SI-1241 Kamnik, Slovenia, E.U.
MSIBUILD_VENDOR_PHONE=+386 1 8311 035
MSIBUILD_PRODUCT_URL=$(MSIBUILD_VENDOR_URL)
MSIBUILD_PRODUCT_UPGRADE_URL=$(MSIBUILD_VENDOR_URL)
MSIBUILD_LANGID=1033
MSIBUILD_CODEPAGE=1252
!ENDIF
######################################################################
# The base name of the output MSI file
MSIBUILD_TARGET=ZRCola$(LANG)
!IF "$(PLAT)" == "x64"
MSIBUILD_TARGET=$(MSIBUILD_TARGET)64
!ELSE
PLAT=Win32
MSIBUILD_TARGET=$(MSIBUILD_TARGET)32
!ENDIF
!IF "$(CFG)" == "Debug"
MSIBUILD_TARGET=$(MSIBUILD_TARGET)D
!ELSE
CFG=Release
!ENDIF
######################################################################
# Path to version file (relative from MSIBuild\Version folder)
MSIBUILD_VERSION_FILE=..\..\..\include\zrcola.h
######################################################################
# Working/output folder for building MSI file (relative from ZRCola
# folder)
MSIBUILD_OUTPUT_DIR=..\..\output
######################################################################
# Path to MSIBuild folder (relative from ZRCola folder)
MSIBUILD_ROOT=..\MSIBuild
######################################################################
# GUID used to determine MSI upgrade logic
!IF "$(PLAT)" == "x64"
MSIBUILD_UPGRADE_GUID={12AC2F89-DDE4-4C3C-BDB8-FF3C329C4098}
!ELSE
MSIBUILD_UPGRADE_GUID={A7562A6B-ADF8-4775-BBDD-BC125AE58C03}
!ENDIF
######################################################################
# Minimum MSI version required to install this package
MSIBUILD_MSI_VERSION_MIN=200
######################################################################
# Length of ID and help fields in MSI tables (in characters)
MSIBUILD_LENGTH_ID=128
MSIBUILD_LENGTH_HELP=256
######################################################################
# Should MSIBuild compress files into CAB itself?
MSIBUILD_COMPRESS=1
######################################################################
# Prevent installation of 32-bit MSI on 64-bit Windows
MSIBUILD_HAS_X64=1
MSIBUILD_NO_WOW64=1
######################################################################
# Component and registry settings (platform dependant)
!IF "$(PLAT)" == "x64"
MSIBUILD_COMPONENT_ATTRIB_FILE=256
MSIBUILD_COMPONENT_ATTRIB_REGISTRY=260
MSIBUILD_REG32_RELOCATION=\Wow6432Node
!ELSE
MSIBUILD_COMPONENT_ATTRIB_FILE=0
MSIBUILD_COMPONENT_ATTRIB_REGISTRY=4
MSIBUILD_REG32_RELOCATION=
!ENDIF
######################################################################
# List of modules to compile and include in link
MSIBUILD_MODULES=\
"$(MSIBUILD_ROOT)\Core\$(LANG).$(PLAT).$(CFG).msm" \
"$(MSIBUILD_ROOT)\Version\$(LANG).$(PLAT).$(CFG).msm" \
"$(MSIBUILD_ROOT)\UI\$(LANG).$(PLAT).$(CFG).msm" \
"..\MSICA\MSIBuild\$(LANG).$(PLAT).$(CFG).msm" \
"..\..\lib\MSICALib\MSIBuild\$(LANG).$(PLAT).$(CFG).msm" \
"..\..\lib\libZRCola\MSIBuild\$(LANG).$(PLAT).$(CFG).msm" \
"..\..\lib\libZRColaUI\MSIBuild\$(LANG).$(PLAT).$(CFG).msm" \
"..\..\lib\wxExtend\MSIBuild\$(LANG).$(PLAT).$(CFG).msm" \
"..\..\ZRCola\MSIBuild\$(LANG).$(PLAT).$(CFG).msm" \
"Main\$(LANG).$(PLAT).$(CFG).msm"
######################################################################
# List of precompiled MSM modules to include in link
MSIBUILD_MODULES_PRECOMPILED=\
!IF "$(CFG)" == "Debug"
!IF "$(PLAT)" == "x64"
"..\MSM\wxMSW_wxbase30ud_vc100_x64.msm" \
"..\MSM\wxMSW_wxmsw30ud_core_vc100_x64.msm"
!ELSE
"..\MSM\wxMSW_wxbase30ud_vc100.msm" \
"..\MSM\wxMSW_wxmsw30ud_core_vc100.msm"
!ENDIF
!ELSE
!IF "$(PLAT)" == "x64"
"..\MSM\wxMSW_wxbase30u_vc100_x64.msm" \
"..\MSM\wxMSW_wxmsw30u_core_vc100_x64.msm"
!ELSE
"..\MSM\wxMSW_wxbase30u_vc100.msm" \
"..\MSM\wxMSW_wxmsw30u_core_vc100.msm"
!ENDIF
!ENDIF
######################################################################
# wxExtend Module
WXEXTENDBINDIR=ZRCOLABINDIR
WXEXTENDLOCDIR=ZRCOLALOCDIR