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

« back to all changes in this revision

Viewing changes to rtl/amiga/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
253
253
SYSTEMUNIT=syslinux
254
254
endif
255
255
OBJPASDIR=$(RTL)/objpas
256
 
GRAPHDIR=$(INC)/graph
257
 
ifeq ($(FULL_TARGET),i386-linux)
258
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
259
 
endif
260
 
ifeq ($(FULL_TARGET),i386-go32v2)
261
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
262
 
endif
263
 
ifeq ($(FULL_TARGET),i386-win32)
264
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
265
 
endif
266
 
ifeq ($(FULL_TARGET),i386-os2)
267
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
268
 
endif
269
 
ifeq ($(FULL_TARGET),i386-freebsd)
270
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
271
 
endif
272
 
ifeq ($(FULL_TARGET),i386-beos)
273
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
274
 
endif
275
 
ifeq ($(FULL_TARGET),i386-netbsd)
276
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
277
 
endif
278
 
ifeq ($(FULL_TARGET),i386-solaris)
279
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
280
 
endif
281
 
ifeq ($(FULL_TARGET),i386-qnx)
282
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
283
 
endif
284
 
ifeq ($(FULL_TARGET),i386-netware)
285
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
286
 
endif
287
 
ifeq ($(FULL_TARGET),i386-openbsd)
288
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
289
 
endif
290
 
ifeq ($(FULL_TARGET),i386-wdosx)
291
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
292
 
endif
293
 
ifeq ($(FULL_TARGET),i386-emx)
294
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
295
 
endif
296
 
ifeq ($(FULL_TARGET),i386-watcom)
297
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
298
 
endif
299
 
ifeq ($(FULL_TARGET),i386-netwlibc)
300
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
301
 
endif
302
 
ifeq ($(FULL_TARGET),m68k-linux)
303
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
304
 
endif
305
 
ifeq ($(FULL_TARGET),m68k-freebsd)
306
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
307
 
endif
308
 
ifeq ($(FULL_TARGET),m68k-netbsd)
309
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
310
 
endif
311
 
ifeq ($(FULL_TARGET),m68k-amiga)
312
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
313
 
endif
314
 
ifeq ($(FULL_TARGET),m68k-atari)
315
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
316
 
endif
317
 
ifeq ($(FULL_TARGET),m68k-openbsd)
318
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
319
 
endif
320
 
ifeq ($(FULL_TARGET),m68k-palmos)
321
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
322
 
endif
323
 
ifeq ($(FULL_TARGET),powerpc-linux)
324
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
325
 
endif
326
 
ifeq ($(FULL_TARGET),powerpc-netbsd)
327
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
328
 
endif
329
 
ifeq ($(FULL_TARGET),powerpc-macos)
330
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
331
 
endif
332
 
ifeq ($(FULL_TARGET),powerpc-darwin)
333
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
334
 
endif
335
 
ifeq ($(FULL_TARGET),powerpc-morphos)
336
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
337
 
endif
338
 
ifeq ($(FULL_TARGET),sparc-linux)
339
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
340
 
endif
341
 
ifeq ($(FULL_TARGET),sparc-netbsd)
342
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
343
 
endif
344
 
ifeq ($(FULL_TARGET),sparc-solaris)
345
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
346
 
endif
347
 
ifeq ($(FULL_TARGET),x86_64-linux)
348
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
349
 
endif
350
 
ifeq ($(FULL_TARGET),x86_64-freebsd)
351
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
352
 
endif
353
 
ifeq ($(FULL_TARGET),arm-linux)
354
 
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts graph sysutils math typinfo ctypes
355
 
endif
356
 
ifeq ($(FULL_TARGET),i386-linux)
357
 
override TARGET_LOADERS+=prt0
358
 
endif
359
 
ifeq ($(FULL_TARGET),i386-go32v2)
360
 
override TARGET_LOADERS+=prt0
361
 
endif
362
 
ifeq ($(FULL_TARGET),i386-win32)
363
 
override TARGET_LOADERS+=prt0
364
 
endif
365
 
ifeq ($(FULL_TARGET),i386-os2)
366
 
override TARGET_LOADERS+=prt0
367
 
endif
368
 
ifeq ($(FULL_TARGET),i386-freebsd)
369
 
override TARGET_LOADERS+=prt0
370
 
endif
371
 
ifeq ($(FULL_TARGET),i386-beos)
372
 
override TARGET_LOADERS+=prt0
373
 
endif
374
 
ifeq ($(FULL_TARGET),i386-netbsd)
375
 
override TARGET_LOADERS+=prt0
376
 
endif
377
 
ifeq ($(FULL_TARGET),i386-solaris)
378
 
override TARGET_LOADERS+=prt0
379
 
endif
380
 
ifeq ($(FULL_TARGET),i386-qnx)
381
 
override TARGET_LOADERS+=prt0
382
 
endif
383
 
ifeq ($(FULL_TARGET),i386-netware)
384
 
override TARGET_LOADERS+=prt0
385
 
endif
386
 
ifeq ($(FULL_TARGET),i386-openbsd)
387
 
override TARGET_LOADERS+=prt0
388
 
endif
389
 
ifeq ($(FULL_TARGET),i386-wdosx)
390
 
override TARGET_LOADERS+=prt0
391
 
endif
392
 
ifeq ($(FULL_TARGET),i386-emx)
393
 
override TARGET_LOADERS+=prt0
394
 
endif
395
 
ifeq ($(FULL_TARGET),i386-watcom)
396
 
override TARGET_LOADERS+=prt0
397
 
endif
398
 
ifeq ($(FULL_TARGET),i386-netwlibc)
399
 
override TARGET_LOADERS+=prt0
400
 
endif
401
 
ifeq ($(FULL_TARGET),m68k-linux)
402
 
override TARGET_LOADERS+=prt0
403
 
endif
404
 
ifeq ($(FULL_TARGET),m68k-freebsd)
405
 
override TARGET_LOADERS+=prt0
406
 
endif
407
 
ifeq ($(FULL_TARGET),m68k-netbsd)
408
 
override TARGET_LOADERS+=prt0
409
 
endif
410
 
ifeq ($(FULL_TARGET),m68k-amiga)
411
 
override TARGET_LOADERS+=prt0
412
 
endif
413
 
ifeq ($(FULL_TARGET),m68k-atari)
414
 
override TARGET_LOADERS+=prt0
415
 
endif
416
 
ifeq ($(FULL_TARGET),m68k-openbsd)
417
 
override TARGET_LOADERS+=prt0
418
 
endif
419
 
ifeq ($(FULL_TARGET),m68k-palmos)
420
 
override TARGET_LOADERS+=prt0
421
 
endif
422
 
ifeq ($(FULL_TARGET),powerpc-linux)
423
 
override TARGET_LOADERS+=prt0
424
 
endif
425
 
ifeq ($(FULL_TARGET),powerpc-netbsd)
426
 
override TARGET_LOADERS+=prt0
427
 
endif
428
 
ifeq ($(FULL_TARGET),powerpc-macos)
429
 
override TARGET_LOADERS+=prt0
430
 
endif
431
 
ifeq ($(FULL_TARGET),powerpc-darwin)
432
 
override TARGET_LOADERS+=prt0
433
 
endif
434
 
ifeq ($(FULL_TARGET),powerpc-morphos)
435
 
override TARGET_LOADERS+=prt0
436
 
endif
437
 
ifeq ($(FULL_TARGET),sparc-linux)
438
 
override TARGET_LOADERS+=prt0
439
 
endif
440
 
ifeq ($(FULL_TARGET),sparc-netbsd)
441
 
override TARGET_LOADERS+=prt0
442
 
endif
443
 
ifeq ($(FULL_TARGET),sparc-solaris)
444
 
override TARGET_LOADERS+=prt0
445
 
endif
446
 
ifeq ($(FULL_TARGET),x86_64-linux)
447
 
override TARGET_LOADERS+=prt0
448
 
endif
449
 
ifeq ($(FULL_TARGET),x86_64-freebsd)
450
 
override TARGET_LOADERS+=prt0
451
 
endif
452
 
ifeq ($(FULL_TARGET),arm-linux)
453
 
override TARGET_LOADERS+=prt0
454
 
endif
455
 
ifeq ($(FULL_TARGET),i386-linux)
456
 
override TARGET_RSTS+=math
457
 
endif
458
 
ifeq ($(FULL_TARGET),i386-go32v2)
459
 
override TARGET_RSTS+=math
460
 
endif
461
 
ifeq ($(FULL_TARGET),i386-win32)
462
 
override TARGET_RSTS+=math
463
 
endif
464
 
ifeq ($(FULL_TARGET),i386-os2)
465
 
override TARGET_RSTS+=math
466
 
endif
467
 
ifeq ($(FULL_TARGET),i386-freebsd)
468
 
override TARGET_RSTS+=math
469
 
endif
470
 
ifeq ($(FULL_TARGET),i386-beos)
471
 
override TARGET_RSTS+=math
472
 
endif
473
 
ifeq ($(FULL_TARGET),i386-netbsd)
474
 
override TARGET_RSTS+=math
475
 
endif
476
 
ifeq ($(FULL_TARGET),i386-solaris)
477
 
override TARGET_RSTS+=math
478
 
endif
479
 
ifeq ($(FULL_TARGET),i386-qnx)
480
 
override TARGET_RSTS+=math
481
 
endif
482
 
ifeq ($(FULL_TARGET),i386-netware)
483
 
override TARGET_RSTS+=math
484
 
endif
485
 
ifeq ($(FULL_TARGET),i386-openbsd)
486
 
override TARGET_RSTS+=math
487
 
endif
488
 
ifeq ($(FULL_TARGET),i386-wdosx)
489
 
override TARGET_RSTS+=math
490
 
endif
491
 
ifeq ($(FULL_TARGET),i386-emx)
492
 
override TARGET_RSTS+=math
493
 
endif
494
 
ifeq ($(FULL_TARGET),i386-watcom)
495
 
override TARGET_RSTS+=math
496
 
endif
497
 
ifeq ($(FULL_TARGET),i386-netwlibc)
498
 
override TARGET_RSTS+=math
499
 
endif
500
 
ifeq ($(FULL_TARGET),m68k-linux)
501
 
override TARGET_RSTS+=math
502
 
endif
503
 
ifeq ($(FULL_TARGET),m68k-freebsd)
504
 
override TARGET_RSTS+=math
505
 
endif
506
 
ifeq ($(FULL_TARGET),m68k-netbsd)
507
 
override TARGET_RSTS+=math
508
 
endif
509
 
ifeq ($(FULL_TARGET),m68k-amiga)
510
 
override TARGET_RSTS+=math
511
 
endif
512
 
ifeq ($(FULL_TARGET),m68k-atari)
513
 
override TARGET_RSTS+=math
514
 
endif
515
 
ifeq ($(FULL_TARGET),m68k-openbsd)
516
 
override TARGET_RSTS+=math
517
 
endif
518
 
ifeq ($(FULL_TARGET),m68k-palmos)
519
 
override TARGET_RSTS+=math
520
 
endif
521
 
ifeq ($(FULL_TARGET),powerpc-linux)
522
 
override TARGET_RSTS+=math
523
 
endif
524
 
ifeq ($(FULL_TARGET),powerpc-netbsd)
525
 
override TARGET_RSTS+=math
526
 
endif
527
 
ifeq ($(FULL_TARGET),powerpc-macos)
528
 
override TARGET_RSTS+=math
529
 
endif
530
 
ifeq ($(FULL_TARGET),powerpc-darwin)
531
 
override TARGET_RSTS+=math
532
 
endif
533
 
ifeq ($(FULL_TARGET),powerpc-morphos)
534
 
override TARGET_RSTS+=math
535
 
endif
536
 
ifeq ($(FULL_TARGET),sparc-linux)
537
 
override TARGET_RSTS+=math
538
 
endif
539
 
ifeq ($(FULL_TARGET),sparc-netbsd)
540
 
override TARGET_RSTS+=math
541
 
endif
542
 
ifeq ($(FULL_TARGET),sparc-solaris)
543
 
override TARGET_RSTS+=math
544
 
endif
545
 
ifeq ($(FULL_TARGET),x86_64-linux)
546
 
override TARGET_RSTS+=math
547
 
endif
548
 
ifeq ($(FULL_TARGET),x86_64-freebsd)
549
 
override TARGET_RSTS+=math
550
 
endif
551
 
ifeq ($(FULL_TARGET),arm-linux)
 
256
ifeq ($(FULL_TARGET),i386-linux)
 
257
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
258
endif
 
259
ifeq ($(FULL_TARGET),i386-go32v2)
 
260
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
261
endif
 
262
ifeq ($(FULL_TARGET),i386-win32)
 
263
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
264
endif
 
265
ifeq ($(FULL_TARGET),i386-os2)
 
266
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
267
endif
 
268
ifeq ($(FULL_TARGET),i386-freebsd)
 
269
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
270
endif
 
271
ifeq ($(FULL_TARGET),i386-beos)
 
272
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
273
endif
 
274
ifeq ($(FULL_TARGET),i386-netbsd)
 
275
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
276
endif
 
277
ifeq ($(FULL_TARGET),i386-solaris)
 
278
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
279
endif
 
280
ifeq ($(FULL_TARGET),i386-qnx)
 
281
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
282
endif
 
283
ifeq ($(FULL_TARGET),i386-netware)
 
284
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
285
endif
 
286
ifeq ($(FULL_TARGET),i386-openbsd)
 
287
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
288
endif
 
289
ifeq ($(FULL_TARGET),i386-wdosx)
 
290
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
291
endif
 
292
ifeq ($(FULL_TARGET),i386-emx)
 
293
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
294
endif
 
295
ifeq ($(FULL_TARGET),i386-watcom)
 
296
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
297
endif
 
298
ifeq ($(FULL_TARGET),i386-netwlibc)
 
299
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
300
endif
 
301
ifeq ($(FULL_TARGET),i386-wince)
 
302
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
303
endif
 
304
ifeq ($(FULL_TARGET),m68k-linux)
 
305
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
306
endif
 
307
ifeq ($(FULL_TARGET),m68k-freebsd)
 
308
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
309
endif
 
310
ifeq ($(FULL_TARGET),m68k-netbsd)
 
311
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
312
endif
 
313
ifeq ($(FULL_TARGET),m68k-amiga)
 
314
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
315
endif
 
316
ifeq ($(FULL_TARGET),m68k-atari)
 
317
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
318
endif
 
319
ifeq ($(FULL_TARGET),m68k-openbsd)
 
320
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
321
endif
 
322
ifeq ($(FULL_TARGET),m68k-palmos)
 
323
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
324
endif
 
325
ifeq ($(FULL_TARGET),powerpc-linux)
 
326
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
327
endif
 
328
ifeq ($(FULL_TARGET),powerpc-netbsd)
 
329
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
330
endif
 
331
ifeq ($(FULL_TARGET),powerpc-macos)
 
332
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
333
endif
 
334
ifeq ($(FULL_TARGET),powerpc-darwin)
 
335
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
336
endif
 
337
ifeq ($(FULL_TARGET),powerpc-morphos)
 
338
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
339
endif
 
340
ifeq ($(FULL_TARGET),sparc-linux)
 
341
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
342
endif
 
343
ifeq ($(FULL_TARGET),sparc-netbsd)
 
344
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
345
endif
 
346
ifeq ($(FULL_TARGET),sparc-solaris)
 
347
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
348
endif
 
349
ifeq ($(FULL_TARGET),x86_64-linux)
 
350
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
351
endif
 
352
ifeq ($(FULL_TARGET),x86_64-freebsd)
 
353
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
354
endif
 
355
ifeq ($(FULL_TARGET),x86_64-win64)
 
356
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
357
endif
 
358
ifeq ($(FULL_TARGET),arm-linux)
 
359
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
360
endif
 
361
ifeq ($(FULL_TARGET),arm-palmos)
 
362
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
363
endif
 
364
ifeq ($(FULL_TARGET),arm-wince)
 
365
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
366
endif
 
367
ifeq ($(FULL_TARGET),powerpc64-linux)
 
368
override TARGET_UNITS+=system exec strings dos crt objects printer objpas macpas matrix heaptrc lineinfo getopts sysutils math typinfo ctypes
 
369
endif
 
370
ifeq ($(FULL_TARGET),i386-linux)
 
371
override TARGET_LOADERS+=prt0
 
372
endif
 
373
ifeq ($(FULL_TARGET),i386-go32v2)
 
374
override TARGET_LOADERS+=prt0
 
375
endif
 
376
ifeq ($(FULL_TARGET),i386-win32)
 
377
override TARGET_LOADERS+=prt0
 
378
endif
 
379
ifeq ($(FULL_TARGET),i386-os2)
 
380
override TARGET_LOADERS+=prt0
 
381
endif
 
382
ifeq ($(FULL_TARGET),i386-freebsd)
 
383
override TARGET_LOADERS+=prt0
 
384
endif
 
385
ifeq ($(FULL_TARGET),i386-beos)
 
386
override TARGET_LOADERS+=prt0
 
387
endif
 
388
ifeq ($(FULL_TARGET),i386-netbsd)
 
389
override TARGET_LOADERS+=prt0
 
390
endif
 
391
ifeq ($(FULL_TARGET),i386-solaris)
 
392
override TARGET_LOADERS+=prt0
 
393
endif
 
394
ifeq ($(FULL_TARGET),i386-qnx)
 
395
override TARGET_LOADERS+=prt0
 
396
endif
 
397
ifeq ($(FULL_TARGET),i386-netware)
 
398
override TARGET_LOADERS+=prt0
 
399
endif
 
400
ifeq ($(FULL_TARGET),i386-openbsd)
 
401
override TARGET_LOADERS+=prt0
 
402
endif
 
403
ifeq ($(FULL_TARGET),i386-wdosx)
 
404
override TARGET_LOADERS+=prt0
 
405
endif
 
406
ifeq ($(FULL_TARGET),i386-emx)
 
407
override TARGET_LOADERS+=prt0
 
408
endif
 
409
ifeq ($(FULL_TARGET),i386-watcom)
 
410
override TARGET_LOADERS+=prt0
 
411
endif
 
412
ifeq ($(FULL_TARGET),i386-netwlibc)
 
413
override TARGET_LOADERS+=prt0
 
414
endif
 
415
ifeq ($(FULL_TARGET),i386-wince)
 
416
override TARGET_LOADERS+=prt0
 
417
endif
 
418
ifeq ($(FULL_TARGET),m68k-linux)
 
419
override TARGET_LOADERS+=prt0
 
420
endif
 
421
ifeq ($(FULL_TARGET),m68k-freebsd)
 
422
override TARGET_LOADERS+=prt0
 
423
endif
 
424
ifeq ($(FULL_TARGET),m68k-netbsd)
 
425
override TARGET_LOADERS+=prt0
 
426
endif
 
427
ifeq ($(FULL_TARGET),m68k-amiga)
 
428
override TARGET_LOADERS+=prt0
 
429
endif
 
430
ifeq ($(FULL_TARGET),m68k-atari)
 
431
override TARGET_LOADERS+=prt0
 
432
endif
 
433
ifeq ($(FULL_TARGET),m68k-openbsd)
 
434
override TARGET_LOADERS+=prt0
 
435
endif
 
436
ifeq ($(FULL_TARGET),m68k-palmos)
 
437
override TARGET_LOADERS+=prt0
 
438
endif
 
439
ifeq ($(FULL_TARGET),powerpc-linux)
 
440
override TARGET_LOADERS+=prt0
 
441
endif
 
442
ifeq ($(FULL_TARGET),powerpc-netbsd)
 
443
override TARGET_LOADERS+=prt0
 
444
endif
 
445
ifeq ($(FULL_TARGET),powerpc-macos)
 
446
override TARGET_LOADERS+=prt0
 
447
endif
 
448
ifeq ($(FULL_TARGET),powerpc-darwin)
 
449
override TARGET_LOADERS+=prt0
 
450
endif
 
451
ifeq ($(FULL_TARGET),powerpc-morphos)
 
452
override TARGET_LOADERS+=prt0
 
453
endif
 
454
ifeq ($(FULL_TARGET),sparc-linux)
 
455
override TARGET_LOADERS+=prt0
 
456
endif
 
457
ifeq ($(FULL_TARGET),sparc-netbsd)
 
458
override TARGET_LOADERS+=prt0
 
459
endif
 
460
ifeq ($(FULL_TARGET),sparc-solaris)
 
461
override TARGET_LOADERS+=prt0
 
462
endif
 
463
ifeq ($(FULL_TARGET),x86_64-linux)
 
464
override TARGET_LOADERS+=prt0
 
465
endif
 
466
ifeq ($(FULL_TARGET),x86_64-freebsd)
 
467
override TARGET_LOADERS+=prt0
 
468
endif
 
469
ifeq ($(FULL_TARGET),x86_64-win64)
 
470
override TARGET_LOADERS+=prt0
 
471
endif
 
472
ifeq ($(FULL_TARGET),arm-linux)
 
473
override TARGET_LOADERS+=prt0
 
474
endif
 
475
ifeq ($(FULL_TARGET),arm-palmos)
 
476
override TARGET_LOADERS+=prt0
 
477
endif
 
478
ifeq ($(FULL_TARGET),arm-wince)
 
479
override TARGET_LOADERS+=prt0
 
480
endif
 
481
ifeq ($(FULL_TARGET),powerpc64-linux)
 
482
override TARGET_LOADERS+=prt0
 
483
endif
 
484
ifeq ($(FULL_TARGET),i386-linux)
 
485
override TARGET_RSTS+=math
 
486
endif
 
487
ifeq ($(FULL_TARGET),i386-go32v2)
 
488
override TARGET_RSTS+=math
 
489
endif
 
490
ifeq ($(FULL_TARGET),i386-win32)
 
491
override TARGET_RSTS+=math
 
492
endif
 
493
ifeq ($(FULL_TARGET),i386-os2)
 
494
override TARGET_RSTS+=math
 
495
endif
 
496
ifeq ($(FULL_TARGET),i386-freebsd)
 
497
override TARGET_RSTS+=math
 
498
endif
 
499
ifeq ($(FULL_TARGET),i386-beos)
 
500
override TARGET_RSTS+=math
 
501
endif
 
502
ifeq ($(FULL_TARGET),i386-netbsd)
 
503
override TARGET_RSTS+=math
 
504
endif
 
505
ifeq ($(FULL_TARGET),i386-solaris)
 
506
override TARGET_RSTS+=math
 
507
endif
 
508
ifeq ($(FULL_TARGET),i386-qnx)
 
509
override TARGET_RSTS+=math
 
510
endif
 
511
ifeq ($(FULL_TARGET),i386-netware)
 
512
override TARGET_RSTS+=math
 
513
endif
 
514
ifeq ($(FULL_TARGET),i386-openbsd)
 
515
override TARGET_RSTS+=math
 
516
endif
 
517
ifeq ($(FULL_TARGET),i386-wdosx)
 
518
override TARGET_RSTS+=math
 
519
endif
 
520
ifeq ($(FULL_TARGET),i386-emx)
 
521
override TARGET_RSTS+=math
 
522
endif
 
523
ifeq ($(FULL_TARGET),i386-watcom)
 
524
override TARGET_RSTS+=math
 
525
endif
 
526
ifeq ($(FULL_TARGET),i386-netwlibc)
 
527
override TARGET_RSTS+=math
 
528
endif
 
529
ifeq ($(FULL_TARGET),i386-wince)
 
530
override TARGET_RSTS+=math
 
531
endif
 
532
ifeq ($(FULL_TARGET),m68k-linux)
 
533
override TARGET_RSTS+=math
 
534
endif
 
535
ifeq ($(FULL_TARGET),m68k-freebsd)
 
536
override TARGET_RSTS+=math
 
537
endif
 
538
ifeq ($(FULL_TARGET),m68k-netbsd)
 
539
override TARGET_RSTS+=math
 
540
endif
 
541
ifeq ($(FULL_TARGET),m68k-amiga)
 
542
override TARGET_RSTS+=math
 
543
endif
 
544
ifeq ($(FULL_TARGET),m68k-atari)
 
545
override TARGET_RSTS+=math
 
546
endif
 
547
ifeq ($(FULL_TARGET),m68k-openbsd)
 
548
override TARGET_RSTS+=math
 
549
endif
 
550
ifeq ($(FULL_TARGET),m68k-palmos)
 
551
override TARGET_RSTS+=math
 
552
endif
 
553
ifeq ($(FULL_TARGET),powerpc-linux)
 
554
override TARGET_RSTS+=math
 
555
endif
 
556
ifeq ($(FULL_TARGET),powerpc-netbsd)
 
557
override TARGET_RSTS+=math
 
558
endif
 
559
ifeq ($(FULL_TARGET),powerpc-macos)
 
560
override TARGET_RSTS+=math
 
561
endif
 
562
ifeq ($(FULL_TARGET),powerpc-darwin)
 
563
override TARGET_RSTS+=math
 
564
endif
 
565
ifeq ($(FULL_TARGET),powerpc-morphos)
 
566
override TARGET_RSTS+=math
 
567
endif
 
568
ifeq ($(FULL_TARGET),sparc-linux)
 
569
override TARGET_RSTS+=math
 
570
endif
 
571
ifeq ($(FULL_TARGET),sparc-netbsd)
 
572
override TARGET_RSTS+=math
 
573
endif
 
574
ifeq ($(FULL_TARGET),sparc-solaris)
 
575
override TARGET_RSTS+=math
 
576
endif
 
577
ifeq ($(FULL_TARGET),x86_64-linux)
 
578
override TARGET_RSTS+=math
 
579
endif
 
580
ifeq ($(FULL_TARGET),x86_64-freebsd)
 
581
override TARGET_RSTS+=math
 
582
endif
 
583
ifeq ($(FULL_TARGET),x86_64-win64)
 
584
override TARGET_RSTS+=math
 
585
endif
 
586
ifeq ($(FULL_TARGET),arm-linux)
 
587
override TARGET_RSTS+=math
 
588
endif
 
589
ifeq ($(FULL_TARGET),arm-palmos)
 
590
override TARGET_RSTS+=math
 
591
endif
 
592
ifeq ($(FULL_TARGET),arm-wince)
 
593
override TARGET_RSTS+=math
 
594
endif
 
595
ifeq ($(FULL_TARGET),powerpc64-linux)
552
596
override TARGET_RSTS+=math
553
597
endif
554
598
override INSTALL_FPCPACKAGE=y
597
641
ifeq ($(FULL_TARGET),i386-netwlibc)
598
642
override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
599
643
endif
 
644
ifeq ($(FULL_TARGET),i386-wince)
 
645
override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
 
646
endif
600
647
ifeq ($(FULL_TARGET),m68k-linux)
601
648
override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
602
649
endif
648
695
ifeq ($(FULL_TARGET),x86_64-freebsd)
649
696
override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
650
697
endif
 
698
ifeq ($(FULL_TARGET),x86_64-win64)
 
699
override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
 
700
endif
651
701
ifeq ($(FULL_TARGET),arm-linux)
652
702
override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
653
703
endif
 
704
ifeq ($(FULL_TARGET),arm-palmos)
 
705
override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
 
706
endif
 
707
ifeq ($(FULL_TARGET),arm-wince)
 
708
override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
 
709
endif
 
710
ifeq ($(FULL_TARGET),powerpc64-linux)
 
711
override COMPILER_INCLUDEDIR+=$(INC) $(PROCINC)
 
712
endif
654
713
ifeq ($(FULL_TARGET),i386-linux)
655
714
override COMPILER_SOURCEDIR+=$(INC) $(PROCINC)
656
715
endif
696
755
ifeq ($(FULL_TARGET),i386-netwlibc)
697
756
override COMPILER_SOURCEDIR+=$(INC) $(PROCINC)
698
757
endif
 
758
ifeq ($(FULL_TARGET),i386-wince)
 
759
override COMPILER_SOURCEDIR+=$(INC) $(PROCINC)
 
760
endif
699
761
ifeq ($(FULL_TARGET),m68k-linux)
700
762
override COMPILER_SOURCEDIR+=$(INC) $(PROCINC)
701
763
endif
747
809
ifeq ($(FULL_TARGET),x86_64-freebsd)
748
810
override COMPILER_SOURCEDIR+=$(INC) $(PROCINC)
749
811
endif
 
812
ifeq ($(FULL_TARGET),x86_64-win64)
 
813
override COMPILER_SOURCEDIR+=$(INC) $(PROCINC)
 
814
endif
750
815
ifeq ($(FULL_TARGET),arm-linux)
751
816
override COMPILER_SOURCEDIR+=$(INC) $(PROCINC)
752
817
endif
 
818
ifeq ($(FULL_TARGET),arm-palmos)
 
819
override COMPILER_SOURCEDIR+=$(INC) $(PROCINC)
 
820
endif
 
821
ifeq ($(FULL_TARGET),arm-wince)
 
822
override COMPILER_SOURCEDIR+=$(INC) $(PROCINC)
 
823
endif
 
824
ifeq ($(FULL_TARGET),powerpc64-linux)
 
825
override COMPILER_SOURCEDIR+=$(INC) $(PROCINC)
 
826
endif
753
827
ifdef REQUIRE_UNITSDIR
754
828
override UNITSDIR+=$(REQUIRE_UNITSDIR)
755
829
endif
933
1007
ifndef INSTALL_DATADIR
934
1008
INSTALL_DATADIR=$(INSTALL_BASEDIR)
935
1009
endif
 
1010
ifndef INSTALL_SHAREDDIR
 
1011
INSTALL_SHAREDDIR=$(INSTALL_PREFIX)/lib
 
1012
endif
936
1013
ifdef CROSSCOMPILE
937
1014
ifndef CROSSBINDIR
938
1015
CROSSBINDIR:=$(wildcard $(CROSSTARGETDIR)/bin/$(SOURCESUFFIX))
953
1030
SMARTEXT=.sl
954
1031
STATICLIBEXT=.a
955
1032
SHAREDLIBEXT=.so
 
1033
SHAREDLIBPREFIX=libfp
956
1034
STATICLIBPREFIX=libp
957
1035
RSTEXT=.rst
958
1036
ifeq ($(findstring 1.0.,$(FPC_VERSION)),)
1522
1600
FPCCPUOPT:=-OG2p3
1523
1601
else
1524
1602
ifeq ($(CPU_TARGET),powerpc)
1525
 
FPCCPUOPT:=-O1
 
1603
FPCCPUOPT:=-O1r
1526
1604
else
1527
1605
FPCCPUOPT:=
1528
1606
endif
1529
1607
endif
1530
 
override FPCOPT+=-Xs $(FPCCPUOPT) -n
 
1608
override FPCOPT+=-Ur -Xs $(FPCCPUOPT) -n
1531
1609
override FPCOPTDEF+=RELEASE
1532
1610
endif
1533
1611
ifdef STRIP
1585
1663
override FPCOPTDEF+=HASUNIX
1586
1664
endif
1587
1665
endif
 
1666
ifdef CREATESHARED
 
1667
override FPCOPT+=-Cg
 
1668
ifeq ($(CPU_TARGET),i386)
 
1669
override FPCOPT+=-Aas
 
1670
endif
 
1671
endif
 
1672
ifdef LINKSHARED
 
1673
endif
1588
1674
ifdef OPT
1589
1675
override FPCOPT+=$(OPT)
1590
1676
endif
1599
1685
override FPCOPT:=!FPCEXTCMD
1600
1686
export FPCEXTCMD
1601
1687
endif
 
1688
override AFULL_TARGET=$(CPU_TARGET)-$(OS_TARGET)
 
1689
override AFULL_SOURCE=$(CPU_SOURCE)-$(OS_SOURCE)
 
1690
ifneq ($(AFULL_TARGET),$(AFULL_SOURCE))
 
1691
override ACROSSCOMPILE=1
 
1692
endif
 
1693
ifdef ACROSSCOMPILE
 
1694
override FPCOPT+=$(CROSSOPT)
 
1695
endif
1602
1696
override COMPILER:=$(FPC) $(FPCOPT)
1603
1697
ifeq (,$(findstring -s ,$(COMPILER)))
1604
1698
EXECPPAS=
1647
1741
override RSTFILES=$(addsuffix $(RSTEXT),$(TARGET_RSTS))
1648
1742
override CLEANRSTFILES+=$(RSTFILES)
1649
1743
endif
1650
 
.PHONY: fpc_all fpc_smart fpc_debug fpc_release
 
1744
.PHONY: fpc_all fpc_smart fpc_debug fpc_release fpc_shared
1651
1745
$(FPCMADE): $(ALLDEPENDENCIES) $(ALLTARGET)
1652
1746
        @$(ECHOREDIR) Compiled > $(FPCMADE)
1653
1747
fpc_all: $(FPCMADE)
1688
1782
vpath %.dpr $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
1689
1783
vpath %$(OEXT) $(COMPILER_UNITTARGETDIR)
1690
1784
vpath %$(PPUEXT) $(COMPILER_UNITTARGETDIR)
 
1785
.PHONY: fpc_shared
 
1786
override INSTALLTARGET+=fpc_shared_install
 
1787
ifndef SHARED_LIBVERSION
 
1788
SHARED_LIBVERSION=$(FPC_VERSION)
 
1789
endif
 
1790
ifndef SHARED_LIBNAME
 
1791
SHARED_LIBNAME=$(PACKAGE_NAME)
 
1792
endif
 
1793
ifndef SHARED_FULLNAME
 
1794
SHARED_FULLNAME=$(SHAREDLIBPREFIX)$(SHARED_LIBNAME)-$(SHARED_LIBVERSION)$(SHAREDLIBEXT)
 
1795
endif
 
1796
ifndef SHARED_LIBUNITS
 
1797
SHARED_LIBUNITS:=$(TARGET_UNITS) $(TARGET_IMPLICITUNITS)
 
1798
override SHARED_LIBUNITS:=$(filter-out $(INSTALL_BUILDUNIT),$(SHARED_LIBUNITS))
 
1799
endif
 
1800
fpc_shared:
 
1801
ifdef HASSHAREDLIB
 
1802
        $(MAKE) all CREATESHARED=1 LINKSHARED=1 CREATESMART=1
 
1803
ifneq ($(SHARED_BUILD),n)
 
1804
        $(PPUMOVE) -q $(SHARED_LIBUNITS) -i$(COMPILER_UNITTARGETDIR) -o$(SHARED_FULLNAME) -d$(COMPILER_UNITTARGETDIR)
 
1805
endif
 
1806
else
 
1807
        @$(ECHO) Shared Libraries not supported
 
1808
endif
 
1809
fpc_shared_install:
 
1810
ifneq ($(SHARED_BUILD),n)
 
1811
ifneq ($(SHARED_LIBUNITS),)
 
1812
ifneq ($(wildcard $(COMPILER_UNITTARGETDIR)/$(SHARED_FULLNAME)),)
 
1813
        $(INSTALL) $(COMPILER_UNITTARGETDIR)/$(SHARED_FULLNAME) $(INSTALL_SHAREDDIR)
 
1814
endif
 
1815
endif
 
1816
endif
1691
1817
.PHONY: fpc_install fpc_sourceinstall fpc_exampleinstall
1692
1818
ifdef INSTALL_UNITS
1693
1819
override INSTALLPPUFILES+=$(addsuffix $(PPUEXT),$(INSTALL_UNITS))
1937
2063
release: fpc_release
1938
2064
units: fpc_units
1939
2065
examples:
1940
 
shared:
 
2066
shared: fpc_shared
1941
2067
install: fpc_install
1942
2068
sourceinstall: fpc_sourceinstall
1943
2069
exampleinstall: fpc_exampleinstall