forked from Amebis/GEANTLink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MakefilePlat.mak
70 lines (53 loc) · 4.64 KB
/
MakefilePlat.mak
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#
# Copyright 1991-2018 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/>.
#
All ::
CleanSetup ::
-if exist "$(OUTPUT_DIR)\Setup\WLANManager$(PLAT_SUFFIX).exe" del /f /q "$(OUTPUT_DIR)\Setup\WLANManager$(PLAT_SUFFIX).exe"
######################################################################
# Setup
######################################################################
Setup :: \
"$(OUTPUT_DIR)\Setup\$(PRODUCT_NAME)$(PLAT_SUFFIX).msi" \
"$(OUTPUT_DIR)\Setup\WLANManager$(PLAT_SUFFIX).exe"
SetupDebug :: \
"$(OUTPUT_DIR)\Setup\$(PRODUCT_NAME)$(PLAT_SUFFIX)D.msi"
######################################################################
# Publishing
######################################################################
Publish :: \
"$(PUBLISH_PACKAGE_DIR)\$(PRODUCT_NAME)$(PLAT_SUFFIX).msi" \
"$(PUBLISH_PACKAGE_DIR)\WLANManager$(PLAT_SUFFIX).exe"
######################################################################
# File copy
######################################################################
"$(PUBLISH_PACKAGE_DIR)\$(PRODUCT_NAME)$(PLAT_SUFFIX).msi" : "$(OUTPUT_DIR)\Setup\$(PRODUCT_NAME)$(PLAT_SUFFIX).msi"
copy /y $** $@ > NUL
"$(OUTPUT_DIR)\Setup\WLANManager$(PLAT_SUFFIX).exe" \
"$(PUBLISH_PACKAGE_DIR)\WLANManager$(PLAT_SUFFIX).exe" : "$(OUTPUT_DIR)\$(PLAT).Release\WLANManager.exe"
copy /y $** $@ > NUL
######################################################################
# Configuration Specific
######################################################################
CFG=Release
CFG_SUFFIX=
!INCLUDE "MakefilePlatCfg.mak"
CFG=Debug
CFG_SUFFIX=D
!INCLUDE "MakefilePlatCfg.mak"