-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwinguiclient.mak
More file actions
44 lines (35 loc) · 1.3 KB
/
winguiclient.mak
File metadata and controls
44 lines (35 loc) · 1.3 KB
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
# guiclient.mak
# Makefile to build the gui client
# This file is meant to run on Windows though mingw32, thus the funky filenames
include ../vars.mak
OVPNLIB=OVPN/__init__.py \
OVPN/clientmgr.py \
OVPN/config.py \
OVPN/exception.py \
OVPN/vpnmgmt.py
# The Ui files are updated by Eric, not managed by the Makefile... for now :)
UI=ui/__init__.py \
ui/appsettings.py \
ui/Ui_appsettings.py \
ui/connectiontable.py \
ui/logging.py \
ui/Ui_logging.py \
ui/openvpnclient.py \
ui/Ui_openvpnclient.py \
ui/ovpn_rc.py \
ui/privkeyentry.py \
ui/Ui_privkeyentry.py \
ui/properties.py \
ui/Ui_properties.py \
ui/customfieldtable.py
TAPFILES=installer/tapinstaller.py installer/tapinstaller-versioninfo.txt
GUIFILES=opensesame.py $(OVPNLIB) $(UI)
$(GUITARGET): $(GUIFILES) installer/gui-versioninfo.txt
export GUIDIR=$(GUIDIR) && $(PYTHON) $(PYINSTALLER) installer/opensesame.spec
# I suppose the tapinstall target should be moved to its own spec file
$(TAPTARGET): $(TAPFILES)
export GUIDIR=$(GUIDIR) && $(PYTHON) $(PYINSTALLER) installer/opensesame.spec
clean:
rm -rf installer/build installer/dist installer/tapinstaller.exe installer/OpenSesame.exe installer/warnpyinstaller.txt installer/warnopenvpnclient.txt *log
all: $(GUITARGET)
#$(TAPTARGET)