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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
|
# System bit width, either 32 or 64
CONF_BITS=64
# Visual Studio version: 2013, 2012, 2008, 2005, 2003, 6 or 5
CONF_VSTUDIO=2013
# Platform SDK version: 8.1, 8, 7 or none
# 8.1 Visual Studio 2013
# 8 Visual Studio 2012
# 7 Visual Studio 2008
CONF_PSDK=8.1
# Build GUI programs
# yes Build GUI and CLI programs
# no Build CLI programs only (no wxWidgets available)
CONF_GUI=yes
# Compile for legacy versions (i.e. Windows XP)
# Legacy mode disables RegDeleteTree and IPv6 Winsock functions.
# no No restrictions on used functions
# yes Legacy mode
CONF_LEGACY=no
# Base directory with include and lib subdirectories for used libraries.
# If there is only one version of Visual Studio on your computer you
# might remove the final -VS$(CONF_VSTUDIO) part.
CONF_USEDLIBDIR=C:\P\LIB-STT$(CONF_BITS)-VS$(CONF_VSTUDIO)
# MS Visual C Runtime Library type:
# 0 Static libraries
# 1 DLL
CONF_MSVCRT_DLL=0
# MS Visual C Runtime Library debug:
# 0 Release
# 1 Debug
CONF_MSVCRT_DEBUG=0
# MS Visual C Runtime Library threads:
# 0 Single thread
# 1 Multithread-ready
CONF_MSVCRT_THREADED=1
# Unicode support
# 1 Unicode enabled
# 0 Unicode disabled
CONF_UNICODE=1
# Output directory for "make install" on developer PC
CONF_OUTPUTDIR=C:\Krause\bindist
# Directory for programs
# CONF_PROGRAMS=C:\Programme (on older Windows versions)
CONF_PROGRAMS=C:\Program Files
# Installation directory on end user PC (used as default by the installer)
CONF_PREFIX=$(CONF_PROGRAMS)\Krause
# Directory for *.exe files on end user PC
CONF_BINDIR=$(CONF_PROGRAMS)\Krause\bin
# Directory for configuration files on end user PC
CONF_SYSCONFDIR=$(CONF_PROGRAMS)\Krause\etc
# Directory for data files on end user PC
CONF_DATADIR=$(CONF_PROGRAMS)\Krause\share
# Directory for *.h files on end user PC
CONF_INCLUDEDIR=$(CONF_PROGRAMS)\Krause\include
# Directory for *.lib files on end user PC
CONF_LIBDIR=$(CONF_PROGRAMS)\Krause\lib
# ##### Some popular libraries (start)
# If one of the libraries is not present, change CONF_..._AVAILABLE to 0.
# For libraries present, make sure the DEF, INCLUDE, LIBDIR and LIBFILE
# settings are correct.
# zlib (general purpose compression library)
CONF_ZLIB_AVAILABLE=1
CONF_ZLIB_DEF=-DDK4_HAVE_ZLIB_H=1 -DDK3_HAVE_ZLIB_H=1
CONF_ZLIB_INCLUDE=/I$(CONF_USEDLIBDIR)\include
CONF_ZLIB_LIBDIR=/LIBPATH:"$(CONF_USEDLIBDIR)\lib"
CONF_ZLIB_LIBFILE=zlib.lib
# bzip2 (general purpose compression library)
CONF_BZIP2_AVAILABLE=1
CONF_BZIP2_DEF=-DDK4_HAVE_BZLIB_H=1 -DDK3_HAVE_BZLIB_H=1
CONF_BZIP2_INCLUDE=/IC:\P\$(CONF_USEDLIBDIR)\include
CONF_BZIP2_LIBDIR=/LIBPATH:"$(CONF_USEDLIBDIR)\lib"
CONF_BZIP2_LIBFILE=libbz2.lib
# libpng (PNG image reference library)
CONF_PNG_AVAILABLE=1
CONF_PNG_DEF=-DDK4_HAVE_PNG_H=1 -DDK3_HAVE_PNG_H=1 -DDK3_HAVE_LIBPNG
CONF_PNG_INCLUDE=/I$(CONF_USEDLIBDIR)\include
CONF_PNG_LIBDIR=/LIBPATH:"$(CONF_USEDLIBDIR)\lib"
CONF_PNG_LIBFILE=libpng.lib
# jpeglib (Independent JPEG groups library)
CONF_JPG_AVAILABLE=1
CONF_JPG_DEF=-DDK4_HAVE_JPEGLIB_H=1 -DDK3_HAVE_JPEGLIB_H=1
CONF_JPG_INCLUDE=/I$(CONF_USEDLIBDIR)\include
CONF_JPG_LIBDIR=/LIBPATH:"$(CONF_USEDLIBDIR)\lib"
CONF_JPG_LIBFILE=libjpeg.lib
# libtiff (library to read TIFF images)
CONF_TIFF_AVAILABLE=1
CONF_TIFF_DEF=-DDK4_HAVE_TIFF_H=1 -DDK3_HAVE_TIFF_H=1
CONF_TIFF_INCLUDE=/I$(CONF_USEDLIBDIR)\include
CONF_TIFF_LIBDIR=/LIBPATH:"$(CONF_USEDLIBDIR)\lib"
CONF_TIFF_LIBFILE=libtiff.lib
# OpenSSL (cryptographic library, used for message digests and random data here)
CONF_OPENSSL_AVAILABLE=1
CONF_OPENSSL_DEF= \
-DDK4_HAVE_OPENSSL_MD5_H=1 \
-DDK4_HAVE_OPENSSL_SHA_H=1 \
-DDK4_HAVE_OPENSSL_RIPEMD_H=1 \
-DDK4_HAVE_OPENSSL_SHA224=1 \
-DDK4_HAVE_OPENSSL_SHA256=1 \
-DDK4_HAVE_OPENSSL_SHA384=1 \
-DDK4_HAVE_OPENSSL_SHA512=1 \
-DDK4_HAVE_OPENSSL_RAND_H=1 \
-DDK3_HAVE_OPENSSL_MD5_H=1 \
-DDK3_HAVE_OPENSSL_SHA_H=1 \
-DDK3_HAVE_OPENSSL_RIPEMD_H=1 \
-DDK3_HAVE_OPENSSL_SHA224=1 \
-DDK3_HAVE_OPENSSL_SHA256=1 \
-DDK3_HAVE_OPENSSL_SHA384=1 \
-DDK3_HAVE_OPENSSL_SHA512=1 \
-DDK3_HAVE_OPENSSL_RAND_H=1
CONF_OPENSSL_INCLUDE=/I$(CONF_USEDLIBDIR)\include
CONF_OPENSSL_LIBDIR=/LIBPATH:"$(CONF_USEDLIBDIR)\lib"
CONF_OPENSSL_LIBFILE=libcrypto.lib libssl.lib crypt32.lib ws2_32.lib
# NetSNMP (correct DK4_HAVE_NETSNMP_ENABLE_FILELOG if necessary)
CONF_NETSNMP_AVAILABLE=0
CONF_NETSNMP_DEF= \
-DDK4_HAVE_LIBNETSNMP=1 -DDK3_HAVE_LIBNETSNMP=1 \
-DDK4_HAVE_LIBUCDSNMP=0 -DDK3_HAVE_LIBUCDSNMP=0 \
-D_WINDOWS=1 \
-DDK4_HAVE_NETSNMP_ENABLE_FILELOG=1 \
-DDK3_HAVE_NETSNMP_ENABLE_FILELOG=1
CONF_NETSNMP_INCLUDE=/I$(CONF_USEDLIBDIR)\include
CONF_NETSNMP_LIBDIR=/LIBPATH:"$(CONF_USEDLIBDIR)\lib"
CONF_NETSNMP_LIBFILE=netsnmp.lib
CONF_WX_AVAILABLE=1
CONF_WX_VERSION=3.1.0
# CONF_WX_VERSION=3.0.2
# CONF_WX_VERSION=2.8.12
CONF_WX_SHORTVERSION=31
# CONF_WX_SHORTVERSION=30
# CONF_WX_SHORTVERSION=28
CONF_WX_DEF=-DDK4_HAVE_WXWIDGETS=1 -DDK3_HAVE_WXWIDGETS=1 \
-DDK4_HAVE_WX_CHARTYPE_H=1 -DDK3_HAVE_WX_CHARTYPE_H=1
CONF_WX_DIR=C:\P\wxWidgets-$(CONF_WX_VERSION)-stt$(CONF_BITS)-vs$(CONF_VSTUDIO)
CONF_WX_INCLUDE=/I"$(CONF_WX_DIR)\include"
!IF "$(CONF_WX_VERSION)" != "2.8.12"
CONF_WX_LIBDIR=/LIBPATH:"$(CONF_WX_DIR)\lib\vc_x64_lib"
!ELSE
CONF_WX_LIBDIR=/LIBPATH:"$(CONF_WX_DIR)\lib"
!ENDIF
CONF_WX_LIBFILE= \
wxbase$(CONF_WX_SHORTVERSION)u.lib \
wxbase$(CONF_WX_SHORTVERSION)u_net.lib \
wxbase$(CONF_WX_SHORTVERSION)u_xml.lib \
wxmsw$(CONF_WX_SHORTVERSION)u_adv.lib \
wxmsw$(CONF_WX_SHORTVERSION)u_aui.lib \
wxmsw$(CONF_WX_SHORTVERSION)u_core.lib \
wxmsw$(CONF_WX_SHORTVERSION)u_html.lib \
wxmsw$(CONF_WX_SHORTVERSION)u_media.lib \
wxmsw$(CONF_WX_SHORTVERSION)u_qa.lib \
wxmsw$(CONF_WX_SHORTVERSION)u_richtext.lib \
wxmsw$(CONF_WX_SHORTVERSION)u_xrc.lib \
wxexpat.lib \
wxregexu.lib \
wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib
# ##### Some popular libraries (end)
# ##### Room for more libraries
CONF_L01_AVAILABLE=0
CONF_L01_DEF=
CONF_L01_INCLUDE=
CONF_L01_LIBDIR=
CONF_L01_LIBFILE=
CONF_L02_AVAILABLE=0
CONF_L02_DEF=
CONF_L02_INCLUDE=
CONF_L02_LIBDIR=
CONF_L02_LIBFILE=
CONF_L03_AVAILABLE=0
CONF_L03_DEF=
CONF_L03_INCLUDE=
CONF_L03_LIBDIR=
CONF_L03_LIBFILE=
CONF_L04_AVAILABLE=0
CONF_L04_DEF=
CONF_L04_INCLUDE=
CONF_L04_LIBDIR=
CONF_L04_LIBFILE=
CONF_L05_AVAILABLE=0
CONF_L05_DEF=
CONF_L05_INCLUDE=
CONF_L05_LIBDIR=
CONF_L05_LIBFILE=
CONF_L06_AVAILABLE=0
CONF_L06_DEF=
CONF_L06_INCLUDE=
CONF_L06_LIBDIR=
CONF_L06_LIBFILE=
CONF_L07_AVAILABLE=0
CONF_L07_DEF=
CONF_L07_INCLUDE=
CONF_L07_LIBDIR=
CONF_L07_LIBFILE=
CONF_L08_AVAILABLE=0
CONF_L08_DEF=
CONF_L08_INCLUDE=
CONF_L08_LIBDIR=
CONF_L08_LIBFILE=
CONF_L09_AVAILABLE=0
CONF_L09_DEF=
CONF_L09_INCLUDE=
CONF_L09_LIBDIR=
CONF_L09_LIBFILE=
CONF_L10_AVAILABLE=0
CONF_L10_DEF=
CONF_L10_INCLUDE=
CONF_L10_LIBDIR=
CONF_L10_LIBFILE=
CONF_L11_AVAILABLE=0
CONF_L11_DEF=
CONF_L11_INCLUDE=
CONF_L11_LIBDIR=
CONF_L11_LIBFILE=
CONF_L12_AVAILABLE=0
CONF_L12_DEF=
CONF_L12_INCLUDE=
CONF_L12_LIBDIR=
CONF_L12_LIBFILE=
CONF_L13_AVAILABLE=0
CONF_L13_DEF=
CONF_L13_INCLUDE=
CONF_L13_LIBDIR=
CONF_L13_LIBFILE=
CONF_L14_AVAILABLE=0
CONF_L14_DEF=
CONF_L14_INCLUDE=
CONF_L14_LIBDIR=
CONF_L14_LIBFILE=
CONF_L15_AVAILABLE=0
CONF_L15_DEF=
CONF_L15_INCLUDE=
CONF_L15_LIBDIR=
CONF_L15_LIBFILE=
CONF_L16_AVAILABLE=0
CONF_L16_DEF=
CONF_L16_INCLUDE=
CONF_L16_LIBDIR=
CONF_L16_LIBFILE=
CONF_L17_AVAILABLE=0
CONF_L17_DEF=
CONF_L17_INCLUDE=
CONF_L17_LIBDIR=
CONF_L17_LIBFILE=
CONF_L18_AVAILABLE=0
CONF_L18_DEF=
CONF_L18_INCLUDE=
CONF_L18_LIBDIR=
CONF_L18_LIBFILE=
CONF_L19_AVAILABLE=0
CONF_L19_DEF=
CONF_L19_INCLUDE=
CONF_L19_LIBDIR=
CONF_L19_LIBFILE=
CONF_L20_AVAILABLE=0
CONF_L20_DEF=
CONF_L20_INCLUDE=
CONF_L20_LIBDIR=
CONF_L20_LIBFILE=
# add further sections as needed, add corresponding sections to the
# translate.vc file
|