-
Notifications
You must be signed in to change notification settings - Fork 405
/
Makefile.am
131 lines (119 loc) · 3.37 KB
/
Makefile.am
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# OpenVPN-GUI -- A Windows GUI for OpenVPN.
#
# Copyright (C) 2004 Mathias Sundman <[email protected]>
# 2010 Heiko Hund <[email protected]>
#
# This program 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 2 of the License, or
# (at your option) any later version.
#
# This program 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 this program (see the file COPYING included with this
# distribution); if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
RCCOMPILE = $(WINDRES) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
$(AM_CPPFLAGS) $(CPPFLAGS)
AUTOMAKE_OPTIONS = foreign 1.9
DISTCHECK_CONFIGURE_FLAGS = --host=x86_64-w64-mingw32
MAINTAINERCLEANFILES = \
config.log config.status \
$(srcdir)/Makefile.in $(srcdir)/configure \
$(srcdir)/config.h.in $(srcdir)/config.h.in~\
$(srcdir)/install-sh $(srcdir)/missing \
$(srcdir)/depcomp $(srcdir)/aclocal.m4 \
$(srcdir)/config.guess $(srcdir)/config.sub \
$(srcdir)/compile
SUBDIRS = . plap
bin_PROGRAMS = openvpn-gui
dist_doc_DATA = \
BUILD.rst \
CHANGES.rst \
COPYRIGHT.GPL \
COPYING \
README.rst
AM_CPPFLAGS = -D_UNICODE $(JSON_CFLAGS)
AM_CFLAGS = -municode
openvpn_gui_RESOURCES = \
res/openvpn-gui-res.rc \
res/openvpn-gui-res-cs.rc \
res/openvpn-gui-res-de.rc \
res/openvpn-gui-res-dk.rc \
res/openvpn-gui-res-en.rc \
res/openvpn-gui-res-es.rc \
res/openvpn-gui-res-fa.rc \
res/openvpn-gui-res-fi.rc \
res/openvpn-gui-res-fr.rc \
res/openvpn-gui-res-it.rc \
res/openvpn-gui-res-jp.rc \
res/openvpn-gui-res-kr.rc \
res/openvpn-gui-res-nl.rc \
res/openvpn-gui-res-no.rc \
res/openvpn-gui-res-pl.rc \
res/openvpn-gui-res-pt.rc \
res/openvpn-gui-res-ru.rc \
res/openvpn-gui-res-se.rc \
res/openvpn-gui-res-tr.rc \
res/openvpn-gui-res-ua.rc \
res/openvpn-gui-res-zh-hans.rc \
res/openvpn-gui-res-zh-hant.rc \
res/connected.ico \
res/connecting.ico \
res/disconnected.ico \
res/openvpn-gui.ico \
res/reconnecting.ico \
res/eye.ico \
res/eye-stroke.ico \
res/openvpn-gui.manifest \
res/tileimage.bmp
EXTRA_DIST = $(openvpn_gui_RESOURCES) \
CMakeLists.txt \
CMakePresets.json \
config-msvc.h.in \
.editorconfig \
.kateconfig
openvpn_gui_SOURCES = \
main.c main.h \
openvpn.c openvpn.h \
localization.c localization.h \
tray.c tray.h \
viewlog.c viewlog.h \
service.c service.h \
options.c options.h \
proxy.c proxy.h \
registry.c registry.h \
scripts.c scripts.h \
manage.c manage.h \
misc.c misc.h \
openvpn_config.c \
openvpn_config.h \
access.c access.h \
chartable.h \
save_pass.c save_pass.h \
env_set.c env_set.h \
echo.c echo.h \
as.c as.h \
pkcs11.c pkcs11.h \
config_parser.c config_parser.h \
openvpn-gui-res.h
openvpn_gui_LDFLAGS = -mwindows
openvpn_gui_LDADD = \
openvpn-gui-res.o \
-lws2_32 \
-lcomctl32 \
-lwinhttp \
-lwtsapi32 \
-lcrypt32 \
-lnetapi32 \
-lole32 \
-lshlwapi \
-lsecur32 \
-lwininet \
$(JSON_LIBS)
openvpn-gui-res.o: $(openvpn_gui_RESOURCES) $(srcdir)/openvpn-gui-res.h
$(RCCOMPILE) -i $< -o $@