forked from gap-system/gap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.in
456 lines (415 loc) · 17.7 KB
/
Makefile.in
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
#############################################################################
##
#W Makefile GAP source Frank Celler
##
##
#Y Copyright (C) 1997, Lehrstuhl D fuer Mathematik, RWTH Aachen, Germany
##
## This file is the top level make file. It is generated from `Makefile.in'
## by the `configure' script. After unpacking GAP you simply type
##
## ./configure
##
## to create a make file and then
##
## make
##
## to compile and link GAP.
##
## The "default" target:
## - creates a subdirectory CPU-VENDOR-OS in the directory `bin',
## - copies the configuration script into this directory,
## - it switches into this directory and executes the configure script,
## - it makes GAP in this directory.
##
## The "clean" target:
## - removes the subdirectory CPU-VENDOR-OS in the directory `bin'
## - removes any files created by `configure'
##
## The "testinstall" target:
## - starts GAP and reads `tst/testinstall.g'
##
## The "teststandard" target:
## - starts GAP and reads all files `tst/*.tst'
##
## The "teststandardrenormalize" target:
## - starts GAP, reads all files `tst/*.tst', and replaces the scaling
## factors in the `STOP_TEST' statements
##
## The "testinstall.g" target:
## - creates `tst/testinstall.g' based on the existing version and the
## preselected `tst/*.tst' files
##
## The "testpackages" target:
## - runs the tests provided by the available packages
##
## The "testpackagesload" target:
## - tests loading of each available package
##
## The "testmanuals" target:
## - runs the examples in the main GAP documentation
##
SHELL=/bin/sh
CC=@CC@
BASECC=@BASECC@
TARGET=@target@
@SET_MAKE@
GMP_CFLAGS=@GMP_CFLAGS@
GMP_LIBS=@GMP_LIBS@
MAKE_GMP=@MAKE_GMP@
USE_GMP=@USE_GMP@
ifndef GMP_VER
GMP_VER=@GMP_VER@
endif
ifndef ABI
ABI=@ABI@
endif
ABI_CFLAGS=@ABI_CFLAGS@
export CFLAGS+=@ABI_CFLAGS@ @CFLAGS@
export COPTS=@COPTS@
ifndef CONFIGNAME
CONFIGNAME=@CONFIGNAME@
endif
GAPARCH=@GAPARCH@
GAPARGS=
TESTGAP = ./bin/gap-$(CONFIGNAME).sh -b -m 100m -o 750m -A -q -x 80 -r $(GAPARGS)
TESTGAPauto = ./bin/gap-$(CONFIGNAME).sh -b -m 100m -o 750m -q -x 80 -r $(GAPARGS)
default: compile
setconfig:
if test -e sysinfo.gap-$(CONFIGNAME); then \
rm -f Makefile sysinfo.gap bin/gap.sh; \
ln -s sysinfo.gap-$(CONFIGNAME) sysinfo.gap; \
ln -s Makefile-$(CONFIGNAME) Makefile; \
ln -s gap-$(CONFIGNAME).sh bin/gap.sh; \
else \
echo "There is no config with name: "$(CONFIGNAME); \
fi;
config: bin/$(GAPARCH)/configure bin/$(GAPARCH)/config.status
bin/$(GAPARCH)/configure: cnf/configure.out
mkdir -p bin/$(GAPARCH)
@rm -f bin/$(GAPARCH)/configure
cp cnf/configure.out bin/$(GAPARCH)/configure
bin/$(GAPARCH)/extern/Makefile: bin/$(GAPARCH)/config.status
( cd bin/$(GAPARCH) ; ./config.status extern/Makefile )
bin/$(GAPARCH)/Makefile : bin/$(GAPARCH)/config.status
( cd bin/$(GAPARCH) ; ./config.status Makefile )
bin/$(GAPARCH)/config.status : bin/$(GAPARCH)/configure cnf/config.hin cnf/gac.in extern/Makefile.in cnf/Makegap.in
mkdir -p bin/$(GAPARCH)/extern
( cd bin/$(GAPARCH) ; \
CC='$(CC)' \
ABI='$(ABI)' \
ABI_CFLAGS='$(ABI_CFLAGS)' \
GMP_LIBS='$(GMP_LIBS)' \
GMP_CFLAGS='$(GMP_CFLAGS)' \
CONFIGNAME='$(CONFIGNAME)' \
MAKE_GMP='$(MAKE_GMP)' \
USE_GMP='$(USE_GMP)' \
GAPARCH='$(GAPARCH)' \
./configure --target=@target@ @gp_configure_options@ )
extern: config
( cd bin/$(GAPARCH)/extern ; \
$(MAKE) \
TARGET='$(TARGET)' \
BASECC='$(BASECC)' \
ABI='$(ABI)' \
ABI_CFLAGS='$(ABI_CFLAGS)' \
CC='$(CC)' \
GMP_VER='$(GMP_VER)' \
MAKE_GMP='$(MAKE_GMP)' \
CONFIGNAME='$(CONFIGNAME)' )
compile: extern
( cd bin/$(GAPARCH); \
$(MAKE) \
ABI='$(ABI)' \
CC='$(CC)' \
GMP_VER='$(GMP_VER)' \
GMP_CFLAGS='$(GMP_CFLAGS)' \
GMP_LIBS='$(GMP_LIBS)' \
MAKE_GMP='$(MAKE_GMP)' \
CONFIGNAME='$(CONFIGNAME)' )
chmod +x bin/gap-$(CONFIGNAME).sh
static: extern
( cd bin/$(GAPARCH) ; $(MAKE) static CC='$(CC)' ABI='$(ABI)' )
chmod +x bin/gap-$(CONFIGNAME).sh
( cd bin/$(GAPARCH) ; strip gap@EXEEXT@)
strip: compile
if ! grep darwin sysinfo.gap ; then ( cd bin/$(GAPARCH); strip gap@EXEEXT@) ; fi
removewin: strip
( rm -f bin/*.exe bin/*.dll bin/*.bat bin/*.pif "bin/GAP 4 PPC")
rebuild:
rm -f config.cache config.log config.status
touch src/*
ifndef CLEANME
CLEANME=@CONFIGNAME@
endif
clean: clean_$(CLEANME)
clean_$(CLEANME): clean_gap_$(CLEANME) clean_gmp_$(CLEANME)
rm -rf bin/$(GAPARCH)
clean_gap: clean_gap_$(CLEANME)
clean_gap_$(CLEANME): rebuild
rm -f bin/$(GAPARCH)/*.o
rm -f bin/$(GAPARCH)/Makefile
rm -f bin/$(GAPARCH)/config*
rm -f bin/$(GAPARCH)/gac
rm -f bin/$(GAPARCH)/gap
rm -f bin/$(GAPARCH)/sysinfo*
rm -f bin/gap-$(CONFIGNAME).sh
rm -f sysinfo.gap-$(CONFIGNAME)
(if ! test -h sysinfo.gap -a -e sysinfo.gap; then \
nextconf=`ls sysinfo.gap-* 2>/dev/null | head -1 | \
sed -e "s/sysinfo.gap-//g"`; \
if [ "x$$nextconf" != "x" ]; then \
echo "changing config to "$$nextconf; \
$(MAKE) setconfig CONFIGNAME=$$nextconf; \
else \
rm -f Makefile sysinfo.gap bin/gap.sh; \
fi; \
fi)
rm -f Makefile-$(CONFIGNAME)
clean_gmp: clean_gmp_$(CLEANME)
clean_gmp_$(CLEANME):
if test -d bin/$(GAPARCH)/extern/gmp-$(GMP_VER); then \
rm -rf bin/$(GAPARCH)/extern/gmp-$(GMP_VER); fi
if test -h bin/$(GAPARCH)/extern/gmp; then \
rm -f bin/$(GAPARCH)/extern/gmp; fi
if test -d extern/gmp-$(GMP_VER); then \
(cd extern/gmp-$(GMP_VER); rm -f LASTBUILD.*; \
if test -r Makefile; then $(MAKE) distclean; fi ); fi
distclean:
while test -e Makefile; do $(MAKE) clean; done
manuals:
( echo 'SaveWorkspace( "doc/wsp.g" );' | $(TESTGAPauto) )
( cd doc/ref; echo 'Read( "makedocrel.g" );' | \
../../$(TESTGAP) -L ../wsp.g > make_manuals.out )
( cd doc/tut; echo 'Read( "makedocrel.g" );' | \
../../$(TESTGAP) -L ../wsp.g > make_manuals.out )
( cd doc/changes; echo 'Read( "makedocrel.g" );' | \
../../$(TESTGAP) -L ../wsp.g > make_manuals.out )
( cd doc/ref; echo 'Read( "makedocrel.g" );' | \
../../$(TESTGAP) -L ../wsp.g > make_manuals.out )
( cd doc/tut; echo 'Read( "makedocrel.g" );' | \
../../$(TESTGAP) -L ../wsp.g > make_manuals.out )
( cd doc/changes; echo 'Read( "makedocrel.g" );' | \
../../$(TESTGAP) -L ../wsp.g > make_manuals.out )
( rm doc/wsp.g )
testinstall:
mkdir -p dev/log
( echo 'SetUserPreference("UseColorsInTerminal",false); \
ReadGapRoot( "tst/testutil.g" ); \
ReadGapRoot( "tst/testinstall.g" );' | $(TESTGAP) > \
`date -u +dev/log/testinstall1_%Y-%m-%d-%H-%M` )
( echo 'SetUserPreference("UseColorsInTerminal",false); \
ReadGapRoot( "tst/testutil.g" ); LoadAllPackages(); \
ReadGapRoot( "tst/testinstall.g" );' | $(TESTGAP) > \
`date -u +dev/log/testinstall2_%Y-%m-%d-%H-%M` )
teststandard:
mkdir -p dev/log
( echo 'ShowSystemInformation(); RunStandardTests( [' > test.tmp; \
grep -h "STOP_TEST" tst/*.tst | sed -e 's/^gap> STOP_TEST(/[/;s/);/],/' >> test.tmp; \
echo '] ); ' >> test.tmp )
( echo 'SetUserPreference("UseColorsInTerminal",false); \
ReadGapRoot( "tst/testutil.g" ); Read( "test.tmp" );' | $(TESTGAP) > \
`date -u +dev/log/teststandard1_%Y-%m-%d-%H-%M` )
( echo 'SetUserPreference("UseColorsInTerminal",false); \
ReadGapRoot( "tst/testutil.g" ); LoadAllPackages(); Read( "test.tmp" );' | $(TESTGAP) > \
`date -u +dev/log/teststandard2_%Y-%m-%d-%H-%M` )
( rm test.tmp )
teststandardrenormalize:
mkdir -p dev/log
( echo 'RunStandardTests( [' > test.tmp; \
grep -h "STOP_TEST" tst/*.tst | \
sed -e 's/^gap> STOP_TEST(/[/;s/);/],/' >> test.tmp; \
echo '], true ); ShowSystemInformation();' \
>> test.tmp; \
echo 'ReadGapRoot( "tst/testutil.g" ); Read( "test.tmp" ); \
CreateTestinstallFile(); Runtime();' | $(TESTGAP) > \
`date -u +dev/log/teststandardrenormalize_%Y-%m-%d-%H-%M` )
( rm test.tmp )
testinstall.g:
( echo 'ReadGapRoot( "tst/testutil.g" ); \
CreateTestinstallFile();' | $(TESTGAP) )
testpackages:
mkdir -p dev/log
( echo 'SetAssertionLevel( 2 ); ReadGapRoot( "tst/testutil.g" ); \
SaveWorkspace( "wsp.g" );' | $(TESTGAP) )
( echo 'CreatePackageTestsInput( "testpackages.in", \
"dev/log/testpackages1", \
"$(TESTGAP) -L wsp.g", "false" );'\
| $(TESTGAP) -L wsp.g > /dev/null )
( chmod 777 testpackages.in; ./testpackages.in; rm testpackages.in )
( rm wsp.g )
( echo 'SetAssertionLevel( 2 ); ReadGapRoot( "tst/testutil.g" ); \
SaveWorkspace( "wsp.g" );' | $(TESTGAPauto) )
( echo 'CreatePackageTestsInput( "testpackages.in", \
"dev/log/testpackagesA", \
"$(TESTGAPauto) -L wsp.g", "auto" );'\
| $(TESTGAPauto) -L wsp.g > /dev/null )
( chmod 777 testpackages.in; ./testpackages.in; rm testpackages.in )
( rm wsp.g )
( echo 'SetAssertionLevel( 2 ); ReadGapRoot( "tst/testutil.g" ); \
SaveWorkspace( "wsp.g" );' | $(TESTGAP) )
( echo 'CreatePackageTestsInput( "testpackages.in", \
"dev/log/testpackages2", \
"$(TESTGAP) -L wsp.g", "true" );'\
| $(TESTGAP) -L wsp.g > /dev/null )
( chmod 777 testpackages.in; ./testpackages.in; rm testpackages.in )
( rm wsp.g )
testpackagesload:
mkdir -p dev/log
( echo 'ReadGapRoot( "tst/testutil.g" ); \
SaveWorkspace( "wsp.g" );' | $(TESTGAP) )
( echo 'CreatePackageLoadTestsInput( "testpackagesload.in", \
"dev/log/testpackagesload1", \
"$(TESTGAP) -L wsp.g", false, false );'\
| $(TESTGAP) -L wsp.g > /dev/null )
( chmod 777 testpackagesload.in; ./testpackagesload.in > \
`date -u +dev/log/testpackagesload1_%Y-%m-%d-%H-%M`; rm testpackagesload.in )
( rm wsp.g )
( echo 'ReadGapRoot( "tst/testutil.g" ); \
SaveWorkspace( "wsp.g" );' | $(TESTGAP) )
( echo 'CreatePackageLoadTestsInput( "testpackagesload.in", \
"dev/log/testpackagesloadN1", \
"$(TESTGAP) -L wsp.g", false, true );'\
| $(TESTGAP) -L wsp.g > /dev/null )
( chmod 777 testpackagesload.in; ./testpackagesload.in > \
`date -u +dev/log/testpackagesloadN1_%Y-%m-%d-%H-%M`; rm testpackagesload.in )
( rm wsp.g )
( echo 'ReadGapRoot( "tst/testutil.g" ); \
SaveWorkspace( "wsp.g" );' | $(TESTGAPauto) )
( echo 'CreatePackageLoadTestsInput( "testpackagesload.in", \
"testpackagesloadA", \
"$(TESTGAPauto) -L wsp.g", true, false );'\
| $(TESTGAPauto) -L wsp.g > /dev/null )
( chmod 777 testpackagesload.in; ./testpackagesload.in > \
`date -u +dev/log/testpackagesloadA_%Y-%m-%d-%H-%M`; rm testpackagesload.in )
( rm wsp.g )
( echo 'ReadGapRoot( "tst/testutil.g" ); \
SaveWorkspace( "wsp.g" );' | $(TESTGAPauto) )
( echo 'CreatePackageLoadTestsInput( "testpackagesload.in", \
"testpackagesloadNA", \
"$(TESTGAPauto) -L wsp.g", true, true );'\
| $(TESTGAPauto) -L wsp.g > /dev/null )
( chmod 777 testpackagesload.in; ./testpackagesload.in > \
`date -u +dev/log/testpackagesloadNA_%Y-%m-%d-%H-%M`; rm testpackagesload.in )
( rm wsp.g )
testpackagesvars:
mkdir -p dev/log
( echo 'ReadGapRoot( "tst/testutil.g" ); \
SaveWorkspace( "wsp.g" );' | $(TESTGAP) )
( echo 'CreatePackageVarsTestsInput( "testpackagesvars.in", \
"dev/log/testpackagesvars", \
"$(TESTGAP) -L wsp.g" );'\
| $(TESTGAP) -L wsp.g > /dev/null )
( chmod 777 testpackagesvars.in; ./testpackagesvars.in > \
`date -u +dev/log/testpackagesvars_%Y-%m-%d-%H-%M`; rm testpackagesvars.in )
( rm wsp.g )
testmanuals1:
(cd doc/ref; ../../bin/gap.sh -r extractexamples.g runexamples.g)
(cd doc/tut; ../../bin/gap.sh -r extractexamples.g runexamples.g)
testmanuals:
mkdir -p dev/log
((cd doc/tut ; \
echo 'SetUserPreference("UseColorsInTerminal",false); SetAssertionLevel( 2 ); \
Read("extractexamples.g"); Read("runexamples.g"); ' | ../../$(TESTGAP);\
echo '============================================================';\
cd ../.. ; ff=`ls doc/tut/EXAMPLEDIFFS* 2> /dev/null | wc -l`; \
if [ $$ff != "0" ] ; then cat doc/tut/EXAMPLEDIFFS*; \
else echo "NO DIFFERENCES IN TUTORIAL EXAMPLES (NO PACKAGES)"; fi ; \
echo '============================================================';\
cd doc/ref ; \
echo 'SetUserPreference("UseColorsInTerminal",false); SetAssertionLevel( 2 ); \
Read("extractexamples.g"); Read("runexamples.g"); ' | ../../$(TESTGAP);\
echo '============================================================';\
cd ../.. ; ff=`ls doc/ref/EXAMPLEDIFFS* 2> /dev/null | wc -l`; \
if [ $$ff != "0" ] ; then cat doc/ref/EXAMPLEDIFFS*; \
else echo "NO DIFFERENCES IN REFERENCE MANUAL EXAMPLES (NO PACKAGES)"; fi ) \
> `date -u +dev/log/testmanuals1_%Y-%m-%d-%H-%M` 2>&1 )
( rm -rf doc/tut/EXAMPLEDIFFS*; rm -rf doc/ref/EXAMPLEDIFFS* )
((cd doc/tut ; \
echo 'SetUserPreference("UseColorsInTerminal",false); SetAssertionLevel( 2 ); \
Read("extractexamples.g"); Read("runexamples.g"); ' | ../../$(TESTGAPauto);\
echo '============================================================';\
cd ../.. ; ff=`ls doc/tut/EXAMPLEDIFFS* 2> /dev/null | wc -l`; \
if [ $$ff != "0" ] ; then cat doc/tut/EXAMPLEDIFFS*; \
else echo "NO DIFFERENCES IN TUTORIAL EXAMPLES (DEFAULT PACKAGES)"; fi ; \
echo '============================================================';\
cd doc/ref ; \
echo 'SetUserPreference("UseColorsInTerminal",false); SetAssertionLevel( 2 ); \
Read("extractexamples.g"); Read("runexamples.g"); ' | ../../$(TESTGAPauto);\
echo '============================================================';\
cd ../.. ; ff=`ls doc/ref/EXAMPLEDIFFS* 2> /dev/null | wc -l`; \
if [ $$ff != "0" ] ; then cat doc/ref/EXAMPLEDIFFS*; \
else echo "NO DIFFERENCES IN REFERENCE MANUAL EXAMPLES (DEFAULT PACKAGES)"; fi ) \
> `date -u +dev/log/testmanualsA_%Y-%m-%d-%H-%M` 2>&1 )
( rm -rf doc/tut/EXAMPLEDIFFS*; rm -rf doc/ref/EXAMPLEDIFFS* )
((cd doc/tut ; \
echo 'SetUserPreference("UseColorsInTerminal",false); SetAssertionLevel( 2 ); \
LoadAllPackages() ; \
Read("extractexamples.g"); Read("runexamples.g"); ' | ../../$(TESTGAP);\
echo '============================================================';\
cd ../.. ; ff=`ls doc/tut/EXAMPLEDIFFS* 2> /dev/null | wc -l`; \
if [ $$ff != "0" ] ; then cat doc/tut/EXAMPLEDIFFS*; \
else echo "NO DIFFERENCES IN TUTORIAL EXAMPLES (ALL PACKAGES)"; fi ; \
echo '============================================================';\
cd doc/ref ; \
echo 'SetUserPreference("UseColorsInTerminal",false); SetAssertionLevel( 2 ); \
LoadAllPackages() ; \
Read("extractexamples.g"); Read("runexamples.g"); ' | ../../$(TESTGAP);\
echo '============================================================';\
cd ../.. ; ff=`ls doc/ref/EXAMPLEDIFFS* 2> /dev/null | wc -l`; \
if [ $$ff != "0" ] ; then cat doc/ref/EXAMPLEDIFFS*; \
else echo "NO DIFFERENCES IN REFERENCE MANUAL EXAMPLES (ALL PACKAGES)"; fi ) \
> `date -u +dev/log/testmanuals2_%Y-%m-%d-%H-%M` 2>&1 )
( rm -rf doc/tut/EXAMPLEDIFFS*; rm -rf doc/ref/EXAMPLEDIFFS* )
testupdates:
mkdir -p dev/log
( echo 'SetUserPreference("UseColorsInTerminal",false); \
ReadGapRoot( "tst/testutil.g" ); \
SetAssertionLevel( 2 ); RunDevUpdateTests();' | $(TESTGAP) > \
`date -u +dev/log/testupdates1_%Y-%m-%d-%H-%M` )
( echo 'SetUserPreference("UseColorsInTerminal",false); \
ReadGapRoot( "tst/testutil.g" ); LoadAllPackages(); \
SetAssertionLevel( 2 ); RunDevUpdateTests();' | $(TESTGAP) > \
`date -u +dev/log/testupdates2_%Y-%m-%d-%H-%M` )
testobsoletes:
mkdir -p dev/log
( echo 'ReadGapRoot( "tst/testutil.g" ); \
SaveWorkspace( "wsp.g" );' | $(TESTGAP) -O )
( echo 'CreatePackageLoadTestsInput( "testobsoletes1.in", \
"dev/log/testobsoletes1", \
"$(TESTGAP) -O -L wsp.g", false, false );'\
| $(TESTGAP) -O -L wsp.g > /dev/null )
( chmod 777 testobsoletes1.in; ./testobsoletes1.in > \
`date -u +dev/log/testobsoletes1_%Y-%m-%d-%H-%M`; rm testobsoletes1.in )
( rm wsp.g )
( echo 'ReadGapRoot( "tst/testutil.g" ); \
SaveWorkspace( "wsp.g" );' | $(TESTGAP) -O )
( echo 'CreatePackageLoadTestsInput( "testobsoletesN1.in", \
"dev/log/testobsoletesN1", \
"$(TESTGAP) -O -L wsp.g", false, true );'\
| $(TESTGAP) -O -L wsp.g > /dev/null )
( chmod 777 testobsoletesN1.in; ./testobsoletesN1.in > \
`date -u +dev/log/testobsoletesN1_%Y-%m-%d-%H-%M`; rm testobsoletesN1.in )
( rm wsp.g )
cygwin: extern
( cd bin/$(GAPARCH) ; $(MAKE) gapdll ABI='$(ABI)' CC='$(CC)' GMP_VER='$(GMP_VER)' GMP_CFLAGS='$(GMP_CFLAGS)' GMP_LIBS='$(GMP_LIBS)' CONFIGNAME='$(CONFIGNAME)' )
chmod +x bin/gap-$(CONFIGNAME).sh
chmod +x bin/*.bat
cp bin/$(GAPARCH)/gapw95.exe bin
cp bin/$(GAPARCH)/gap.dll bin
cp /bin/cygncurses-10.dll /bin/cygncursesw-10.dll \
/bin/cygpanel-10.dll /bin/cygwin1.dll \
/bin/libW11.dll /usr/bin/rxvt.exe /usr/bin/regtool.exe \
/bin/cygreadline7.dll /bin/cyggcc_s-1.dll /bin/cygpopt-0.dll \
/bin/cygstart.exe /bin/mintty.exe bin
chmod +x cnf/instcygwinterminfo.sh
cnf/instcygwinterminfo.sh
( if which peflags ; then peflags --cygwin-heap=2048 bin/gapw95.exe ; fi )
winbinp:
( tar cfz ../winbin.tgz bin/*.dll bin/*.exe \
bin/$(GAPARCH)/gac \
bin/$(GAPARCH)/config.h \
terminfo )
packages:
./makepkgs
.PHONY: clean clean_$(CLEANME) clean_gap clean_gap_$(CLEANME) clean_gmp clean_gmp_$(CLEANME) compile config cygwin default distclean extern manuals packages rebuild removewin setconfig static strip testinstall testinstall.g testmanuals testpackages testpackagesload testpackagesvars teststandard teststandardrenormalize winbinp