Simon Rozman b55ddd7d86 Update Copyright and build year
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-11-22 15:31:23 +01:00

194 lines
15 KiB
Makefile

# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright © 1991-2021 Amebis
# Copyright © 2016 GÉANT
!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
!IFNDEF MSIBUILD_PLAT_GUID
!ERROR Parameter MSIBUILD_PLAT_GUID is undefined.
!ENDIF
!IFNDEF MSIBUILD_LANG_GUID
!ERROR Parameter MSIBUILD_LANG_GUID is undefined.
!ENDIF
MSIBUILD_IS_LOCALIZEABLE=1
!IF "$(LANG)" != "en_US"
MSIBUILD_PO="..\locale\$(LANG).po"
!ENDIF
######################################################################
# AppSearch
All :: "$(LANG).$(PLAT).$(CFG).AppSearch-1.idt"
"$(LANG).$(PLAT).$(CFG).AppSearch-1.idt" : "Makefile" "..\..\include\MSIBuildCfg.mak"
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"
move /y << $@ > NUL
Signature_ ComponentId Type
s$(MSIBUILD_LENGTH_ID) s38 I2
CompLocator Signature_
clEventMonitor.exe.$(PLAT) {3E4DDA0E-F8B2-4210-8D8$(MSIBUILD_PLAT_GUID)-90C221670B81} 1
<<NOKEEP
######################################################################
# Component
All :: "$(LANG).$(PLAT).$(CFG).Component-1.idt"
"$(LANG).$(PLAT).$(CFG).Component-1.idt" : "Makefile" "..\..\include\MSIBuildCfg.mak"
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
compEventMonitor.exe.$(PLAT) {3E4DDA0E-F8B2-4210-8D8$(MSIBUILD_PLAT_GUID)-90C221670B81} $(MSIBUILD_PRODUCT_NAME_UC)BINDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) fileEventMonitor.exe.$(PLAT)
!IF "$(LANG)" != "en_US"
compEventMonitor.mo.$(LANG) {289D4CED-93CB-41BC-$(MSIBUILD_LANG_GUID)-49AAF92A9D34} $(MSIBUILD_PRODUCT_NAME_UC)LOC$(MSIBUILD_LANG_GUID)DIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) fileEventMonitor.mo.$(LANG)
!ENDIF
<<NOKEEP
######################################################################
# Feature
All :: "$(LANG).$(PLAT).$(CFG).Feature-2.idt"
"en_US.$(PLAT).$(CFG).Feature-2.idtx" : "Makefile" "..\..\include\MSIBuildCfg.mak"
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
Feature Feature
featEventMonitor Event Monitor Real-time display of internal events 101 3 $(MSIBUILD_PRODUCT_NAME_UC)DIR 8
<<NOKEEP
"$(LANG).$(PLAT).$(CFG).Feature-2.idt" : "en_US.$(PLAT).$(CFG).Feature-2.idtx" $(MSIBUILD_PO)
cscript.exe "..\..\MSI\MSIBuild\MSI.wsf" //Job:IDTTranslate //Nologo $@ $** /CP:$(MSIBUILD_CODEPAGE)
######################################################################
# FeatureComponents
All :: "$(LANG).$(PLAT).$(CFG).FeatureComponents-1.idt"
"$(LANG).$(PLAT).$(CFG).FeatureComponents-1.idt" : "Makefile" "..\..\include\MSIBuildCfg.mak"
move /y << $@ > NUL
Feature_ Component_
s$(MSIBUILD_LENGTH_ID) s$(MSIBUILD_LENGTH_ID)
FeatureComponents Feature_ Component_
featEventMonitor compEvents.dll.$(PLAT)
featEventMonitor compEventsPublisher1
featEventMonitor compEventsPublisher2
featEventMonitor compEventsPublisher3
featEventMonitor compEventsPublisher4
featEventMonitor compEventsPublisherChannels
featEventMonitor compEventsPublisherChOperational1
featEventMonitor compEventsPublisherChOperational2
featEventMonitor compEventsPublisherChOperational3
featEventMonitor compEventsPublisherChAnalytic1
featEventMonitor compEventsPublisherChAnalytic2
featEventMonitor compEventsPublisherChAnalytic3
featEventMonitor compEventsChannelOperational1
featEventMonitor compEventsChannelOperational2
featEventMonitor compEventsChannelOperational3
featEventMonitor compEventsChannelOperational4
featEventMonitor compEventsChannelOperational5
featEventMonitor compEventsChannelOperational6
featEventMonitor compEventsChannelOperational7
featEventMonitor compEventsChannelOperational8
featEventMonitor compEventsChannelOperational9
featEventMonitor compEventsChannelAnalytic1
featEventMonitor compEventsChannelAnalytic2
featEventMonitor compEventsChannelAnalytic3
featEventMonitor compEventsChannelAnalytic4
featEventMonitor compEventsChannelAnalytic5
featEventMonitor compEventsChannelAnalytic6
featEventMonitor compEventsChannelAnalytic7
featEventMonitor compEventsChannelAnalytic8
featEventMonitor compEventMonitor.exe.$(PLAT)
featEventMonitor compLocalizationRepositoryPath
featEventMonitor compLanguage
!IF "$(LANG)" != "en_US"
featEventMonitor compwxstd.mo.$(LANG)
featEventMonitor compwxExtend.mo.$(LANG)
featEventMonitor compEventMonitor.mo.$(LANG)
!ENDIF
<<NOKEEP
######################################################################
# File
All :: "$(LANG).$(PLAT).$(CFG).File-1.idt"
"$(LANG).$(PLAT).$(CFG).File-1.idt" : "Makefile" "..\..\include\MSIBuildCfg.mak"
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
!IF "$(LANG)" != "en_US"
fileEventMonitor.mo.$(LANG) compEventMonitor.mo.$(LANG) EVENTM~1.MO|EventMonitor.mo 0 $(MSIBUILD_LANGID) 0 1
!ENDIF
<<NOKEEP
######################################################################
# RemoveFile
All :: "$(LANG).$(PLAT).$(CFG).RemoveFile-1.idt"
"$(LANG).$(PLAT).$(CFG).RemoveFile-1.idt" : "Makefile" "..\..\include\MSIBuildCfg.mak"
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_US.$(PLAT).$(CFG).Shortcut-2.idtx" : "Makefile" "..\..\include\MSIBuildCfg.mak"
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)
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
"$(LANG).$(PLAT).$(CFG).Shortcut-2.idt" : "en_US.$(PLAT).$(CFG).Shortcut-2.idtx" $(MSIBUILD_PO)
cscript.exe "..\..\MSI\MSIBuild\MSI.wsf" //Job:IDTTranslate //Nologo $@ $** /CP:$(MSIBUILD_CODEPAGE)
######################################################################
# Build MSM module!
######################################################################
!INCLUDE "..\..\MSI\MSIBuild\MSM.mak"