136 lines
7.7 KiB
Makefile
136 lines
7.7 KiB
Makefile
#
|
||
# Copyright 1991-2016 Amebis
|
||
# Copyright 2016 GÉANT
|
||
#
|
||
# This file is part of GÉANTLink.
|
||
#
|
||
# GÉANTLink 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.
|
||
#
|
||
# GÉANTLink 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 GÉANTLink. If not, see <http://www.gnu.org/licenses/>.
|
||
#
|
||
|
||
######################################################################
|
||
# MSI General Package Information
|
||
|
||
LANG=En
|
||
MSIBUILD_PRODUCT_NAME=GÉANTLink
|
||
MSIBUILD_LANGID=1033
|
||
MSIBUILD_CODEPAGE=1252
|
||
|
||
|
||
######################################################################
|
||
# Project name variations for directory variables & stuff
|
||
|
||
MSIBUILD_PRODUCT_NAME_ID=GEANTLink
|
||
MSIBUILD_PRODUCT_NAME_UC=GEANTLINK
|
||
MSIBUILD_PRODUCT_NAME_8_3=GEANTL~1
|
||
|
||
|
||
######################################################################
|
||
# The base name of the output MSI file
|
||
|
||
MSIBUILD_TARGET=GEANTLink
|
||
!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\Version.h
|
||
|
||
|
||
######################################################################
|
||
# Working/output folder for building MSI file
|
||
# (relative from MSIBuild folder)
|
||
|
||
MSIBUILD_OUTPUT_DIR=..\..\output
|
||
|
||
|
||
######################################################################
|
||
# Path to MSIBuild folder
|
||
# (relative from Base folder)
|
||
|
||
MSIBUILD_ROOT=..\MSIBuild
|
||
|
||
|
||
######################################################################
|
||
# GUID used to determine MSI upgrade logic
|
||
|
||
!IF "$(PLAT)" == "x64"
|
||
MSIBUILD_UPGRADE_GUID={3B90FD10-2DB4-4729-8081-C5668BA0BD2F}
|
||
!ELSE
|
||
MSIBUILD_UPGRADE_GUID={41546260-2E34-40C3-9890-1FF733E71C6D}
|
||
!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" \
|
||
"Main\$(LANG).$(PLAT).$(CFG).msm" \
|
||
"..\..\lib\Events\MSIBuild\$(LANG).$(PLAT).$(CFG).msm" \
|
||
"..\..\EAPMethods\MSIBuild\$(LANG).$(PLAT).$(CFG).msm" \
|
||
"..\..\EventMonitor\MSIBuild\$(LANG).$(PLAT).$(CFG).msm"
|