1
# Copyright 2015 Cloudbase Solutions Srl
3
# Licensed under the Apache License, Version 2.0 (the "License"); you may
4
# not use this file except in compliance with the License.You may obtain
5
# a copy of the License at
7
# http://www.apache.org/licenses/LICENSE-2.0
9
# Unless required by applicable law or agreed to in writing, software
10
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the
12
# License for the specific language governing permissions and limitations
15
PTHREAD_TEMP_DIR=`echo "$(PTHREAD_LDFLAGS)" | sed 's|^.\(.*\).$:\1||'`
16
windows_installer: all
17
#Userspace files needed for the installer
18
cp -f $(top_srcdir)/datapath-windows/misc/OVS.psm1 windows/ovs-windows-installer/Services/OVS.psm1
19
cp -f $(top_srcdir)/vswitchd/vswitch.ovsschema windows/ovs-windows-installer/Services/vswitch.ovsschema
20
cp -f $(top_srcdir)/vswitchd/ovs-vswitchd.exe windows/ovs-windows-installer/Services/ovs-vswitchd.exe
21
cp -f $(top_srcdir)/ovsdb/ovsdb-server.exe windows/ovs-windows-installer/Services/ovsdb-server.exe
22
cp -f $(top_srcdir)/utilities/*.exe windows/ovs-windows-installer/Binaries/
23
cp -f $(top_srcdir)/utilities/*.pdb windows/ovs-windows-installer/Symbols/
24
cp -f $(top_srcdir)/ovsdb/ovsdb-client.exe windows/ovs-windows-installer/Binaries/ovsdb-client.exe
25
cp -f $(top_srcdir)/ovsdb/ovsdb-tool.exe windows/ovs-windows-installer/Binaries/ovsdb-tool.exe
26
cp -f $(top_srcdir)/ovsdb/ovsdb-client.pdb windows/ovs-windows-installer/Symbols/
27
cp -f $(top_srcdir)/ovsdb/ovsdb-tool.pdb windows/ovs-windows-installer/Symbols/
28
#Third party files needed by the installer
29
cp -f $(PTHREAD_TEMP_DIR)/../../dll/x86/*.dll windows/ovs-windows-installer/Binaries/
30
cp -f "/c/Program Files (x86)/Common Files/Merge Modules/Microsoft_VC120_CRT_x86.msm" windows/ovs-windows-installer/Redist/Microsoft_VC120_CRT_x86.msm
31
#Forwarding extension files needed for the installer
32
cp -f $(top_srcdir)/datapath-windows/x64/Win8$(VSTUDIO_CONFIG)/package/ovsext.cat windows/ovs-windows-installer/Driver/Win8/ovsext.cat
33
cp -f $(top_srcdir)/datapath-windows/x64/Win8$(VSTUDIO_CONFIG)/package/ovsext.inf windows/ovs-windows-installer/Driver/Win8/ovsext.inf
34
cp -f $(top_srcdir)/datapath-windows/x64/Win8$(VSTUDIO_CONFIG)/package/OVSExt.sys windows/ovs-windows-installer/Driver/Win8/OVSExt.sys
35
cp -f $(top_srcdir)/datapath-windows/x64/Win8.1$(VSTUDIO_CONFIG)/package/ovsext.cat windows/ovs-windows-installer/Driver/Win8.1/ovsext.cat
36
cp -f $(top_srcdir)/datapath-windows/x64/Win8.1$(VSTUDIO_CONFIG)/package/ovsext.inf windows/ovs-windows-installer/Driver/Win8.1/ovsext.inf
37
cp -f $(top_srcdir)/datapath-windows/x64/Win8.1$(VSTUDIO_CONFIG)/package/ovsext.sys windows/ovs-windows-installer/Driver/Win8.1/ovsext.sys
38
MSBuild.exe windows/ovs-windows-installer.sln /target:Build /property:Configuration="Release"
44
windows/ovs-windows-installer.sln \
45
windows/ovs-windows-installer/Actions/OVSActions.js \
46
windows/ovs-windows-installer/CustomActions.wxs \
47
windows/ovs-windows-installer/Dialogs/BeginningDialog.wxs \
48
windows/ovs-windows-installer/Dialogs/MyEndDialog.wxs \
49
windows/ovs-windows-installer/Dialogs/MyTroubleshootDialog.wxs \
50
windows/ovs-windows-installer/Dialogs/UserFinishDialog.wxs \
51
windows/ovs-windows-installer/License.rtf \
52
windows/ovs-windows-installer/Product.wxs \
53
windows/ovs-windows-installer/UI.wxs \
54
windows/ovs-windows-installer/images/bannrbmp.bmp \
55
windows/ovs-windows-installer/images/dlgbmp.bmp \
56
windows/ovs-windows-installer/ovs-windows-installer.wixproj