~ubuntu-branches/ubuntu/feisty/fpc/feisty

« back to all changes in this revision

Viewing changes to packages/extra/forms/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2007-01-27 20:08:50 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070127200850-9mrptaqqjsx9nwa7
Tags: 2.0.4-5
* Fixed Build-Depends.
* Add myself to Uploaders in debian/control.
* Make sure that the sources are really patched before building them.
* Build unit 'libc' on powerpc too.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#
2
 
# Don't edit, this file is generated by FPCMake Version 2.0.0 [2005/05/05]
 
2
# Don't edit, this file is generated by FPCMake Version 2.0.0 [2006/02/06]
3
3
#
4
4
default: all
5
 
MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos i386-netbsd i386-solaris i386-qnx i386-netware i386-openbsd i386-wdosx i386-emx i386-watcom i386-netwlibc m68k-linux m68k-freebsd m68k-netbsd m68k-amiga m68k-atari m68k-openbsd m68k-palmos powerpc-linux powerpc-netbsd powerpc-macos powerpc-darwin powerpc-morphos sparc-linux sparc-netbsd sparc-solaris x86_64-linux x86_64-freebsd arm-linux
 
5
MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos i386-netbsd i386-solaris i386-qnx i386-netware i386-openbsd i386-wdosx i386-emx i386-watcom i386-netwlibc i386-wince m68k-linux m68k-freebsd m68k-netbsd m68k-amiga m68k-atari m68k-openbsd m68k-palmos powerpc-linux powerpc-netbsd powerpc-macos powerpc-darwin powerpc-morphos sparc-linux sparc-netbsd sparc-solaris x86_64-linux x86_64-freebsd x86_64-win64 arm-linux arm-palmos arm-wince powerpc64-linux
6
6
BSDs = freebsd netbsd openbsd darwin
7
7
UNIXs = linux $(BSDs) solaris qnx
8
8
LIMIT83fs = go32v2 os2 emx watcom
231
231
endif
232
232
PACKAGESDIR:=$(wildcard $(FPCDIR) $(FPCDIR)/packages/base $(FPCDIR)/packages/extra)
233
233
override PACKAGE_NAME=forms
234
 
override PACKAGE_VERSION=2.0.0
235
 
ifeq ($(FULL_TARGET),i386-linux)
236
 
override TARGET_PROGRAMS+=fd2pascal
237
 
endif
238
 
ifeq ($(FULL_TARGET),i386-go32v2)
239
 
override TARGET_PROGRAMS+=fd2pascal
240
 
endif
241
 
ifeq ($(FULL_TARGET),i386-win32)
242
 
override TARGET_PROGRAMS+=fd2pascal
243
 
endif
244
 
ifeq ($(FULL_TARGET),i386-os2)
245
 
override TARGET_PROGRAMS+=fd2pascal
246
 
endif
247
 
ifeq ($(FULL_TARGET),i386-freebsd)
248
 
override TARGET_PROGRAMS+=fd2pascal
249
 
endif
250
 
ifeq ($(FULL_TARGET),i386-beos)
251
 
override TARGET_PROGRAMS+=fd2pascal
252
 
endif
253
 
ifeq ($(FULL_TARGET),i386-netbsd)
254
 
override TARGET_PROGRAMS+=fd2pascal
255
 
endif
256
 
ifeq ($(FULL_TARGET),i386-solaris)
257
 
override TARGET_PROGRAMS+=fd2pascal
258
 
endif
259
 
ifeq ($(FULL_TARGET),i386-qnx)
260
 
override TARGET_PROGRAMS+=fd2pascal
261
 
endif
262
 
ifeq ($(FULL_TARGET),i386-netware)
263
 
override TARGET_PROGRAMS+=fd2pascal
264
 
endif
265
 
ifeq ($(FULL_TARGET),i386-openbsd)
266
 
override TARGET_PROGRAMS+=fd2pascal
267
 
endif
268
 
ifeq ($(FULL_TARGET),i386-wdosx)
269
 
override TARGET_PROGRAMS+=fd2pascal
270
 
endif
271
 
ifeq ($(FULL_TARGET),i386-emx)
272
 
override TARGET_PROGRAMS+=fd2pascal
273
 
endif
274
 
ifeq ($(FULL_TARGET),i386-watcom)
275
 
override TARGET_PROGRAMS+=fd2pascal
276
 
endif
277
 
ifeq ($(FULL_TARGET),i386-netwlibc)
278
 
override TARGET_PROGRAMS+=fd2pascal
279
 
endif
280
 
ifeq ($(FULL_TARGET),m68k-linux)
281
 
override TARGET_PROGRAMS+=fd2pascal
282
 
endif
283
 
ifeq ($(FULL_TARGET),m68k-freebsd)
284
 
override TARGET_PROGRAMS+=fd2pascal
285
 
endif
286
 
ifeq ($(FULL_TARGET),m68k-netbsd)
287
 
override TARGET_PROGRAMS+=fd2pascal
288
 
endif
289
 
ifeq ($(FULL_TARGET),m68k-amiga)
290
 
override TARGET_PROGRAMS+=fd2pascal
291
 
endif
292
 
ifeq ($(FULL_TARGET),m68k-atari)
293
 
override TARGET_PROGRAMS+=fd2pascal
294
 
endif
295
 
ifeq ($(FULL_TARGET),m68k-openbsd)
296
 
override TARGET_PROGRAMS+=fd2pascal
297
 
endif
298
 
ifeq ($(FULL_TARGET),m68k-palmos)
299
 
override TARGET_PROGRAMS+=fd2pascal
300
 
endif
301
 
ifeq ($(FULL_TARGET),powerpc-linux)
302
 
override TARGET_PROGRAMS+=fd2pascal
303
 
endif
304
 
ifeq ($(FULL_TARGET),powerpc-netbsd)
305
 
override TARGET_PROGRAMS+=fd2pascal
306
 
endif
307
 
ifeq ($(FULL_TARGET),powerpc-macos)
308
 
override TARGET_PROGRAMS+=fd2pascal
309
 
endif
310
 
ifeq ($(FULL_TARGET),powerpc-darwin)
311
 
override TARGET_PROGRAMS+=fd2pascal
312
 
endif
313
 
ifeq ($(FULL_TARGET),powerpc-morphos)
314
 
override TARGET_PROGRAMS+=fd2pascal
315
 
endif
316
 
ifeq ($(FULL_TARGET),sparc-linux)
317
 
override TARGET_PROGRAMS+=fd2pascal
318
 
endif
319
 
ifeq ($(FULL_TARGET),sparc-netbsd)
320
 
override TARGET_PROGRAMS+=fd2pascal
321
 
endif
322
 
ifeq ($(FULL_TARGET),sparc-solaris)
323
 
override TARGET_PROGRAMS+=fd2pascal
324
 
endif
325
 
ifeq ($(FULL_TARGET),x86_64-linux)
326
 
override TARGET_PROGRAMS+=fd2pascal
327
 
endif
328
 
ifeq ($(FULL_TARGET),x86_64-freebsd)
329
 
override TARGET_PROGRAMS+=fd2pascal
330
 
endif
331
 
ifeq ($(FULL_TARGET),arm-linux)
332
 
override TARGET_PROGRAMS+=fd2pascal
333
 
endif
334
 
ifeq ($(FULL_TARGET),i386-linux)
335
 
override TARGET_UNITS+=xforms
336
 
endif
337
 
ifeq ($(FULL_TARGET),i386-go32v2)
338
 
override TARGET_UNITS+=xforms
339
 
endif
340
 
ifeq ($(FULL_TARGET),i386-win32)
341
 
override TARGET_UNITS+=xforms
342
 
endif
343
 
ifeq ($(FULL_TARGET),i386-os2)
344
 
override TARGET_UNITS+=xforms
345
 
endif
346
 
ifeq ($(FULL_TARGET),i386-freebsd)
347
 
override TARGET_UNITS+=xforms
348
 
endif
349
 
ifeq ($(FULL_TARGET),i386-beos)
350
 
override TARGET_UNITS+=xforms
351
 
endif
352
 
ifeq ($(FULL_TARGET),i386-netbsd)
353
 
override TARGET_UNITS+=xforms
354
 
endif
355
 
ifeq ($(FULL_TARGET),i386-solaris)
356
 
override TARGET_UNITS+=xforms
357
 
endif
358
 
ifeq ($(FULL_TARGET),i386-qnx)
359
 
override TARGET_UNITS+=xforms
360
 
endif
361
 
ifeq ($(FULL_TARGET),i386-netware)
362
 
override TARGET_UNITS+=xforms
363
 
endif
364
 
ifeq ($(FULL_TARGET),i386-openbsd)
365
 
override TARGET_UNITS+=xforms
366
 
endif
367
 
ifeq ($(FULL_TARGET),i386-wdosx)
368
 
override TARGET_UNITS+=xforms
369
 
endif
370
 
ifeq ($(FULL_TARGET),i386-emx)
371
 
override TARGET_UNITS+=xforms
372
 
endif
373
 
ifeq ($(FULL_TARGET),i386-watcom)
374
 
override TARGET_UNITS+=xforms
375
 
endif
376
 
ifeq ($(FULL_TARGET),i386-netwlibc)
377
 
override TARGET_UNITS+=xforms
378
 
endif
379
 
ifeq ($(FULL_TARGET),m68k-linux)
380
 
override TARGET_UNITS+=xforms
381
 
endif
382
 
ifeq ($(FULL_TARGET),m68k-freebsd)
383
 
override TARGET_UNITS+=xforms
384
 
endif
385
 
ifeq ($(FULL_TARGET),m68k-netbsd)
386
 
override TARGET_UNITS+=xforms
387
 
endif
388
 
ifeq ($(FULL_TARGET),m68k-amiga)
389
 
override TARGET_UNITS+=xforms
390
 
endif
391
 
ifeq ($(FULL_TARGET),m68k-atari)
392
 
override TARGET_UNITS+=xforms
393
 
endif
394
 
ifeq ($(FULL_TARGET),m68k-openbsd)
395
 
override TARGET_UNITS+=xforms
396
 
endif
397
 
ifeq ($(FULL_TARGET),m68k-palmos)
398
 
override TARGET_UNITS+=xforms
399
 
endif
400
 
ifeq ($(FULL_TARGET),powerpc-linux)
401
 
override TARGET_UNITS+=xforms
402
 
endif
403
 
ifeq ($(FULL_TARGET),powerpc-netbsd)
404
 
override TARGET_UNITS+=xforms
405
 
endif
406
 
ifeq ($(FULL_TARGET),powerpc-macos)
407
 
override TARGET_UNITS+=xforms
408
 
endif
409
 
ifeq ($(FULL_TARGET),powerpc-darwin)
410
 
override TARGET_UNITS+=xforms
411
 
endif
412
 
ifeq ($(FULL_TARGET),powerpc-morphos)
413
 
override TARGET_UNITS+=xforms
414
 
endif
415
 
ifeq ($(FULL_TARGET),sparc-linux)
416
 
override TARGET_UNITS+=xforms
417
 
endif
418
 
ifeq ($(FULL_TARGET),sparc-netbsd)
419
 
override TARGET_UNITS+=xforms
420
 
endif
421
 
ifeq ($(FULL_TARGET),sparc-solaris)
422
 
override TARGET_UNITS+=xforms
423
 
endif
424
 
ifeq ($(FULL_TARGET),x86_64-linux)
425
 
override TARGET_UNITS+=xforms
426
 
endif
427
 
ifeq ($(FULL_TARGET),x86_64-freebsd)
428
 
override TARGET_UNITS+=xforms
429
 
endif
430
 
ifeq ($(FULL_TARGET),arm-linux)
431
 
override TARGET_UNITS+=xforms
432
 
endif
433
 
ifeq ($(FULL_TARGET),i386-linux)
434
 
override TARGET_EXAMPLEDIRS+=demo
435
 
endif
436
 
ifeq ($(FULL_TARGET),i386-go32v2)
437
 
override TARGET_EXAMPLEDIRS+=demo
438
 
endif
439
 
ifeq ($(FULL_TARGET),i386-win32)
440
 
override TARGET_EXAMPLEDIRS+=demo
441
 
endif
442
 
ifeq ($(FULL_TARGET),i386-os2)
443
 
override TARGET_EXAMPLEDIRS+=demo
444
 
endif
445
 
ifeq ($(FULL_TARGET),i386-freebsd)
446
 
override TARGET_EXAMPLEDIRS+=demo
447
 
endif
448
 
ifeq ($(FULL_TARGET),i386-beos)
449
 
override TARGET_EXAMPLEDIRS+=demo
450
 
endif
451
 
ifeq ($(FULL_TARGET),i386-netbsd)
452
 
override TARGET_EXAMPLEDIRS+=demo
453
 
endif
454
 
ifeq ($(FULL_TARGET),i386-solaris)
455
 
override TARGET_EXAMPLEDIRS+=demo
456
 
endif
457
 
ifeq ($(FULL_TARGET),i386-qnx)
458
 
override TARGET_EXAMPLEDIRS+=demo
459
 
endif
460
 
ifeq ($(FULL_TARGET),i386-netware)
461
 
override TARGET_EXAMPLEDIRS+=demo
462
 
endif
463
 
ifeq ($(FULL_TARGET),i386-openbsd)
464
 
override TARGET_EXAMPLEDIRS+=demo
465
 
endif
466
 
ifeq ($(FULL_TARGET),i386-wdosx)
467
 
override TARGET_EXAMPLEDIRS+=demo
468
 
endif
469
 
ifeq ($(FULL_TARGET),i386-emx)
470
 
override TARGET_EXAMPLEDIRS+=demo
471
 
endif
472
 
ifeq ($(FULL_TARGET),i386-watcom)
473
 
override TARGET_EXAMPLEDIRS+=demo
474
 
endif
475
 
ifeq ($(FULL_TARGET),i386-netwlibc)
476
 
override TARGET_EXAMPLEDIRS+=demo
477
 
endif
478
 
ifeq ($(FULL_TARGET),m68k-linux)
479
 
override TARGET_EXAMPLEDIRS+=demo
480
 
endif
481
 
ifeq ($(FULL_TARGET),m68k-freebsd)
482
 
override TARGET_EXAMPLEDIRS+=demo
483
 
endif
484
 
ifeq ($(FULL_TARGET),m68k-netbsd)
485
 
override TARGET_EXAMPLEDIRS+=demo
486
 
endif
487
 
ifeq ($(FULL_TARGET),m68k-amiga)
488
 
override TARGET_EXAMPLEDIRS+=demo
489
 
endif
490
 
ifeq ($(FULL_TARGET),m68k-atari)
491
 
override TARGET_EXAMPLEDIRS+=demo
492
 
endif
493
 
ifeq ($(FULL_TARGET),m68k-openbsd)
494
 
override TARGET_EXAMPLEDIRS+=demo
495
 
endif
496
 
ifeq ($(FULL_TARGET),m68k-palmos)
497
 
override TARGET_EXAMPLEDIRS+=demo
498
 
endif
499
 
ifeq ($(FULL_TARGET),powerpc-linux)
500
 
override TARGET_EXAMPLEDIRS+=demo
501
 
endif
502
 
ifeq ($(FULL_TARGET),powerpc-netbsd)
503
 
override TARGET_EXAMPLEDIRS+=demo
504
 
endif
505
 
ifeq ($(FULL_TARGET),powerpc-macos)
506
 
override TARGET_EXAMPLEDIRS+=demo
507
 
endif
508
 
ifeq ($(FULL_TARGET),powerpc-darwin)
509
 
override TARGET_EXAMPLEDIRS+=demo
510
 
endif
511
 
ifeq ($(FULL_TARGET),powerpc-morphos)
512
 
override TARGET_EXAMPLEDIRS+=demo
513
 
endif
514
 
ifeq ($(FULL_TARGET),sparc-linux)
515
 
override TARGET_EXAMPLEDIRS+=demo
516
 
endif
517
 
ifeq ($(FULL_TARGET),sparc-netbsd)
518
 
override TARGET_EXAMPLEDIRS+=demo
519
 
endif
520
 
ifeq ($(FULL_TARGET),sparc-solaris)
521
 
override TARGET_EXAMPLEDIRS+=demo
522
 
endif
523
 
ifeq ($(FULL_TARGET),x86_64-linux)
524
 
override TARGET_EXAMPLEDIRS+=demo
525
 
endif
526
 
ifeq ($(FULL_TARGET),x86_64-freebsd)
527
 
override TARGET_EXAMPLEDIRS+=demo
528
 
endif
529
 
ifeq ($(FULL_TARGET),arm-linux)
 
234
override PACKAGE_VERSION=2.0.4
 
235
ifeq ($(FULL_TARGET),i386-linux)
 
236
override TARGET_PROGRAMS+=fd2pascal
 
237
endif
 
238
ifeq ($(FULL_TARGET),i386-go32v2)
 
239
override TARGET_PROGRAMS+=fd2pascal
 
240
endif
 
241
ifeq ($(FULL_TARGET),i386-win32)
 
242
override TARGET_PROGRAMS+=fd2pascal
 
243
endif
 
244
ifeq ($(FULL_TARGET),i386-os2)
 
245
override TARGET_PROGRAMS+=fd2pascal
 
246
endif
 
247
ifeq ($(FULL_TARGET),i386-freebsd)
 
248
override TARGET_PROGRAMS+=fd2pascal
 
249
endif
 
250
ifeq ($(FULL_TARGET),i386-beos)
 
251
override TARGET_PROGRAMS+=fd2pascal
 
252
endif
 
253
ifeq ($(FULL_TARGET),i386-netbsd)
 
254
override TARGET_PROGRAMS+=fd2pascal
 
255
endif
 
256
ifeq ($(FULL_TARGET),i386-solaris)
 
257
override TARGET_PROGRAMS+=fd2pascal
 
258
endif
 
259
ifeq ($(FULL_TARGET),i386-qnx)
 
260
override TARGET_PROGRAMS+=fd2pascal
 
261
endif
 
262
ifeq ($(FULL_TARGET),i386-netware)
 
263
override TARGET_PROGRAMS+=fd2pascal
 
264
endif
 
265
ifeq ($(FULL_TARGET),i386-openbsd)
 
266
override TARGET_PROGRAMS+=fd2pascal
 
267
endif
 
268
ifeq ($(FULL_TARGET),i386-wdosx)
 
269
override TARGET_PROGRAMS+=fd2pascal
 
270
endif
 
271
ifeq ($(FULL_TARGET),i386-emx)
 
272
override TARGET_PROGRAMS+=fd2pascal
 
273
endif
 
274
ifeq ($(FULL_TARGET),i386-watcom)
 
275
override TARGET_PROGRAMS+=fd2pascal
 
276
endif
 
277
ifeq ($(FULL_TARGET),i386-netwlibc)
 
278
override TARGET_PROGRAMS+=fd2pascal
 
279
endif
 
280
ifeq ($(FULL_TARGET),i386-wince)
 
281
override TARGET_PROGRAMS+=fd2pascal
 
282
endif
 
283
ifeq ($(FULL_TARGET),m68k-linux)
 
284
override TARGET_PROGRAMS+=fd2pascal
 
285
endif
 
286
ifeq ($(FULL_TARGET),m68k-freebsd)
 
287
override TARGET_PROGRAMS+=fd2pascal
 
288
endif
 
289
ifeq ($(FULL_TARGET),m68k-netbsd)
 
290
override TARGET_PROGRAMS+=fd2pascal
 
291
endif
 
292
ifeq ($(FULL_TARGET),m68k-amiga)
 
293
override TARGET_PROGRAMS+=fd2pascal
 
294
endif
 
295
ifeq ($(FULL_TARGET),m68k-atari)
 
296
override TARGET_PROGRAMS+=fd2pascal
 
297
endif
 
298
ifeq ($(FULL_TARGET),m68k-openbsd)
 
299
override TARGET_PROGRAMS+=fd2pascal
 
300
endif
 
301
ifeq ($(FULL_TARGET),m68k-palmos)
 
302
override TARGET_PROGRAMS+=fd2pascal
 
303
endif
 
304
ifeq ($(FULL_TARGET),powerpc-linux)
 
305
override TARGET_PROGRAMS+=fd2pascal
 
306
endif
 
307
ifeq ($(FULL_TARGET),powerpc-netbsd)
 
308
override TARGET_PROGRAMS+=fd2pascal
 
309
endif
 
310
ifeq ($(FULL_TARGET),powerpc-macos)
 
311
override TARGET_PROGRAMS+=fd2pascal
 
312
endif
 
313
ifeq ($(FULL_TARGET),powerpc-darwin)
 
314
override TARGET_PROGRAMS+=fd2pascal
 
315
endif
 
316
ifeq ($(FULL_TARGET),powerpc-morphos)
 
317
override TARGET_PROGRAMS+=fd2pascal
 
318
endif
 
319
ifeq ($(FULL_TARGET),sparc-linux)
 
320
override TARGET_PROGRAMS+=fd2pascal
 
321
endif
 
322
ifeq ($(FULL_TARGET),sparc-netbsd)
 
323
override TARGET_PROGRAMS+=fd2pascal
 
324
endif
 
325
ifeq ($(FULL_TARGET),sparc-solaris)
 
326
override TARGET_PROGRAMS+=fd2pascal
 
327
endif
 
328
ifeq ($(FULL_TARGET),x86_64-linux)
 
329
override TARGET_PROGRAMS+=fd2pascal
 
330
endif
 
331
ifeq ($(FULL_TARGET),x86_64-freebsd)
 
332
override TARGET_PROGRAMS+=fd2pascal
 
333
endif
 
334
ifeq ($(FULL_TARGET),x86_64-win64)
 
335
override TARGET_PROGRAMS+=fd2pascal
 
336
endif
 
337
ifeq ($(FULL_TARGET),arm-linux)
 
338
override TARGET_PROGRAMS+=fd2pascal
 
339
endif
 
340
ifeq ($(FULL_TARGET),arm-palmos)
 
341
override TARGET_PROGRAMS+=fd2pascal
 
342
endif
 
343
ifeq ($(FULL_TARGET),arm-wince)
 
344
override TARGET_PROGRAMS+=fd2pascal
 
345
endif
 
346
ifeq ($(FULL_TARGET),powerpc64-linux)
 
347
override TARGET_PROGRAMS+=fd2pascal
 
348
endif
 
349
ifeq ($(FULL_TARGET),i386-linux)
 
350
override TARGET_UNITS+=xforms
 
351
endif
 
352
ifeq ($(FULL_TARGET),i386-go32v2)
 
353
override TARGET_UNITS+=xforms
 
354
endif
 
355
ifeq ($(FULL_TARGET),i386-win32)
 
356
override TARGET_UNITS+=xforms
 
357
endif
 
358
ifeq ($(FULL_TARGET),i386-os2)
 
359
override TARGET_UNITS+=xforms
 
360
endif
 
361
ifeq ($(FULL_TARGET),i386-freebsd)
 
362
override TARGET_UNITS+=xforms
 
363
endif
 
364
ifeq ($(FULL_TARGET),i386-beos)
 
365
override TARGET_UNITS+=xforms
 
366
endif
 
367
ifeq ($(FULL_TARGET),i386-netbsd)
 
368
override TARGET_UNITS+=xforms
 
369
endif
 
370
ifeq ($(FULL_TARGET),i386-solaris)
 
371
override TARGET_UNITS+=xforms
 
372
endif
 
373
ifeq ($(FULL_TARGET),i386-qnx)
 
374
override TARGET_UNITS+=xforms
 
375
endif
 
376
ifeq ($(FULL_TARGET),i386-netware)
 
377
override TARGET_UNITS+=xforms
 
378
endif
 
379
ifeq ($(FULL_TARGET),i386-openbsd)
 
380
override TARGET_UNITS+=xforms
 
381
endif
 
382
ifeq ($(FULL_TARGET),i386-wdosx)
 
383
override TARGET_UNITS+=xforms
 
384
endif
 
385
ifeq ($(FULL_TARGET),i386-emx)
 
386
override TARGET_UNITS+=xforms
 
387
endif
 
388
ifeq ($(FULL_TARGET),i386-watcom)
 
389
override TARGET_UNITS+=xforms
 
390
endif
 
391
ifeq ($(FULL_TARGET),i386-netwlibc)
 
392
override TARGET_UNITS+=xforms
 
393
endif
 
394
ifeq ($(FULL_TARGET),i386-wince)
 
395
override TARGET_UNITS+=xforms
 
396
endif
 
397
ifeq ($(FULL_TARGET),m68k-linux)
 
398
override TARGET_UNITS+=xforms
 
399
endif
 
400
ifeq ($(FULL_TARGET),m68k-freebsd)
 
401
override TARGET_UNITS+=xforms
 
402
endif
 
403
ifeq ($(FULL_TARGET),m68k-netbsd)
 
404
override TARGET_UNITS+=xforms
 
405
endif
 
406
ifeq ($(FULL_TARGET),m68k-amiga)
 
407
override TARGET_UNITS+=xforms
 
408
endif
 
409
ifeq ($(FULL_TARGET),m68k-atari)
 
410
override TARGET_UNITS+=xforms
 
411
endif
 
412
ifeq ($(FULL_TARGET),m68k-openbsd)
 
413
override TARGET_UNITS+=xforms
 
414
endif
 
415
ifeq ($(FULL_TARGET),m68k-palmos)
 
416
override TARGET_UNITS+=xforms
 
417
endif
 
418
ifeq ($(FULL_TARGET),powerpc-linux)
 
419
override TARGET_UNITS+=xforms
 
420
endif
 
421
ifeq ($(FULL_TARGET),powerpc-netbsd)
 
422
override TARGET_UNITS+=xforms
 
423
endif
 
424
ifeq ($(FULL_TARGET),powerpc-macos)
 
425
override TARGET_UNITS+=xforms
 
426
endif
 
427
ifeq ($(FULL_TARGET),powerpc-darwin)
 
428
override TARGET_UNITS+=xforms
 
429
endif
 
430
ifeq ($(FULL_TARGET),powerpc-morphos)
 
431
override TARGET_UNITS+=xforms
 
432
endif
 
433
ifeq ($(FULL_TARGET),sparc-linux)
 
434
override TARGET_UNITS+=xforms
 
435
endif
 
436
ifeq ($(FULL_TARGET),sparc-netbsd)
 
437
override TARGET_UNITS+=xforms
 
438
endif
 
439
ifeq ($(FULL_TARGET),sparc-solaris)
 
440
override TARGET_UNITS+=xforms
 
441
endif
 
442
ifeq ($(FULL_TARGET),x86_64-linux)
 
443
override TARGET_UNITS+=xforms
 
444
endif
 
445
ifeq ($(FULL_TARGET),x86_64-freebsd)
 
446
override TARGET_UNITS+=xforms
 
447
endif
 
448
ifeq ($(FULL_TARGET),x86_64-win64)
 
449
override TARGET_UNITS+=xforms
 
450
endif
 
451
ifeq ($(FULL_TARGET),arm-linux)
 
452
override TARGET_UNITS+=xforms
 
453
endif
 
454
ifeq ($(FULL_TARGET),arm-palmos)
 
455
override TARGET_UNITS+=xforms
 
456
endif
 
457
ifeq ($(FULL_TARGET),arm-wince)
 
458
override TARGET_UNITS+=xforms
 
459
endif
 
460
ifeq ($(FULL_TARGET),powerpc64-linux)
 
461
override TARGET_UNITS+=xforms
 
462
endif
 
463
ifeq ($(FULL_TARGET),i386-linux)
 
464
override TARGET_EXAMPLEDIRS+=demo
 
465
endif
 
466
ifeq ($(FULL_TARGET),i386-go32v2)
 
467
override TARGET_EXAMPLEDIRS+=demo
 
468
endif
 
469
ifeq ($(FULL_TARGET),i386-win32)
 
470
override TARGET_EXAMPLEDIRS+=demo
 
471
endif
 
472
ifeq ($(FULL_TARGET),i386-os2)
 
473
override TARGET_EXAMPLEDIRS+=demo
 
474
endif
 
475
ifeq ($(FULL_TARGET),i386-freebsd)
 
476
override TARGET_EXAMPLEDIRS+=demo
 
477
endif
 
478
ifeq ($(FULL_TARGET),i386-beos)
 
479
override TARGET_EXAMPLEDIRS+=demo
 
480
endif
 
481
ifeq ($(FULL_TARGET),i386-netbsd)
 
482
override TARGET_EXAMPLEDIRS+=demo
 
483
endif
 
484
ifeq ($(FULL_TARGET),i386-solaris)
 
485
override TARGET_EXAMPLEDIRS+=demo
 
486
endif
 
487
ifeq ($(FULL_TARGET),i386-qnx)
 
488
override TARGET_EXAMPLEDIRS+=demo
 
489
endif
 
490
ifeq ($(FULL_TARGET),i386-netware)
 
491
override TARGET_EXAMPLEDIRS+=demo
 
492
endif
 
493
ifeq ($(FULL_TARGET),i386-openbsd)
 
494
override TARGET_EXAMPLEDIRS+=demo
 
495
endif
 
496
ifeq ($(FULL_TARGET),i386-wdosx)
 
497
override TARGET_EXAMPLEDIRS+=demo
 
498
endif
 
499
ifeq ($(FULL_TARGET),i386-emx)
 
500
override TARGET_EXAMPLEDIRS+=demo
 
501
endif
 
502
ifeq ($(FULL_TARGET),i386-watcom)
 
503
override TARGET_EXAMPLEDIRS+=demo
 
504
endif
 
505
ifeq ($(FULL_TARGET),i386-netwlibc)
 
506
override TARGET_EXAMPLEDIRS+=demo
 
507
endif
 
508
ifeq ($(FULL_TARGET),i386-wince)
 
509
override TARGET_EXAMPLEDIRS+=demo
 
510
endif
 
511
ifeq ($(FULL_TARGET),m68k-linux)
 
512
override TARGET_EXAMPLEDIRS+=demo
 
513
endif
 
514
ifeq ($(FULL_TARGET),m68k-freebsd)
 
515
override TARGET_EXAMPLEDIRS+=demo
 
516
endif
 
517
ifeq ($(FULL_TARGET),m68k-netbsd)
 
518
override TARGET_EXAMPLEDIRS+=demo
 
519
endif
 
520
ifeq ($(FULL_TARGET),m68k-amiga)
 
521
override TARGET_EXAMPLEDIRS+=demo
 
522
endif
 
523
ifeq ($(FULL_TARGET),m68k-atari)
 
524
override TARGET_EXAMPLEDIRS+=demo
 
525
endif
 
526
ifeq ($(FULL_TARGET),m68k-openbsd)
 
527
override TARGET_EXAMPLEDIRS+=demo
 
528
endif
 
529
ifeq ($(FULL_TARGET),m68k-palmos)
 
530
override TARGET_EXAMPLEDIRS+=demo
 
531
endif
 
532
ifeq ($(FULL_TARGET),powerpc-linux)
 
533
override TARGET_EXAMPLEDIRS+=demo
 
534
endif
 
535
ifeq ($(FULL_TARGET),powerpc-netbsd)
 
536
override TARGET_EXAMPLEDIRS+=demo
 
537
endif
 
538
ifeq ($(FULL_TARGET),powerpc-macos)
 
539
override TARGET_EXAMPLEDIRS+=demo
 
540
endif
 
541
ifeq ($(FULL_TARGET),powerpc-darwin)
 
542
override TARGET_EXAMPLEDIRS+=demo
 
543
endif
 
544
ifeq ($(FULL_TARGET),powerpc-morphos)
 
545
override TARGET_EXAMPLEDIRS+=demo
 
546
endif
 
547
ifeq ($(FULL_TARGET),sparc-linux)
 
548
override TARGET_EXAMPLEDIRS+=demo
 
549
endif
 
550
ifeq ($(FULL_TARGET),sparc-netbsd)
 
551
override TARGET_EXAMPLEDIRS+=demo
 
552
endif
 
553
ifeq ($(FULL_TARGET),sparc-solaris)
 
554
override TARGET_EXAMPLEDIRS+=demo
 
555
endif
 
556
ifeq ($(FULL_TARGET),x86_64-linux)
 
557
override TARGET_EXAMPLEDIRS+=demo
 
558
endif
 
559
ifeq ($(FULL_TARGET),x86_64-freebsd)
 
560
override TARGET_EXAMPLEDIRS+=demo
 
561
endif
 
562
ifeq ($(FULL_TARGET),x86_64-win64)
 
563
override TARGET_EXAMPLEDIRS+=demo
 
564
endif
 
565
ifeq ($(FULL_TARGET),arm-linux)
 
566
override TARGET_EXAMPLEDIRS+=demo
 
567
endif
 
568
ifeq ($(FULL_TARGET),arm-palmos)
 
569
override TARGET_EXAMPLEDIRS+=demo
 
570
endif
 
571
ifeq ($(FULL_TARGET),arm-wince)
 
572
override TARGET_EXAMPLEDIRS+=demo
 
573
endif
 
574
ifeq ($(FULL_TARGET),powerpc64-linux)
530
575
override TARGET_EXAMPLEDIRS+=demo
531
576
endif
532
577
override INSTALL_FPCPACKAGE=y
 
578
override SHARED_BUILD=n
 
579
override SHARED_BUILD=n
533
580
ifdef REQUIRE_UNITSDIR
534
581
override UNITSDIR+=$(REQUIRE_UNITSDIR)
535
582
endif
713
760
ifndef INSTALL_DATADIR
714
761
INSTALL_DATADIR=$(INSTALL_BASEDIR)
715
762
endif
 
763
ifndef INSTALL_SHAREDDIR
 
764
INSTALL_SHAREDDIR=$(INSTALL_PREFIX)/lib
 
765
endif
716
766
ifdef CROSSCOMPILE
717
767
ifndef CROSSBINDIR
718
768
CROSSBINDIR:=$(wildcard $(CROSSTARGETDIR)/bin/$(SOURCESUFFIX))
732
782
endif
733
783
endif
734
784
endif
 
785
ifeq ($(CPU_TARGET),powerpc64)
 
786
ifeq ($(BINUTILSPREFIX),)
 
787
GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
 
788
endif
 
789
endif
735
790
endif
736
791
ifndef GCCLIBDIR
737
792
CROSSGCC=$(strip $(wildcard $(addsuffix /$(BINUTILSPREFIX)gcc$(SRCEXEEXT),$(SEARCHPATH))))
759
814
SMARTEXT=.sl
760
815
STATICLIBEXT=.a
761
816
SHAREDLIBEXT=.so
 
817
SHAREDLIBPREFIX=libfp
762
818
STATICLIBPREFIX=libp
763
819
RSTEXT=.rst
764
820
ifeq ($(findstring 1.0.,$(FPC_VERSION)),)
1345
1401
REQUIRE_PACKAGES_RTL=1
1346
1402
REQUIRE_PACKAGES_X11=1
1347
1403
endif
 
1404
ifeq ($(FULL_TARGET),i386-wince)
 
1405
REQUIRE_PACKAGES_RTL=1
 
1406
REQUIRE_PACKAGES_X11=1
 
1407
endif
1348
1408
ifeq ($(FULL_TARGET),m68k-linux)
1349
1409
REQUIRE_PACKAGES_RTL=1
1350
1410
REQUIRE_PACKAGES_X11=1
1413
1473
REQUIRE_PACKAGES_RTL=1
1414
1474
REQUIRE_PACKAGES_X11=1
1415
1475
endif
 
1476
ifeq ($(FULL_TARGET),x86_64-win64)
 
1477
REQUIRE_PACKAGES_RTL=1
 
1478
REQUIRE_PACKAGES_X11=1
 
1479
endif
1416
1480
ifeq ($(FULL_TARGET),arm-linux)
1417
1481
REQUIRE_PACKAGES_RTL=1
1418
1482
REQUIRE_PACKAGES_X11=1
1419
1483
endif
 
1484
ifeq ($(FULL_TARGET),arm-palmos)
 
1485
REQUIRE_PACKAGES_RTL=1
 
1486
REQUIRE_PACKAGES_X11=1
 
1487
endif
 
1488
ifeq ($(FULL_TARGET),arm-wince)
 
1489
REQUIRE_PACKAGES_RTL=1
 
1490
REQUIRE_PACKAGES_X11=1
 
1491
endif
 
1492
ifeq ($(FULL_TARGET),powerpc64-linux)
 
1493
REQUIRE_PACKAGES_RTL=1
 
1494
REQUIRE_PACKAGES_X11=1
 
1495
endif
1420
1496
ifdef REQUIRE_PACKAGES_RTL
1421
1497
PACKAGEDIR_RTL:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /rtl/Makefile.fpc,$(PACKAGESDIR))))))
1422
1498
ifneq ($(PACKAGEDIR_RTL),)
1513
1589
FPCCPUOPT:=-OG2p3
1514
1590
else
1515
1591
ifeq ($(CPU_TARGET),powerpc)
1516
 
FPCCPUOPT:=-O1
 
1592
FPCCPUOPT:=-O1r
1517
1593
else
1518
1594
FPCCPUOPT:=
1519
1595
endif
1520
1596
endif
1521
 
override FPCOPT+=-Xs $(FPCCPUOPT) -n
 
1597
override FPCOPT+=-Ur -Xs $(FPCCPUOPT) -n
1522
1598
override FPCOPTDEF+=RELEASE
1523
1599
endif
1524
1600
ifdef STRIP
1576
1652
override FPCOPTDEF+=HASUNIX
1577
1653
endif
1578
1654
endif
 
1655
ifdef CREATESHARED
 
1656
override FPCOPT+=-Cg
 
1657
ifeq ($(CPU_TARGET),i386)
 
1658
override FPCOPT+=-Aas
 
1659
endif
 
1660
endif
 
1661
ifdef LINKSHARED
 
1662
endif
1579
1663
ifdef GCCLIBDIR
1580
1664
override FPCOPT+=-Fl$(GCCLIBDIR)
1581
1665
endif
1596
1680
override FPCOPT:=!FPCEXTCMD
1597
1681
export FPCEXTCMD
1598
1682
endif
 
1683
override AFULL_TARGET=$(CPU_TARGET)-$(OS_TARGET)
 
1684
override AFULL_SOURCE=$(CPU_SOURCE)-$(OS_SOURCE)
 
1685
ifneq ($(AFULL_TARGET),$(AFULL_SOURCE))
 
1686
override ACROSSCOMPILE=1
 
1687
endif
 
1688
ifdef ACROSSCOMPILE
 
1689
override FPCOPT+=$(CROSSOPT)
 
1690
endif
1599
1691
override COMPILER:=$(FPC) $(FPCOPT)
1600
1692
ifeq (,$(findstring -s ,$(COMPILER)))
1601
1693
EXECPPAS=
1652
1744
HASEXAMPLES=1
1653
1745
endif
1654
1746
fpc_examples: all $(EXAMPLEFILES) $(addsuffix _all,$(TARGET_EXAMPLEDIRS))
1655
 
.PHONY: fpc_all fpc_smart fpc_debug fpc_release
 
1747
.PHONY: fpc_all fpc_smart fpc_debug fpc_release fpc_shared
1656
1748
$(FPCMADE): $(ALLDEPENDENCIES) $(ALLTARGET)
1657
1749
        @$(ECHOREDIR) Compiled > $(FPCMADE)
1658
1750
fpc_all: $(FPCMADE)
1693
1785
vpath %.dpr $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
1694
1786
vpath %$(OEXT) $(COMPILER_UNITTARGETDIR)
1695
1787
vpath %$(PPUEXT) $(COMPILER_UNITTARGETDIR)
 
1788
.PHONY: fpc_shared
 
1789
override INSTALLTARGET+=fpc_shared_install
 
1790
ifndef SHARED_LIBVERSION
 
1791
SHARED_LIBVERSION=$(FPC_VERSION)
 
1792
endif
 
1793
ifndef SHARED_LIBNAME
 
1794
SHARED_LIBNAME=$(PACKAGE_NAME)
 
1795
endif
 
1796
ifndef SHARED_FULLNAME
 
1797
SHARED_FULLNAME=$(SHAREDLIBPREFIX)$(SHARED_LIBNAME)-$(SHARED_LIBVERSION)$(SHAREDLIBEXT)
 
1798
endif
 
1799
ifndef SHARED_LIBUNITS
 
1800
SHARED_LIBUNITS:=$(TARGET_UNITS) $(TARGET_IMPLICITUNITS)
 
1801
override SHARED_LIBUNITS:=$(filter-out $(INSTALL_BUILDUNIT),$(SHARED_LIBUNITS))
 
1802
endif
 
1803
fpc_shared:
 
1804
ifdef HASSHAREDLIB
 
1805
        $(MAKE) all CREATESHARED=1 LINKSHARED=1 CREATESMART=1
 
1806
ifneq ($(SHARED_BUILD),n)
 
1807
        $(PPUMOVE) -q $(SHARED_LIBUNITS) -i$(COMPILER_UNITTARGETDIR) -o$(SHARED_FULLNAME) -d$(COMPILER_UNITTARGETDIR)
 
1808
endif
 
1809
else
 
1810
        @$(ECHO) Shared Libraries not supported
 
1811
endif
 
1812
fpc_shared_install:
 
1813
ifneq ($(SHARED_BUILD),n)
 
1814
ifneq ($(SHARED_LIBUNITS),)
 
1815
ifneq ($(wildcard $(COMPILER_UNITTARGETDIR)/$(SHARED_FULLNAME)),)
 
1816
        $(INSTALL) $(COMPILER_UNITTARGETDIR)/$(SHARED_FULLNAME) $(INSTALL_SHAREDDIR)
 
1817
endif
 
1818
endif
 
1819
endif
1696
1820
.PHONY: fpc_install fpc_sourceinstall fpc_exampleinstall
1697
1821
ifdef INSTALL_UNITS
1698
1822
override INSTALLPPUFILES+=$(addsuffix $(PPUEXT),$(INSTALL_UNITS))
2063
2187
ifeq ($(FULL_TARGET),i386-netwlibc)
2064
2188
TARGET_EXAMPLEDIRS_DEMO=1
2065
2189
endif
 
2190
ifeq ($(FULL_TARGET),i386-wince)
 
2191
TARGET_EXAMPLEDIRS_DEMO=1
 
2192
endif
2066
2193
ifeq ($(FULL_TARGET),m68k-linux)
2067
2194
TARGET_EXAMPLEDIRS_DEMO=1
2068
2195
endif
2114
2241
ifeq ($(FULL_TARGET),x86_64-freebsd)
2115
2242
TARGET_EXAMPLEDIRS_DEMO=1
2116
2243
endif
 
2244
ifeq ($(FULL_TARGET),x86_64-win64)
 
2245
TARGET_EXAMPLEDIRS_DEMO=1
 
2246
endif
2117
2247
ifeq ($(FULL_TARGET),arm-linux)
2118
2248
TARGET_EXAMPLEDIRS_DEMO=1
2119
2249
endif
 
2250
ifeq ($(FULL_TARGET),arm-palmos)
 
2251
TARGET_EXAMPLEDIRS_DEMO=1
 
2252
endif
 
2253
ifeq ($(FULL_TARGET),arm-wince)
 
2254
TARGET_EXAMPLEDIRS_DEMO=1
 
2255
endif
 
2256
ifeq ($(FULL_TARGET),powerpc64-linux)
 
2257
TARGET_EXAMPLEDIRS_DEMO=1
 
2258
endif
2120
2259
ifdef TARGET_EXAMPLEDIRS_DEMO
2121
2260
demo_all:
2122
2261
        $(MAKE) -C demo all
2168
2307
release: fpc_release
2169
2308
units: fpc_units
2170
2309
examples: fpc_examples
2171
 
shared:
 
2310
shared: fpc_shared
2172
2311
install: fpc_install
2173
2312
sourceinstall: fpc_sourceinstall
2174
2313
exampleinstall: fpc_exampleinstall