188 lines
13 KiB
Makefile
188 lines
13 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/>.
|
||
#
|
||
|
||
!INCLUDE "..\..\include\MSIBuildCfg.mak"
|
||
|
||
!IFNDEF MSIBUILD_PRODUCT_NAME
|
||
!ERROR Parameter MSIBUILD_PRODUCT_NAME is undefined.
|
||
!ENDIF
|
||
|
||
!IFNDEF MSIBUILD_PRODUCT_NAME_UC
|
||
!ERROR Parameter MSIBUILD_PRODUCT_NAME_UC is undefined.
|
||
!ENDIF
|
||
|
||
MSIBUILD_IS_LOCALIZEABLE=1
|
||
|
||
|
||
######################################################################
|
||
# AppSearch
|
||
|
||
All :: "$(LANG).$(PLAT).$(CFG).AppSearch-1.idt"
|
||
|
||
"$(LANG).$(PLAT).$(CFG).AppSearch-1.idt" : "Makefile" "..\..\include\MSIBuildCfg.mak"
|
||
-if exist $@ del /f /q $@
|
||
move /y << $@ > NUL
|
||
Property Signature_
|
||
s$(MSIBUILD_LENGTH_ID) s$(MSIBUILD_LENGTH_ID)
|
||
AppSearch Property Signature_
|
||
OLD$(MSIBUILD_PRODUCT_NAME_UC)DIR clEventMonitor.exe.$(PLAT)
|
||
<<NOKEEP
|
||
|
||
|
||
######################################################################
|
||
# CompLocator
|
||
|
||
All :: "$(LANG).$(PLAT).$(CFG).CompLocator-1.idt"
|
||
|
||
"$(LANG).$(PLAT).$(CFG).CompLocator-1.idt" : "Makefile" "..\..\include\MSIBuildCfg.mak"
|
||
-if exist $@ del /f /q $@
|
||
move /y << $@ > NUL
|
||
Signature_ ComponentId Type
|
||
s$(MSIBUILD_LENGTH_ID) s38 I2
|
||
CompLocator Signature_
|
||
!IF "$(PLAT)" == "Win32"
|
||
clEventMonitor.exe.Win32 {3E4DDA0E-F8B2-4210-8D8A-90C221670B81} 1
|
||
!ENDIF
|
||
!IF "$(PLAT)" == "x64"
|
||
clEventMonitor.exe.x64 {B813B148-771A-49EB-8BE4-E76A3FA6B455} 1
|
||
!ENDIF
|
||
<<NOKEEP
|
||
|
||
|
||
######################################################################
|
||
# Component
|
||
|
||
All :: "$(LANG).$(PLAT).$(CFG).Component-1.idt"
|
||
|
||
"$(LANG).$(PLAT).$(CFG).Component-1.idt" : "Makefile" "..\..\include\MSIBuildCfg.mak"
|
||
-if exist $@ del /f /q $@
|
||
move /y << $@ > NUL
|
||
Component ComponentId Directory_ Attributes Condition KeyPath
|
||
s$(MSIBUILD_LENGTH_ID) S38 s$(MSIBUILD_LENGTH_ID) i2 S255 S$(MSIBUILD_LENGTH_ID)
|
||
Component Component
|
||
!IF "$(PLAT)" == "Win32"
|
||
compEventMonitor.exe.Win32 {3E4DDA0E-F8B2-4210-8D8A-90C221670B81} $(MSIBUILD_PRODUCT_NAME_UC)BINDIR 0 fileEventMonitor.exe.Win32
|
||
!ENDIF
|
||
!IF "$(PLAT)" == "x64"
|
||
compEventMonitor.exe.x64 {B813B148-771A-49EB-8BE4-E76A3FA6B455} $(MSIBUILD_PRODUCT_NAME_UC)BINDIR 256 fileEventMonitor.exe.x64
|
||
!ENDIF
|
||
<<NOKEEP
|
||
|
||
|
||
######################################################################
|
||
# Feature
|
||
|
||
All :: "$(LANG).$(PLAT).$(CFG).Feature-2.idt"
|
||
|
||
"En.$(PLAT).$(CFG).Feature-2.idtx" : "Makefile" "..\..\include\MSIBuildCfg.mak"
|
||
-if exist $@ del /f /q $@
|
||
move /y << $@ > NUL
|
||
Feature Feature_Parent Title Description Display Level Directory_ Attributes
|
||
s$(MSIBUILD_LENGTH_ID) S$(MSIBUILD_LENGTH_ID) L64 L255 I2 i2 S$(MSIBUILD_LENGTH_ID) i2
|
||
1252 Feature Feature
|
||
featEventMonitor Event Monitor Real-time display of internal events 101 3 $(MSIBUILD_PRODUCT_NAME_UC)DIR 8
|
||
<<NOKEEP
|
||
|
||
"En.$(PLAT).$(CFG).Feature-2.idt" : "En.$(PLAT).$(CFG).Feature-2.idtx"
|
||
copy /y $** $@ > NUL
|
||
|
||
|
||
######################################################################
|
||
# FeatureComponents
|
||
|
||
All :: "$(LANG).$(PLAT).$(CFG).FeatureComponents-1.idt"
|
||
|
||
"$(LANG).$(PLAT).$(CFG).FeatureComponents-1.idt" : "Makefile" "..\..\include\MSIBuildCfg.mak"
|
||
-if exist $@ del /f /q $@
|
||
move /y << $@ > NUL
|
||
Feature_ Component_
|
||
s$(MSIBUILD_LENGTH_ID) s$(MSIBUILD_LENGTH_ID)
|
||
FeatureComponents Feature_ Component_
|
||
featEventMonitor compEvents.dll.$(PLAT)
|
||
featEventMonitor compEvents1
|
||
featEventMonitor compEvents2
|
||
featEventMonitor compEvents3
|
||
featEventMonitor compEventMonitor.exe.$(PLAT)
|
||
<<NOKEEP
|
||
|
||
|
||
######################################################################
|
||
# File
|
||
|
||
All :: "$(LANG).$(PLAT).$(CFG).File-1.idt"
|
||
|
||
"$(LANG).$(PLAT).$(CFG).File-1.idt" : "Makefile" "..\..\include\MSIBuildCfg.mak"
|
||
-if exist $@ del /f /q $@
|
||
move /y << $@ > NUL
|
||
File Component_ FileName FileSize Version Language Attributes Sequence
|
||
s$(MSIBUILD_LENGTH_ID) s$(MSIBUILD_LENGTH_ID) l255 i4 S$(MSIBUILD_LENGTH_ID) S20 I2 i2
|
||
File File
|
||
fileEventMonitor.exe.$(PLAT) compEventMonitor.exe.$(PLAT) EVENTM~1.EXE|EventMonitor.exe 0 0 1536 1
|
||
<<NOKEEP
|
||
|
||
|
||
######################################################################
|
||
# RemoveFile
|
||
|
||
All :: "$(LANG).$(PLAT).$(CFG).RemoveFile-1.idt"
|
||
|
||
"$(LANG).$(PLAT).$(CFG).RemoveFile-1.idt" : "Makefile" "..\..\include\MSIBuildCfg.mak"
|
||
-if exist $@ del /f /q $@
|
||
move /y << $@ > NUL
|
||
FileKey Component_ FileName DirProperty InstallMode
|
||
s$(MSIBUILD_LENGTH_ID) s$(MSIBUILD_LENGTH_ID) L255 s$(MSIBUILD_LENGTH_ID) i2
|
||
RemoveFile FileKey
|
||
rmfiEventMonitor compEventMonitor.exe.$(PLAT) $(MSIBUILD_PRODUCT_NAME_ID)ShortcutDir 2
|
||
<<NOKEEP
|
||
|
||
|
||
######################################################################
|
||
# Shortcut
|
||
|
||
All :: "$(LANG).$(PLAT).$(CFG).Shortcut-2.idt"
|
||
|
||
"En.$(PLAT).$(CFG).Shortcut-2.idtx" : "Makefile" "..\..\include\MSIBuildCfg.mak"
|
||
-if exist $@ del /f /q $@
|
||
move /y << $@ > NUL
|
||
Shortcut Directory_ Name Component_ Target Arguments Description Hotkey Icon_ IconIndex ShowCmd WkDir
|
||
s$(MSIBUILD_LENGTH_ID) s$(MSIBUILD_LENGTH_ID) l128 s$(MSIBUILD_LENGTH_ID) s$(MSIBUILD_LENGTH_ID) S255 L255 I2 S$(MSIBUILD_LENGTH_ID) I2 I2 S$(MSIBUILD_LENGTH_ID)
|
||
1252 Shortcut Shortcut
|
||
shctEventMonitor $(MSIBUILD_PRODUCT_NAME_ID)ShortcutDir EVENTM~1|$(MSIBUILD_PRODUCT_NAME) Event Monitor compEventMonitor.exe.$(PLAT) featEventMonitor Real-time display of internal events $(MSIBUILD_PRODUCT_NAME_UC)BINDIR
|
||
<<NOKEEP
|
||
|
||
"De.$(PLAT).$(CFG).Shortcut-2.idt" : "En.$(PLAT).$(CFG).Shortcut-2.idtx" "..\L10N\de_DE.po"
|
||
rcxgettext.exe idtp $@ $**
|
||
|
||
"En.$(PLAT).$(CFG).Shortcut-2.idt" : "En.$(PLAT).$(CFG).Shortcut-2.idtx"
|
||
copy /y $** $@ > NUL
|
||
|
||
"It.$(PLAT).$(CFG).Shortcut-2.idt" : "En.$(PLAT).$(CFG).Shortcut-2.idtx" "..\L10N\it_IT.po"
|
||
rcxgettext.exe idtp $@ $**
|
||
|
||
"Sl.$(PLAT).$(CFG).Shortcut-2.idt" : "En.$(PLAT).$(CFG).Shortcut-2.idtx" "..\L10N\sl_SI.po"
|
||
rcxgettext.exe idtp $@ $**
|
||
|
||
|
||
######################################################################
|
||
# Build MSM module!
|
||
######################################################################
|
||
|
||
!INCLUDE "..\..\MSI\MSIBuild\MSM.mak"
|