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

« back to all changes in this revision

Viewing changes to packages/extra/gnome1/gconf/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=gconf
234
 
override PACKAGE_VERSION=2.0.0
235
 
ifeq ($(FULL_TARGET),i386-linux)
236
 
override TARGET_UNITS+=gconf gconfclient
237
 
endif
238
 
ifeq ($(FULL_TARGET),i386-go32v2)
239
 
override TARGET_UNITS+=gconf gconfclient
240
 
endif
241
 
ifeq ($(FULL_TARGET),i386-win32)
242
 
override TARGET_UNITS+=gconf gconfclient
243
 
endif
244
 
ifeq ($(FULL_TARGET),i386-os2)
245
 
override TARGET_UNITS+=gconf gconfclient
246
 
endif
247
 
ifeq ($(FULL_TARGET),i386-freebsd)
248
 
override TARGET_UNITS+=gconf gconfclient
249
 
endif
250
 
ifeq ($(FULL_TARGET),i386-beos)
251
 
override TARGET_UNITS+=gconf gconfclient
252
 
endif
253
 
ifeq ($(FULL_TARGET),i386-netbsd)
254
 
override TARGET_UNITS+=gconf gconfclient
255
 
endif
256
 
ifeq ($(FULL_TARGET),i386-solaris)
257
 
override TARGET_UNITS+=gconf gconfclient
258
 
endif
259
 
ifeq ($(FULL_TARGET),i386-qnx)
260
 
override TARGET_UNITS+=gconf gconfclient
261
 
endif
262
 
ifeq ($(FULL_TARGET),i386-netware)
263
 
override TARGET_UNITS+=gconf gconfclient
264
 
endif
265
 
ifeq ($(FULL_TARGET),i386-openbsd)
266
 
override TARGET_UNITS+=gconf gconfclient
267
 
endif
268
 
ifeq ($(FULL_TARGET),i386-wdosx)
269
 
override TARGET_UNITS+=gconf gconfclient
270
 
endif
271
 
ifeq ($(FULL_TARGET),i386-emx)
272
 
override TARGET_UNITS+=gconf gconfclient
273
 
endif
274
 
ifeq ($(FULL_TARGET),i386-watcom)
275
 
override TARGET_UNITS+=gconf gconfclient
276
 
endif
277
 
ifeq ($(FULL_TARGET),i386-netwlibc)
278
 
override TARGET_UNITS+=gconf gconfclient
279
 
endif
280
 
ifeq ($(FULL_TARGET),m68k-linux)
281
 
override TARGET_UNITS+=gconf gconfclient
282
 
endif
283
 
ifeq ($(FULL_TARGET),m68k-freebsd)
284
 
override TARGET_UNITS+=gconf gconfclient
285
 
endif
286
 
ifeq ($(FULL_TARGET),m68k-netbsd)
287
 
override TARGET_UNITS+=gconf gconfclient
288
 
endif
289
 
ifeq ($(FULL_TARGET),m68k-amiga)
290
 
override TARGET_UNITS+=gconf gconfclient
291
 
endif
292
 
ifeq ($(FULL_TARGET),m68k-atari)
293
 
override TARGET_UNITS+=gconf gconfclient
294
 
endif
295
 
ifeq ($(FULL_TARGET),m68k-openbsd)
296
 
override TARGET_UNITS+=gconf gconfclient
297
 
endif
298
 
ifeq ($(FULL_TARGET),m68k-palmos)
299
 
override TARGET_UNITS+=gconf gconfclient
300
 
endif
301
 
ifeq ($(FULL_TARGET),powerpc-linux)
302
 
override TARGET_UNITS+=gconf gconfclient
303
 
endif
304
 
ifeq ($(FULL_TARGET),powerpc-netbsd)
305
 
override TARGET_UNITS+=gconf gconfclient
306
 
endif
307
 
ifeq ($(FULL_TARGET),powerpc-macos)
308
 
override TARGET_UNITS+=gconf gconfclient
309
 
endif
310
 
ifeq ($(FULL_TARGET),powerpc-darwin)
311
 
override TARGET_UNITS+=gconf gconfclient
312
 
endif
313
 
ifeq ($(FULL_TARGET),powerpc-morphos)
314
 
override TARGET_UNITS+=gconf gconfclient
315
 
endif
316
 
ifeq ($(FULL_TARGET),sparc-linux)
317
 
override TARGET_UNITS+=gconf gconfclient
318
 
endif
319
 
ifeq ($(FULL_TARGET),sparc-netbsd)
320
 
override TARGET_UNITS+=gconf gconfclient
321
 
endif
322
 
ifeq ($(FULL_TARGET),sparc-solaris)
323
 
override TARGET_UNITS+=gconf gconfclient
324
 
endif
325
 
ifeq ($(FULL_TARGET),x86_64-linux)
326
 
override TARGET_UNITS+=gconf gconfclient
327
 
endif
328
 
ifeq ($(FULL_TARGET),x86_64-freebsd)
329
 
override TARGET_UNITS+=gconf gconfclient
330
 
endif
331
 
ifeq ($(FULL_TARGET),arm-linux)
332
 
override TARGET_UNITS+=gconf gconfclient
333
 
endif
334
 
ifeq ($(FULL_TARGET),i386-linux)
335
 
override TARGET_EXAMPLEDIRS+=examples
336
 
endif
337
 
ifeq ($(FULL_TARGET),i386-go32v2)
338
 
override TARGET_EXAMPLEDIRS+=examples
339
 
endif
340
 
ifeq ($(FULL_TARGET),i386-win32)
341
 
override TARGET_EXAMPLEDIRS+=examples
342
 
endif
343
 
ifeq ($(FULL_TARGET),i386-os2)
344
 
override TARGET_EXAMPLEDIRS+=examples
345
 
endif
346
 
ifeq ($(FULL_TARGET),i386-freebsd)
347
 
override TARGET_EXAMPLEDIRS+=examples
348
 
endif
349
 
ifeq ($(FULL_TARGET),i386-beos)
350
 
override TARGET_EXAMPLEDIRS+=examples
351
 
endif
352
 
ifeq ($(FULL_TARGET),i386-netbsd)
353
 
override TARGET_EXAMPLEDIRS+=examples
354
 
endif
355
 
ifeq ($(FULL_TARGET),i386-solaris)
356
 
override TARGET_EXAMPLEDIRS+=examples
357
 
endif
358
 
ifeq ($(FULL_TARGET),i386-qnx)
359
 
override TARGET_EXAMPLEDIRS+=examples
360
 
endif
361
 
ifeq ($(FULL_TARGET),i386-netware)
362
 
override TARGET_EXAMPLEDIRS+=examples
363
 
endif
364
 
ifeq ($(FULL_TARGET),i386-openbsd)
365
 
override TARGET_EXAMPLEDIRS+=examples
366
 
endif
367
 
ifeq ($(FULL_TARGET),i386-wdosx)
368
 
override TARGET_EXAMPLEDIRS+=examples
369
 
endif
370
 
ifeq ($(FULL_TARGET),i386-emx)
371
 
override TARGET_EXAMPLEDIRS+=examples
372
 
endif
373
 
ifeq ($(FULL_TARGET),i386-watcom)
374
 
override TARGET_EXAMPLEDIRS+=examples
375
 
endif
376
 
ifeq ($(FULL_TARGET),i386-netwlibc)
377
 
override TARGET_EXAMPLEDIRS+=examples
378
 
endif
379
 
ifeq ($(FULL_TARGET),m68k-linux)
380
 
override TARGET_EXAMPLEDIRS+=examples
381
 
endif
382
 
ifeq ($(FULL_TARGET),m68k-freebsd)
383
 
override TARGET_EXAMPLEDIRS+=examples
384
 
endif
385
 
ifeq ($(FULL_TARGET),m68k-netbsd)
386
 
override TARGET_EXAMPLEDIRS+=examples
387
 
endif
388
 
ifeq ($(FULL_TARGET),m68k-amiga)
389
 
override TARGET_EXAMPLEDIRS+=examples
390
 
endif
391
 
ifeq ($(FULL_TARGET),m68k-atari)
392
 
override TARGET_EXAMPLEDIRS+=examples
393
 
endif
394
 
ifeq ($(FULL_TARGET),m68k-openbsd)
395
 
override TARGET_EXAMPLEDIRS+=examples
396
 
endif
397
 
ifeq ($(FULL_TARGET),m68k-palmos)
398
 
override TARGET_EXAMPLEDIRS+=examples
399
 
endif
400
 
ifeq ($(FULL_TARGET),powerpc-linux)
401
 
override TARGET_EXAMPLEDIRS+=examples
402
 
endif
403
 
ifeq ($(FULL_TARGET),powerpc-netbsd)
404
 
override TARGET_EXAMPLEDIRS+=examples
405
 
endif
406
 
ifeq ($(FULL_TARGET),powerpc-macos)
407
 
override TARGET_EXAMPLEDIRS+=examples
408
 
endif
409
 
ifeq ($(FULL_TARGET),powerpc-darwin)
410
 
override TARGET_EXAMPLEDIRS+=examples
411
 
endif
412
 
ifeq ($(FULL_TARGET),powerpc-morphos)
413
 
override TARGET_EXAMPLEDIRS+=examples
414
 
endif
415
 
ifeq ($(FULL_TARGET),sparc-linux)
416
 
override TARGET_EXAMPLEDIRS+=examples
417
 
endif
418
 
ifeq ($(FULL_TARGET),sparc-netbsd)
419
 
override TARGET_EXAMPLEDIRS+=examples
420
 
endif
421
 
ifeq ($(FULL_TARGET),sparc-solaris)
422
 
override TARGET_EXAMPLEDIRS+=examples
423
 
endif
424
 
ifeq ($(FULL_TARGET),x86_64-linux)
425
 
override TARGET_EXAMPLEDIRS+=examples
426
 
endif
427
 
ifeq ($(FULL_TARGET),x86_64-freebsd)
428
 
override TARGET_EXAMPLEDIRS+=examples
429
 
endif
430
 
ifeq ($(FULL_TARGET),arm-linux)
 
234
override PACKAGE_VERSION=2.0.4
 
235
ifeq ($(FULL_TARGET),i386-linux)
 
236
override TARGET_UNITS+=gconf gconfclient
 
237
endif
 
238
ifeq ($(FULL_TARGET),i386-go32v2)
 
239
override TARGET_UNITS+=gconf gconfclient
 
240
endif
 
241
ifeq ($(FULL_TARGET),i386-win32)
 
242
override TARGET_UNITS+=gconf gconfclient
 
243
endif
 
244
ifeq ($(FULL_TARGET),i386-os2)
 
245
override TARGET_UNITS+=gconf gconfclient
 
246
endif
 
247
ifeq ($(FULL_TARGET),i386-freebsd)
 
248
override TARGET_UNITS+=gconf gconfclient
 
249
endif
 
250
ifeq ($(FULL_TARGET),i386-beos)
 
251
override TARGET_UNITS+=gconf gconfclient
 
252
endif
 
253
ifeq ($(FULL_TARGET),i386-netbsd)
 
254
override TARGET_UNITS+=gconf gconfclient
 
255
endif
 
256
ifeq ($(FULL_TARGET),i386-solaris)
 
257
override TARGET_UNITS+=gconf gconfclient
 
258
endif
 
259
ifeq ($(FULL_TARGET),i386-qnx)
 
260
override TARGET_UNITS+=gconf gconfclient
 
261
endif
 
262
ifeq ($(FULL_TARGET),i386-netware)
 
263
override TARGET_UNITS+=gconf gconfclient
 
264
endif
 
265
ifeq ($(FULL_TARGET),i386-openbsd)
 
266
override TARGET_UNITS+=gconf gconfclient
 
267
endif
 
268
ifeq ($(FULL_TARGET),i386-wdosx)
 
269
override TARGET_UNITS+=gconf gconfclient
 
270
endif
 
271
ifeq ($(FULL_TARGET),i386-emx)
 
272
override TARGET_UNITS+=gconf gconfclient
 
273
endif
 
274
ifeq ($(FULL_TARGET),i386-watcom)
 
275
override TARGET_UNITS+=gconf gconfclient
 
276
endif
 
277
ifeq ($(FULL_TARGET),i386-netwlibc)
 
278
override TARGET_UNITS+=gconf gconfclient
 
279
endif
 
280
ifeq ($(FULL_TARGET),i386-wince)
 
281
override TARGET_UNITS+=gconf gconfclient
 
282
endif
 
283
ifeq ($(FULL_TARGET),m68k-linux)
 
284
override TARGET_UNITS+=gconf gconfclient
 
285
endif
 
286
ifeq ($(FULL_TARGET),m68k-freebsd)
 
287
override TARGET_UNITS+=gconf gconfclient
 
288
endif
 
289
ifeq ($(FULL_TARGET),m68k-netbsd)
 
290
override TARGET_UNITS+=gconf gconfclient
 
291
endif
 
292
ifeq ($(FULL_TARGET),m68k-amiga)
 
293
override TARGET_UNITS+=gconf gconfclient
 
294
endif
 
295
ifeq ($(FULL_TARGET),m68k-atari)
 
296
override TARGET_UNITS+=gconf gconfclient
 
297
endif
 
298
ifeq ($(FULL_TARGET),m68k-openbsd)
 
299
override TARGET_UNITS+=gconf gconfclient
 
300
endif
 
301
ifeq ($(FULL_TARGET),m68k-palmos)
 
302
override TARGET_UNITS+=gconf gconfclient
 
303
endif
 
304
ifeq ($(FULL_TARGET),powerpc-linux)
 
305
override TARGET_UNITS+=gconf gconfclient
 
306
endif
 
307
ifeq ($(FULL_TARGET),powerpc-netbsd)
 
308
override TARGET_UNITS+=gconf gconfclient
 
309
endif
 
310
ifeq ($(FULL_TARGET),powerpc-macos)
 
311
override TARGET_UNITS+=gconf gconfclient
 
312
endif
 
313
ifeq ($(FULL_TARGET),powerpc-darwin)
 
314
override TARGET_UNITS+=gconf gconfclient
 
315
endif
 
316
ifeq ($(FULL_TARGET),powerpc-morphos)
 
317
override TARGET_UNITS+=gconf gconfclient
 
318
endif
 
319
ifeq ($(FULL_TARGET),sparc-linux)
 
320
override TARGET_UNITS+=gconf gconfclient
 
321
endif
 
322
ifeq ($(FULL_TARGET),sparc-netbsd)
 
323
override TARGET_UNITS+=gconf gconfclient
 
324
endif
 
325
ifeq ($(FULL_TARGET),sparc-solaris)
 
326
override TARGET_UNITS+=gconf gconfclient
 
327
endif
 
328
ifeq ($(FULL_TARGET),x86_64-linux)
 
329
override TARGET_UNITS+=gconf gconfclient
 
330
endif
 
331
ifeq ($(FULL_TARGET),x86_64-freebsd)
 
332
override TARGET_UNITS+=gconf gconfclient
 
333
endif
 
334
ifeq ($(FULL_TARGET),x86_64-win64)
 
335
override TARGET_UNITS+=gconf gconfclient
 
336
endif
 
337
ifeq ($(FULL_TARGET),arm-linux)
 
338
override TARGET_UNITS+=gconf gconfclient
 
339
endif
 
340
ifeq ($(FULL_TARGET),arm-palmos)
 
341
override TARGET_UNITS+=gconf gconfclient
 
342
endif
 
343
ifeq ($(FULL_TARGET),arm-wince)
 
344
override TARGET_UNITS+=gconf gconfclient
 
345
endif
 
346
ifeq ($(FULL_TARGET),powerpc64-linux)
 
347
override TARGET_UNITS+=gconf gconfclient
 
348
endif
 
349
ifeq ($(FULL_TARGET),i386-linux)
 
350
override TARGET_EXAMPLEDIRS+=examples
 
351
endif
 
352
ifeq ($(FULL_TARGET),i386-go32v2)
 
353
override TARGET_EXAMPLEDIRS+=examples
 
354
endif
 
355
ifeq ($(FULL_TARGET),i386-win32)
 
356
override TARGET_EXAMPLEDIRS+=examples
 
357
endif
 
358
ifeq ($(FULL_TARGET),i386-os2)
 
359
override TARGET_EXAMPLEDIRS+=examples
 
360
endif
 
361
ifeq ($(FULL_TARGET),i386-freebsd)
 
362
override TARGET_EXAMPLEDIRS+=examples
 
363
endif
 
364
ifeq ($(FULL_TARGET),i386-beos)
 
365
override TARGET_EXAMPLEDIRS+=examples
 
366
endif
 
367
ifeq ($(FULL_TARGET),i386-netbsd)
 
368
override TARGET_EXAMPLEDIRS+=examples
 
369
endif
 
370
ifeq ($(FULL_TARGET),i386-solaris)
 
371
override TARGET_EXAMPLEDIRS+=examples
 
372
endif
 
373
ifeq ($(FULL_TARGET),i386-qnx)
 
374
override TARGET_EXAMPLEDIRS+=examples
 
375
endif
 
376
ifeq ($(FULL_TARGET),i386-netware)
 
377
override TARGET_EXAMPLEDIRS+=examples
 
378
endif
 
379
ifeq ($(FULL_TARGET),i386-openbsd)
 
380
override TARGET_EXAMPLEDIRS+=examples
 
381
endif
 
382
ifeq ($(FULL_TARGET),i386-wdosx)
 
383
override TARGET_EXAMPLEDIRS+=examples
 
384
endif
 
385
ifeq ($(FULL_TARGET),i386-emx)
 
386
override TARGET_EXAMPLEDIRS+=examples
 
387
endif
 
388
ifeq ($(FULL_TARGET),i386-watcom)
 
389
override TARGET_EXAMPLEDIRS+=examples
 
390
endif
 
391
ifeq ($(FULL_TARGET),i386-netwlibc)
 
392
override TARGET_EXAMPLEDIRS+=examples
 
393
endif
 
394
ifeq ($(FULL_TARGET),i386-wince)
 
395
override TARGET_EXAMPLEDIRS+=examples
 
396
endif
 
397
ifeq ($(FULL_TARGET),m68k-linux)
 
398
override TARGET_EXAMPLEDIRS+=examples
 
399
endif
 
400
ifeq ($(FULL_TARGET),m68k-freebsd)
 
401
override TARGET_EXAMPLEDIRS+=examples
 
402
endif
 
403
ifeq ($(FULL_TARGET),m68k-netbsd)
 
404
override TARGET_EXAMPLEDIRS+=examples
 
405
endif
 
406
ifeq ($(FULL_TARGET),m68k-amiga)
 
407
override TARGET_EXAMPLEDIRS+=examples
 
408
endif
 
409
ifeq ($(FULL_TARGET),m68k-atari)
 
410
override TARGET_EXAMPLEDIRS+=examples
 
411
endif
 
412
ifeq ($(FULL_TARGET),m68k-openbsd)
 
413
override TARGET_EXAMPLEDIRS+=examples
 
414
endif
 
415
ifeq ($(FULL_TARGET),m68k-palmos)
 
416
override TARGET_EXAMPLEDIRS+=examples
 
417
endif
 
418
ifeq ($(FULL_TARGET),powerpc-linux)
 
419
override TARGET_EXAMPLEDIRS+=examples
 
420
endif
 
421
ifeq ($(FULL_TARGET),powerpc-netbsd)
 
422
override TARGET_EXAMPLEDIRS+=examples
 
423
endif
 
424
ifeq ($(FULL_TARGET),powerpc-macos)
 
425
override TARGET_EXAMPLEDIRS+=examples
 
426
endif
 
427
ifeq ($(FULL_TARGET),powerpc-darwin)
 
428
override TARGET_EXAMPLEDIRS+=examples
 
429
endif
 
430
ifeq ($(FULL_TARGET),powerpc-morphos)
 
431
override TARGET_EXAMPLEDIRS+=examples
 
432
endif
 
433
ifeq ($(FULL_TARGET),sparc-linux)
 
434
override TARGET_EXAMPLEDIRS+=examples
 
435
endif
 
436
ifeq ($(FULL_TARGET),sparc-netbsd)
 
437
override TARGET_EXAMPLEDIRS+=examples
 
438
endif
 
439
ifeq ($(FULL_TARGET),sparc-solaris)
 
440
override TARGET_EXAMPLEDIRS+=examples
 
441
endif
 
442
ifeq ($(FULL_TARGET),x86_64-linux)
 
443
override TARGET_EXAMPLEDIRS+=examples
 
444
endif
 
445
ifeq ($(FULL_TARGET),x86_64-freebsd)
 
446
override TARGET_EXAMPLEDIRS+=examples
 
447
endif
 
448
ifeq ($(FULL_TARGET),x86_64-win64)
 
449
override TARGET_EXAMPLEDIRS+=examples
 
450
endif
 
451
ifeq ($(FULL_TARGET),arm-linux)
 
452
override TARGET_EXAMPLEDIRS+=examples
 
453
endif
 
454
ifeq ($(FULL_TARGET),arm-palmos)
 
455
override TARGET_EXAMPLEDIRS+=examples
 
456
endif
 
457
ifeq ($(FULL_TARGET),arm-wince)
 
458
override TARGET_EXAMPLEDIRS+=examples
 
459
endif
 
460
ifeq ($(FULL_TARGET),powerpc64-linux)
431
461
override TARGET_EXAMPLEDIRS+=examples
432
462
endif
433
463
override INSTALL_FPCPACKAGE=y
476
506
ifeq ($(FULL_TARGET),i386-netwlibc)
477
507
override COMPILER_SOURCEDIR+=gconf gconfclient
478
508
endif
 
509
ifeq ($(FULL_TARGET),i386-wince)
 
510
override COMPILER_SOURCEDIR+=gconf gconfclient
 
511
endif
479
512
ifeq ($(FULL_TARGET),m68k-linux)
480
513
override COMPILER_SOURCEDIR+=gconf gconfclient
481
514
endif
527
560
ifeq ($(FULL_TARGET),x86_64-freebsd)
528
561
override COMPILER_SOURCEDIR+=gconf gconfclient
529
562
endif
 
563
ifeq ($(FULL_TARGET),x86_64-win64)
 
564
override COMPILER_SOURCEDIR+=gconf gconfclient
 
565
endif
530
566
ifeq ($(FULL_TARGET),arm-linux)
531
567
override COMPILER_SOURCEDIR+=gconf gconfclient
532
568
endif
 
569
ifeq ($(FULL_TARGET),arm-palmos)
 
570
override COMPILER_SOURCEDIR+=gconf gconfclient
 
571
endif
 
572
ifeq ($(FULL_TARGET),arm-wince)
 
573
override COMPILER_SOURCEDIR+=gconf gconfclient
 
574
endif
 
575
ifeq ($(FULL_TARGET),powerpc64-linux)
 
576
override COMPILER_SOURCEDIR+=gconf gconfclient
 
577
endif
 
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)),)
1364
1420
REQUIRE_PACKAGES_GTK=1
1365
1421
REQUIRE_PACKAGES_OPENGL=1
1366
1422
endif
 
1423
ifeq ($(FULL_TARGET),i386-wince)
 
1424
REQUIRE_PACKAGES_RTL=1
 
1425
REQUIRE_PACKAGES_GTK=1
 
1426
REQUIRE_PACKAGES_OPENGL=1
 
1427
endif
1367
1428
ifeq ($(FULL_TARGET),m68k-linux)
1368
1429
REQUIRE_PACKAGES_RTL=1
1369
1430
REQUIRE_PACKAGES_GTK=1
1460
1521
REQUIRE_PACKAGES_X11=1
1461
1522
REQUIRE_PACKAGES_OPENGL=1
1462
1523
endif
 
1524
ifeq ($(FULL_TARGET),x86_64-win64)
 
1525
REQUIRE_PACKAGES_RTL=1
 
1526
REQUIRE_PACKAGES_GTK=1
 
1527
REQUIRE_PACKAGES_OPENGL=1
 
1528
endif
1463
1529
ifeq ($(FULL_TARGET),arm-linux)
1464
1530
REQUIRE_PACKAGES_RTL=1
1465
1531
REQUIRE_PACKAGES_GTK=1
1466
1532
REQUIRE_PACKAGES_X11=1
1467
1533
REQUIRE_PACKAGES_OPENGL=1
1468
1534
endif
 
1535
ifeq ($(FULL_TARGET),arm-palmos)
 
1536
REQUIRE_PACKAGES_RTL=1
 
1537
REQUIRE_PACKAGES_GTK=1
 
1538
REQUIRE_PACKAGES_OPENGL=1
 
1539
endif
 
1540
ifeq ($(FULL_TARGET),arm-wince)
 
1541
REQUIRE_PACKAGES_RTL=1
 
1542
REQUIRE_PACKAGES_GTK=1
 
1543
REQUIRE_PACKAGES_OPENGL=1
 
1544
endif
 
1545
ifeq ($(FULL_TARGET),powerpc64-linux)
 
1546
REQUIRE_PACKAGES_RTL=1
 
1547
REQUIRE_PACKAGES_GTK=1
 
1548
REQUIRE_PACKAGES_X11=1
 
1549
REQUIRE_PACKAGES_OPENGL=1
 
1550
endif
1469
1551
ifdef REQUIRE_PACKAGES_RTL
1470
1552
PACKAGEDIR_RTL:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /rtl/Makefile.fpc,$(PACKAGESDIR))))))
1471
1553
ifneq ($(PACKAGEDIR_RTL),)
1614
1696
FPCCPUOPT:=-OG2p3
1615
1697
else
1616
1698
ifeq ($(CPU_TARGET),powerpc)
1617
 
FPCCPUOPT:=-O1
 
1699
FPCCPUOPT:=-O1r
1618
1700
else
1619
1701
FPCCPUOPT:=
1620
1702
endif
1621
1703
endif
1622
 
override FPCOPT+=-Xs $(FPCCPUOPT) -n
 
1704
override FPCOPT+=-Ur -Xs $(FPCCPUOPT) -n
1623
1705
override FPCOPTDEF+=RELEASE
1624
1706
endif
1625
1707
ifdef STRIP
1677
1759
override FPCOPTDEF+=HASUNIX
1678
1760
endif
1679
1761
endif
 
1762
ifdef CREATESHARED
 
1763
override FPCOPT+=-Cg
 
1764
ifeq ($(CPU_TARGET),i386)
 
1765
override FPCOPT+=-Aas
 
1766
endif
 
1767
endif
 
1768
ifdef LINKSHARED
 
1769
endif
1680
1770
ifdef GCCLIBDIR
1681
1771
override FPCOPT+=-Fl$(GCCLIBDIR)
1682
1772
endif
1697
1787
override FPCOPT:=!FPCEXTCMD
1698
1788
export FPCEXTCMD
1699
1789
endif
 
1790
override AFULL_TARGET=$(CPU_TARGET)-$(OS_TARGET)
 
1791
override AFULL_SOURCE=$(CPU_SOURCE)-$(OS_SOURCE)
 
1792
ifneq ($(AFULL_TARGET),$(AFULL_SOURCE))
 
1793
override ACROSSCOMPILE=1
 
1794
endif
 
1795
ifdef ACROSSCOMPILE
 
1796
override FPCOPT+=$(CROSSOPT)
 
1797
endif
1700
1798
override COMPILER:=$(FPC) $(FPCOPT)
1701
1799
ifeq (,$(findstring -s ,$(COMPILER)))
1702
1800
EXECPPAS=
1736
1834
HASEXAMPLES=1
1737
1835
endif
1738
1836
fpc_examples: all $(EXAMPLEFILES) $(addsuffix _all,$(TARGET_EXAMPLEDIRS))
1739
 
.PHONY: fpc_all fpc_smart fpc_debug fpc_release
 
1837
.PHONY: fpc_all fpc_smart fpc_debug fpc_release fpc_shared
1740
1838
$(FPCMADE): $(ALLDEPENDENCIES) $(ALLTARGET)
1741
1839
        @$(ECHOREDIR) Compiled > $(FPCMADE)
1742
1840
fpc_all: $(FPCMADE)
1777
1875
vpath %.dpr $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
1778
1876
vpath %$(OEXT) $(COMPILER_UNITTARGETDIR)
1779
1877
vpath %$(PPUEXT) $(COMPILER_UNITTARGETDIR)
 
1878
.PHONY: fpc_shared
 
1879
override INSTALLTARGET+=fpc_shared_install
 
1880
ifndef SHARED_LIBVERSION
 
1881
SHARED_LIBVERSION=$(FPC_VERSION)
 
1882
endif
 
1883
ifndef SHARED_LIBNAME
 
1884
SHARED_LIBNAME=$(PACKAGE_NAME)
 
1885
endif
 
1886
ifndef SHARED_FULLNAME
 
1887
SHARED_FULLNAME=$(SHAREDLIBPREFIX)$(SHARED_LIBNAME)-$(SHARED_LIBVERSION)$(SHAREDLIBEXT)
 
1888
endif
 
1889
ifndef SHARED_LIBUNITS
 
1890
SHARED_LIBUNITS:=$(TARGET_UNITS) $(TARGET_IMPLICITUNITS)
 
1891
override SHARED_LIBUNITS:=$(filter-out $(INSTALL_BUILDUNIT),$(SHARED_LIBUNITS))
 
1892
endif
 
1893
fpc_shared:
 
1894
ifdef HASSHAREDLIB
 
1895
        $(MAKE) all CREATESHARED=1 LINKSHARED=1 CREATESMART=1
 
1896
ifneq ($(SHARED_BUILD),n)
 
1897
        $(PPUMOVE) -q $(SHARED_LIBUNITS) -i$(COMPILER_UNITTARGETDIR) -o$(SHARED_FULLNAME) -d$(COMPILER_UNITTARGETDIR)
 
1898
endif
 
1899
else
 
1900
        @$(ECHO) Shared Libraries not supported
 
1901
endif
 
1902
fpc_shared_install:
 
1903
ifneq ($(SHARED_BUILD),n)
 
1904
ifneq ($(SHARED_LIBUNITS),)
 
1905
ifneq ($(wildcard $(COMPILER_UNITTARGETDIR)/$(SHARED_FULLNAME)),)
 
1906
        $(INSTALL) $(COMPILER_UNITTARGETDIR)/$(SHARED_FULLNAME) $(INSTALL_SHAREDDIR)
 
1907
endif
 
1908
endif
 
1909
endif
1780
1910
.PHONY: fpc_install fpc_sourceinstall fpc_exampleinstall
1781
1911
ifdef INSTALL_UNITS
1782
1912
override INSTALLPPUFILES+=$(addsuffix $(PPUEXT),$(INSTALL_UNITS))
2147
2277
ifeq ($(FULL_TARGET),i386-netwlibc)
2148
2278
TARGET_EXAMPLEDIRS_EXAMPLES=1
2149
2279
endif
 
2280
ifeq ($(FULL_TARGET),i386-wince)
 
2281
TARGET_EXAMPLEDIRS_EXAMPLES=1
 
2282
endif
2150
2283
ifeq ($(FULL_TARGET),m68k-linux)
2151
2284
TARGET_EXAMPLEDIRS_EXAMPLES=1
2152
2285
endif
2198
2331
ifeq ($(FULL_TARGET),x86_64-freebsd)
2199
2332
TARGET_EXAMPLEDIRS_EXAMPLES=1
2200
2333
endif
 
2334
ifeq ($(FULL_TARGET),x86_64-win64)
 
2335
TARGET_EXAMPLEDIRS_EXAMPLES=1
 
2336
endif
2201
2337
ifeq ($(FULL_TARGET),arm-linux)
2202
2338
TARGET_EXAMPLEDIRS_EXAMPLES=1
2203
2339
endif
 
2340
ifeq ($(FULL_TARGET),arm-palmos)
 
2341
TARGET_EXAMPLEDIRS_EXAMPLES=1
 
2342
endif
 
2343
ifeq ($(FULL_TARGET),arm-wince)
 
2344
TARGET_EXAMPLEDIRS_EXAMPLES=1
 
2345
endif
 
2346
ifeq ($(FULL_TARGET),powerpc64-linux)
 
2347
TARGET_EXAMPLEDIRS_EXAMPLES=1
 
2348
endif
2204
2349
ifdef TARGET_EXAMPLEDIRS_EXAMPLES
2205
2350
examples_all:
2206
2351
        $(MAKE) -C examples all
2252
2397
release: fpc_release
2253
2398
units: fpc_units
2254
2399
examples: fpc_examples
2255
 
shared:
 
2400
shared: fpc_shared
2256
2401
install: fpc_install
2257
2402
sourceinstall: fpc_sourceinstall
2258
2403
exampleinstall: fpc_exampleinstall