-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgenMakefile.in
More file actions
executable file
·500 lines (388 loc) · 16.3 KB
/
genMakefile.in
File metadata and controls
executable file
·500 lines (388 loc) · 16.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
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
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
#!/bin/sh
###############################################################################
# This file is part of "Patrick's Programming Library", Version 7 (PPL7).
# Web: https://github.com/pfedick/pplib
###############################################################################
# Copyright (c) 2024, Patrick Fedick <patrick@pfp.de>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER AND CONTRIBUTORS BE
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
# THE POSSIBILITY OF SUCH DAMAGE.
###############################################################################
SED=sed
SRCDIR="src"
LIBNAME="libppl7"
DEFINES="-DPPL7LIB"
DISTNAME="ppl"
######################################################################################################################
# Functions
######################################################################################################################
find_c_files() {
# $1=Verzeichnis
# $2=Subject
# $3=FLAGS
# $4=PREFIX
# $5=Zusaetzliche Header-Dependencies
COMPILE_RELEASE="$COMPILE_RELEASE
### $2"
COMPILE_DEBUG="$COMPILE_DEBUG
### $2"
d=`pwd`
cd $SRCDIR/$1
FOUND_RELEASE=""
FOUND_DEBUG=""
FOUND_COVERAGE=""
filelist=`ls *.cpp *.c 2>/dev/null |sort`
for file in $filelist; do
BASENAME=`echo $file | $SED -e "s;.cpp\$;;" | $SED -e "s;.c\$;;" `
SOURCEN="$SOURCEN $1/$file"
if [ -n "$FOUND_RELEASE" ] ; then
FOUND_RELEASE="$FOUND_RELEASE \\
release/$4$BASENAME.o"
FOUND_DEBUG="$FOUND_DEBUG \\
debug/$4$BASENAME.o"
FOUND_COVERAGE="$FOUND_COVERAGE \\
coverage/$4$BASENAME.o"
else
FOUND_RELEASE="release/$4$BASENAME.o"
FOUND_DEBUG="debug/$4$BASENAME.o"
FOUND_COVERAGE="coverage/$4$BASENAME.o"
fi
ADDITIONAL_DEPENDENCY=""
COMPILE_RELEASE="$COMPILE_RELEASE
release/$4$BASENAME.o: \$(srcdir)/$1/$file \$(incdir)/ppl7.h \$(incdir)/ppl7-exceptions.h \$(incdir)/ppl7-types.h \$(incdir)/ppl7-config.h Makefile $5 $ADDITIONAL_DEPENDENCY
\$(CXX) -Wall \$(CXXFLAGS) -o release/$4$BASENAME.o -c \$(srcdir)/$1/$file \$(CFLAGS) $3
"
COMPILE_COVERAGE="$COMPILE_COVERAGE
coverage/$4$BASENAME.o: \$(srcdir)/$1/$file \$(incdir)/ppl7.h \$(incdir)/ppl7-exceptions.h \$(incdir)/ppl7-types.h \$(incdir)/ppl7-config.h Makefile $5 $ADDITIONAL_DEPENDENCY
\$(CXX) -Wall \$(CXXFLAGS) -o coverage/$4$BASENAME.o -c \$(srcdir)/$1/$file \$(CFLAGS) @GCOV_CFLAGS@ $3
"
COMPILE_DEBUG="$COMPILE_DEBUG
debug/$4$BASENAME.o: \$(srcdir)/$1/$file \$(incdir)/ppl7.h \$(incdir)/ppl7-exceptions.h \$(incdir)/ppl7-types.h \$(incdir)/ppl7-config.h Makefile $5 $ADDITIONAL_DEPENDENCY
\$(CXX) -Wall \$(CXXFLAGS) -o debug/$4$BASENAME.o -c \$(srcdir)/$1/$file -ggdb -D_DEBUG \$(CFLAGS) -DDEBUG=DEBUG $3
"
done
cd $d
}
find_asm_files() {
# $1=Verzeichnis
# $2=Subject
COMPILE_RELEASE="$COMPILE_RELEASE
### $2"
COMPILE_DEBUG="$COMPILE_DEBUG
### $2"
d=`pwd`
cd $SRCDIR/$1
filelist=`ls *.asm *.c 2>/dev/null | sort`
for file in $filelist; do
BASENAME=`echo $file | $SED -e "s;.asm\$;;" `
SOURCEN="$SOURCEN $1/$file"
if [ -n "$ASM_RELEASE" ] ; then
ASM_RELEASE="$ASM_RELEASE \\
release/asm_$BASENAME.o"
ASM_DEBUG="$ASM_DEBUG \\
debug/asm_$BASENAME.o"
ASM_COVERAGE="$ASM_COVERAGE \\
coverage/asm_$BASENAME.o"
else
ASM_RELEASE="release/asm_$BASENAME.o"
ASM_DEBUG="debug/asm_$BASENAME.o"
ASM_COVERAGE="coverage/asm_$BASENAME.o"
fi
COMPILE_RELEASE="$COMPILE_RELEASE
release/asm_$BASENAME.o: \$(srcdir)/$1/$file Makefile
\$(ASM) -o release/asm_$BASENAME.o -l release/asm_$BASENAME.lst \$(srcdir)/$1/$file
"
COMPILE_COVERAGE="$COMPILE_COVERAGE
coverage/asm_$BASENAME.o: \$(srcdir)/$1/$file Makefile
\$(ASM) -o coverage/asm_$BASENAME.o -l coverage/asm_$BASENAME.lst \$(srcdir)/$1/$file
"
COMPILE_DEBUG="$COMPILE_DEBUG
debug/asm_$BASENAME.o: \$(srcdir)/$1/$file Makefile
\$(ASM) \$(ASMDEBUGFLAGS) -o debug/asm_$BASENAME.o -l debug/asm_$BASENAME.lst \$(srcdir)/$1/$file -D_DEBUG -DDEBUG=DEBUG
"
done
cd $d
}
find_c_files "core" "CORE" "" "core_"
CORE_RELEASE="$FOUND_RELEASE"
CORE_DEBUG="$FOUND_DEBUG"
CORE_COVERAGE="$FOUND_COVERAGE"
find_c_files "types" "TYPES" "" "type_" "\$(incdir)/ppl7-types.h"
CORE_RELEASE="$CORE_RELEASE \\
$FOUND_RELEASE"
CORE_DEBUG="$CORE_DEBUG \\
$FOUND_DEBUG"
CORE_COVERAGE="$CORE_COVERAGE \\
$FOUND_COVERAGE"
find_c_files "math" "MATH" "" "math_"
CORE_RELEASE="$CORE_RELEASE \\
$FOUND_RELEASE"
CORE_DEBUG="$CORE_DEBUG \\
$FOUND_DEBUG"
CORE_COVERAGE="$CORE_COVERAGE \\
$FOUND_COVERAGE"
find_c_files "crypto" "CRYPTO" "" "crypto_" "\$(incdir)/ppl7-crypto.h"
CRYPTO_RELEASE="$FOUND_RELEASE"
CRYPTO_DEBUG="$FOUND_DEBUG"
CRYPTO_COVERAGE="$FOUND_COVERAGE"
find_c_files "internet" "INTERNET" "" "inet_" "\$(incdir)/ppl7-inet.h"
INET_RELEASE="$FOUND_RELEASE"
INET_DEBUG="$FOUND_DEBUG"
INET_COVERAGE="$FOUND_COVERAGE"
find_c_files "database" "DATABASE" "" "db_" "\$(incdir)/ppl7-db.h"
DB_RELEASE="$FOUND_RELEASE"
DB_DEBUG="$FOUND_DEBUG"
DB_COVERAGE="$FOUND_COVERAGE"
find_c_files "grafix" "GRAFIX" "" "gfx_" "\$(incdir)/ppl7-grafix.h"
GFX_RELEASE="$FOUND_RELEASE"
GFX_DEBUG="$FOUND_DEBUG"
GFX_COVERAGE="$FOUND_COVERAGE"
find_c_files "audio" "AUDIO" "" "audio_" "\$(incdir)/ppl7-audio.h"
AUDIO_RELEASE="$FOUND_RELEASE"
AUDIO_DEBUG="$FOUND_DEBUG"
AUDIO_COVERAGE="$FOUND_COVERAGE"
find_asm_files "asm" "ASM"
######################################################################################################################
# Makefile.in Header
######################################################################################################################
echo "###############################################################################
# This file is part of \"Patrick's Programming Library\", Version 7 (PPL7).
# Web: https://github.com/pfedick/pplib
###############################################################################
# Copyright (c) 2024, Patrick Fedick <patrick@pfp.de>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER AND CONTRIBUTORS BE
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
# THE POSSIBILITY OF SUCH DAMAGE.
#
###############################################################################
### Global Options
###############################################################################
srcdir = @srcdir@/src
VPATH = @srcdir@
incdir = @srcdir@/include
prefix ?= @prefix@
exec_prefix = @exec_prefix@
TARGETLIB ?= @libdir@
TARGETBIN ?= @bindir@
TARGETINCLUDE ?= @includedir@
CC = @CC@
CXX = @CXX@
CFLAGS = -I\${incdir} $DEFINES @CFLAGS@ @DEFS@ @PTHREAD_CFLAGS@ \
@ZLIB_CFLAGS@ @BZ2_CFLAGS@ @PCRE2_CFLAGS@ @OPENSSL_INCLUDES@ @ICONV_CFLAGS@ @MYSQL_CFLAGS@ @POSTGRESQL_CFLAGS@ \
@SQLITE3_CFLAGS@ \
@LAME_CFLAGS@ @MPG123_CFLAGS@ @LIBMICROHTTPD_CFLAGS@ @LIBCDIO_CFLAGS@ \
@LIBIDN_CFLAGS@ @LIBCURL_CPPFLAGS@ \
@FT2_CFLAGS@ @LIBLDNS_CFLAGS@ @IMLIB_CFLAGS@
CPPFLAGS = @CPPFLAGS@
CXXFLAGS = @CXXFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @OPENSSL_LDFLAGS@ @OPENSSL_LIBS@ @LIBS@ @PTHREAD_CFLAGS@ @PTHREAD_LIBS@ @ZLIB_LIBS@ @BZ2_LIBS@ @PCRE2_LIBS@ @IMLIB_LIBS@ \
@FT2_LIBS@ @ICONV_LIBS@ @MYSQL_LDFLAGS@ @POSTGRESQL_LDFLAGS@ @SQLITE3_LDFLAGS@ \
@LAME_LIBS@ @LIBLDNS_LIBS@ @MPG123_LIBS@ \
@LIBCURL@ @LIBCDIO_LDFLAGS@ \
@LIBMICROHTTPD_LIBS@ @LIBIDN_LIBS@
LIBNAME = $LIBNAME
LIBDEBUG = $LIBNAME-debug
DISTNAME = ${DISTNAME}
ASM = @ASM@ @ASMFLAGS@
ASMDEBUGFLAGS = @ASMDEBUGFLAGS@
###########################################################################
### Object Files RELEASE
###########################################################################
RELEASE = $CORE_RELEASE $CRYPTO_RELEASE $INET_RELEASE $DB_RELEASE $GFX_RELEASE $AUDIO_RELEASE
CORE_RELEASE = $CORE_RELEASE
CRYPTO_RELEASE = $CRYPTO_RELEASE
INET_RELEASE = $INET_RELEASE
DB_RELEASE = $DB_RELEASE
GFX_RELEASE = $GFX_RELEASE
AUDIO_RELEASE = $AUDIO_RELEASE
ASM_OBJ_RELEASE = $ASM_RELEASE
###########################################################################
### Object Files DEBUG
###########################################################################
DEBUG = $CORE_DEBUG $CRYPTO_DEBUG $INET_DEBUG $DB_DEBUG $GFX_DEBUG $AUDIO_DEBUG
CORE_DEBUG = $CORE_DEBUG
CRYPTO_DEBUG = $CRYPTO_DEBUG
INET_DEBUG = $INET_DEBUG
DB_DEBUG = $DB_DEBUG
GFX_DEBUG = $GFX_DEBUG
AUDIO_DEBUG = $AUDIO_DEBUG
ASM_OBJ_DEBUG = $ASM_DEBUG
###########################################################################
### Object Files COVERAGE
###########################################################################
COVERAGE = $CORE_COVERAGE $CRYPTO_COVERAGE $INET_COVERAGE $DB_COVERAGE $GFX_COVERAGE $AUDIO_COVERAGE
ASM_OBJ_COVERAGE = $ASM_COVERAGE
@HAVE_X86_ASSEMBLER@
###########################################################################
### Targets
###########################################################################
release: release/\$(LIBNAME).a release/\$(LIBNAME)-core.a release/\$(LIBNAME)-crypto.a \
release/\$(LIBNAME)-inet.a release/\$(LIBNAME)-db.a release/\$(LIBNAME)-gfx.a \
release/make release/\$(LIBNAME)-audio.a
coverage: coverage/\$(LIBNAME).a
debug: debug/\$(LIBDEBUG).a
all: install_debug install
debug/\$(LIBDEBUG).a: debug/make \$(DEBUG) \$(ASM_DEBUG)
ar -r debug/\$(LIBDEBUG).a \$(DEBUG) \$(ASM_DEBUG)
-chmod a+x ppl7-config
release/\$(LIBNAME).a: release/make \$(RELEASE) \$(ASM_RELEASE)
ar -r release/\$(LIBNAME).a \$(RELEASE) \$(ASM_RELEASE)
-chmod a+x ppl7-config
coverage/\$(LIBNAME).a: coverage/make \$(COVERAGE) \$(ASM_COVERAGE)
ar -r coverage/\$(LIBNAME).a \$(COVERAGE) \$(ASM_COVERAGE)
-chmod a+x ppl7-config
release/\$(LIBNAME)-core.a: release/make \$(CORE_RELEASE) \$(ASM_RELEASE)
ar -r release/\$(LIBNAME)-core.a \$(CORE_RELEASE) \$(ASM_RELEASE)
release/\$(LIBNAME)-crypto.a: release/make \$(CRYPTO_RELEASE)
ar -r release/\$(LIBNAME)-crypto.a \$(CRYPTO_RELEASE)
release/\$(LIBNAME)-inet.a: release/make \$(INET_RELEASE)
ar -r release/\$(LIBNAME)-inet.a \$(INET_RELEASE)
release/\$(LIBNAME)-db.a: release/make \$(DB_RELEASE)
ar -r release/\$(LIBNAME)-db.a \$(DB_RELEASE)
release/\$(LIBNAME)-gfx.a: release/make \$(GFX_RELEASE)
ar -r release/\$(LIBNAME)-gfx.a \$(GFX_RELEASE)
release/\$(LIBNAME)-audio.a: release/make \$(AUDIO_RELEASE)
ar -r release/\$(LIBNAME)-audio.a \$(AUDIO_RELEASE)
debug/\$(LIBNAME)-core.a: debug/make \$(CORE_DEBUG) \$(ASM_DEBUG)
ar -r debug/\$(LIBNAME)-core.a \$(CORE_DEBUG) \$(ASM_DEBUG)
debug/\$(LIBNAME)-crypto.a: debug/make \$(CRYPTO_DEBUG)
ar -r debug/\$(LIBNAME)-crypto.a \$(CRYPTO_DEBUG)
debug/\$(LIBNAME)-inet.a: debug/make \$(INET_DEBUG)
ar -r debug/\$(LIBNAME)-inet.a \$(INET_DEBUG)
debug/\$(LIBNAME)-db.a: debug/make \$(DB_DEBUG)
ar -r debug/\$(LIBNAME)-db.a \$(DB_DEBUG)
debug/\$(LIBNAME)-gfx.a: debug/make \$(GFX_DEBUG)
ar -r debug/\$(LIBNAME)-gfx.a \$(GFX_DEBUG)
debug/\$(LIBNAME)-audio.a: debug/make \$(AUDIO_DEBUG)
ar -r debug/\$(LIBNAME)-audio.a \$(AUDIO_DEBUG)
debug/make:
-mkdir -p debug
-touch debug/make
release/make:
-mkdir -p release
-touch release/make
coverage/make:
-mkdir -p coverage
-touch coverage/make
install: release/\$(LIBNAME).a release/\$(LIBNAME)-core.a release/\$(LIBNAME)-crypto.a \
release/\$(LIBNAME)-inet.a release/\$(LIBNAME)-db.a release/\$(LIBNAME)-gfx.a \
release/make release/\$(LIBNAME)-audio.a
mkdir -p \$(TARGETLIB) \$(TARGETINCLUDE) \$(TARGETBIN)
cp release/\$(LIBNAME)*.a \$(TARGETLIB)
cp \$(incdir)/ppl7.h \$(TARGETINCLUDE)
cp \$(incdir)/ppl7-types.h \$(TARGETINCLUDE)
cp \$(incdir)/ppl7-algorithms.h \$(TARGETINCLUDE)
cp \$(incdir)/ppl7-exceptions.h \$(TARGETINCLUDE)
cp \$(incdir)/ppl7-inet.h \$(TARGETINCLUDE)
cp \$(incdir)/ppl7-crypto.h \$(TARGETINCLUDE)
cp \$(incdir)/ppl7-grafix.h \$(TARGETINCLUDE)
cp \$(incdir)/ppl7-audio.h \$(TARGETINCLUDE)
cp \$(incdir)/ppl7-db.h \$(TARGETINCLUDE)
cp \$(incdir)/ppl7-config.h \$(TARGETINCLUDE)/ppl7-config.h
chmod a+x ppl7-config
cp ppl7-config \$(TARGETBIN)
install_debug: debug/\$(LIBDEBUG).a
mkdir -p \$(TARGETLIB) \$(TARGETINCLUDE) \$(TARGETBIN)
cp debug/\$(LIBDEBUG)*.a \$(TARGETLIB)
cp \$(incdir)/ppl7.h \$(TARGETINCLUDE)
cp \$(incdir)/ppl7-types.h \$(TARGETINCLUDE)
cp \$(incdir)/ppl7-algorithms.h \$(TARGETINCLUDE)
cp \$(incdir)/ppl7-exceptions.h \$(TARGETINCLUDE)
cp \$(incdir)/ppl7-inet.h \$(TARGETINCLUDE)
cp \$(incdir)/ppl7-grafix.h \$(TARGETINCLUDE)
cp \$(incdir)/ppl7-audio.h \$(TARGETINCLUDE)
cp \$(incdir)/ppl7-crypto.h \$(TARGETINCLUDE)
cp \$(incdir)/ppl7-db.h \$(TARGETINCLUDE)
cp \$(incdir)/ppl7-config.h \$(TARGETINCLUDE)/ppl7-config.h
chmod a+x ppl7-config
cp ppl7-config \$(TARGETBIN)
clean:
-rm -rf release
-rm -rf debug
-rm -rf coverage
-rm -rf documentation
-cd tests; make clean
deinstall:
-rm -f \$(TARGETINCLUDE)/ppl7*.h
-rm -f \$(TARGETLIB)/\$(LIBDEBUG)*.a
-rm -f \$(TARGETLIB)/\$(LIBNAME)*.a
-rm -f \$(TARGETBIN)/ppl7-config
distclean: clean
-rm -rf \$(incdir)/ppl7-config.h \$(incdir)/config.h config.log config.status autom4te.cache configure.scan
configure: genConfigure genMakefile.in configure.in
sh genConfigure
Makefile:
sh genMakefile.in
doku: html
html:
mkdir -p documentation
rm -rf documentation/html
mkdir -p documentation/html
doxygen Doxyfile
cp docs/header-bg.png documentation/html
test:
cd tests; make xml
memcheck:
cd tests; make memcheck
#release/pplgenresource.o: release/make Makefile tools/pplgenresource/genresource.cpp
# \$(CXX) -Wall -c -o release/pplgenresource.o tools/pplgenresource/genresource.cpp \$(CFLAGS)
#
#debug/pplgenresource.o: debug/make Makefile tools/pplgenresource/genresource.cpp
# \$(CXX) -Wall -c -o debug/pplgenresource.o tools/pplgenresource/genresource.cpp \$(CFLAGS)
#
#
#res:
# -pplgenresource -b resource -c resource/resourcen.lst -t resource/res.h -l PPL7_RESOURCES
# -rm -f debug/resourcen.o release/resourcen.o
###########################################################################
### Compile Release Files
###########################################################################
$COMPILE_RELEASE
###########################################################################
### Compile Debug Files
###########################################################################
$COMPILE_DEBUG
###########################################################################
### Compile Files for CodeCoverage
###########################################################################
$COMPILE_COVERAGE
" > Makefile.in