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

« back to all changes in this revision

Viewing changes to packages/base/paszlib/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=paszlib
234
 
override PACKAGE_VERSION=2.0.0
235
 
ifeq ($(FULL_TARGET),i386-linux)
236
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
237
 
endif
238
 
ifeq ($(FULL_TARGET),i386-go32v2)
239
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
240
 
endif
241
 
ifeq ($(FULL_TARGET),i386-win32)
242
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
243
 
endif
244
 
ifeq ($(FULL_TARGET),i386-os2)
245
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
246
 
endif
247
 
ifeq ($(FULL_TARGET),i386-freebsd)
248
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
249
 
endif
250
 
ifeq ($(FULL_TARGET),i386-beos)
251
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
252
 
endif
253
 
ifeq ($(FULL_TARGET),i386-netbsd)
254
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
255
 
endif
256
 
ifeq ($(FULL_TARGET),i386-solaris)
257
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
258
 
endif
259
 
ifeq ($(FULL_TARGET),i386-qnx)
260
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
261
 
endif
262
 
ifeq ($(FULL_TARGET),i386-netware)
263
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
264
 
endif
265
 
ifeq ($(FULL_TARGET),i386-openbsd)
266
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
267
 
endif
268
 
ifeq ($(FULL_TARGET),i386-wdosx)
269
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
270
 
endif
271
 
ifeq ($(FULL_TARGET),i386-emx)
272
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
273
 
endif
274
 
ifeq ($(FULL_TARGET),i386-watcom)
275
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
276
 
endif
277
 
ifeq ($(FULL_TARGET),i386-netwlibc)
278
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
279
 
endif
280
 
ifeq ($(FULL_TARGET),m68k-linux)
281
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
282
 
endif
283
 
ifeq ($(FULL_TARGET),m68k-freebsd)
284
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
285
 
endif
286
 
ifeq ($(FULL_TARGET),m68k-netbsd)
287
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
288
 
endif
289
 
ifeq ($(FULL_TARGET),m68k-amiga)
290
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
291
 
endif
292
 
ifeq ($(FULL_TARGET),m68k-atari)
293
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
294
 
endif
295
 
ifeq ($(FULL_TARGET),m68k-openbsd)
296
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
297
 
endif
298
 
ifeq ($(FULL_TARGET),m68k-palmos)
299
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
300
 
endif
301
 
ifeq ($(FULL_TARGET),powerpc-linux)
302
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
303
 
endif
304
 
ifeq ($(FULL_TARGET),powerpc-netbsd)
305
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
306
 
endif
307
 
ifeq ($(FULL_TARGET),powerpc-macos)
308
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
309
 
endif
310
 
ifeq ($(FULL_TARGET),powerpc-darwin)
311
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
312
 
endif
313
 
ifeq ($(FULL_TARGET),powerpc-morphos)
314
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
315
 
endif
316
 
ifeq ($(FULL_TARGET),sparc-linux)
317
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
318
 
endif
319
 
ifeq ($(FULL_TARGET),sparc-netbsd)
320
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
321
 
endif
322
 
ifeq ($(FULL_TARGET),sparc-solaris)
323
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
324
 
endif
325
 
ifeq ($(FULL_TARGET),x86_64-linux)
326
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
327
 
endif
328
 
ifeq ($(FULL_TARGET),x86_64-freebsd)
329
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
330
 
endif
331
 
ifeq ($(FULL_TARGET),arm-linux)
332
 
override TARGET_UNITS+=paszlib adler gzcrc gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr zutil
333
 
endif
334
 
ifeq ($(FULL_TARGET),i386-linux)
335
 
override TARGET_EXAMPLES+=example minigzip
336
 
endif
337
 
ifeq ($(FULL_TARGET),i386-go32v2)
338
 
override TARGET_EXAMPLES+=example minigzip
339
 
endif
340
 
ifeq ($(FULL_TARGET),i386-win32)
341
 
override TARGET_EXAMPLES+=example minigzip
342
 
endif
343
 
ifeq ($(FULL_TARGET),i386-os2)
344
 
override TARGET_EXAMPLES+=example minigzip
345
 
endif
346
 
ifeq ($(FULL_TARGET),i386-freebsd)
347
 
override TARGET_EXAMPLES+=example minigzip
348
 
endif
349
 
ifeq ($(FULL_TARGET),i386-beos)
350
 
override TARGET_EXAMPLES+=example minigzip
351
 
endif
352
 
ifeq ($(FULL_TARGET),i386-netbsd)
353
 
override TARGET_EXAMPLES+=example minigzip
354
 
endif
355
 
ifeq ($(FULL_TARGET),i386-solaris)
356
 
override TARGET_EXAMPLES+=example minigzip
357
 
endif
358
 
ifeq ($(FULL_TARGET),i386-qnx)
359
 
override TARGET_EXAMPLES+=example minigzip
360
 
endif
361
 
ifeq ($(FULL_TARGET),i386-netware)
362
 
override TARGET_EXAMPLES+=example minigzip
363
 
endif
364
 
ifeq ($(FULL_TARGET),i386-openbsd)
365
 
override TARGET_EXAMPLES+=example minigzip
366
 
endif
367
 
ifeq ($(FULL_TARGET),i386-wdosx)
368
 
override TARGET_EXAMPLES+=example minigzip
369
 
endif
370
 
ifeq ($(FULL_TARGET),i386-emx)
371
 
override TARGET_EXAMPLES+=example minigzip
372
 
endif
373
 
ifeq ($(FULL_TARGET),i386-watcom)
374
 
override TARGET_EXAMPLES+=example minigzip
375
 
endif
376
 
ifeq ($(FULL_TARGET),i386-netwlibc)
377
 
override TARGET_EXAMPLES+=example minigzip
378
 
endif
379
 
ifeq ($(FULL_TARGET),m68k-linux)
380
 
override TARGET_EXAMPLES+=example minigzip
381
 
endif
382
 
ifeq ($(FULL_TARGET),m68k-freebsd)
383
 
override TARGET_EXAMPLES+=example minigzip
384
 
endif
385
 
ifeq ($(FULL_TARGET),m68k-netbsd)
386
 
override TARGET_EXAMPLES+=example minigzip
387
 
endif
388
 
ifeq ($(FULL_TARGET),m68k-amiga)
389
 
override TARGET_EXAMPLES+=example minigzip
390
 
endif
391
 
ifeq ($(FULL_TARGET),m68k-atari)
392
 
override TARGET_EXAMPLES+=example minigzip
393
 
endif
394
 
ifeq ($(FULL_TARGET),m68k-openbsd)
395
 
override TARGET_EXAMPLES+=example minigzip
396
 
endif
397
 
ifeq ($(FULL_TARGET),m68k-palmos)
398
 
override TARGET_EXAMPLES+=example minigzip
399
 
endif
400
 
ifeq ($(FULL_TARGET),powerpc-linux)
401
 
override TARGET_EXAMPLES+=example minigzip
402
 
endif
403
 
ifeq ($(FULL_TARGET),powerpc-netbsd)
404
 
override TARGET_EXAMPLES+=example minigzip
405
 
endif
406
 
ifeq ($(FULL_TARGET),powerpc-macos)
407
 
override TARGET_EXAMPLES+=example minigzip
408
 
endif
409
 
ifeq ($(FULL_TARGET),powerpc-darwin)
410
 
override TARGET_EXAMPLES+=example minigzip
411
 
endif
412
 
ifeq ($(FULL_TARGET),powerpc-morphos)
413
 
override TARGET_EXAMPLES+=example minigzip
414
 
endif
415
 
ifeq ($(FULL_TARGET),sparc-linux)
416
 
override TARGET_EXAMPLES+=example minigzip
417
 
endif
418
 
ifeq ($(FULL_TARGET),sparc-netbsd)
419
 
override TARGET_EXAMPLES+=example minigzip
420
 
endif
421
 
ifeq ($(FULL_TARGET),sparc-solaris)
422
 
override TARGET_EXAMPLES+=example minigzip
423
 
endif
424
 
ifeq ($(FULL_TARGET),x86_64-linux)
425
 
override TARGET_EXAMPLES+=example minigzip
426
 
endif
427
 
ifeq ($(FULL_TARGET),x86_64-freebsd)
428
 
override TARGET_EXAMPLES+=example minigzip
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+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
237
endif
 
238
ifeq ($(FULL_TARGET),i386-go32v2)
 
239
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
240
endif
 
241
ifeq ($(FULL_TARGET),i386-win32)
 
242
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
243
endif
 
244
ifeq ($(FULL_TARGET),i386-os2)
 
245
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
246
endif
 
247
ifeq ($(FULL_TARGET),i386-freebsd)
 
248
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
249
endif
 
250
ifeq ($(FULL_TARGET),i386-beos)
 
251
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
252
endif
 
253
ifeq ($(FULL_TARGET),i386-netbsd)
 
254
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
255
endif
 
256
ifeq ($(FULL_TARGET),i386-solaris)
 
257
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
258
endif
 
259
ifeq ($(FULL_TARGET),i386-qnx)
 
260
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
261
endif
 
262
ifeq ($(FULL_TARGET),i386-netware)
 
263
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
264
endif
 
265
ifeq ($(FULL_TARGET),i386-openbsd)
 
266
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
267
endif
 
268
ifeq ($(FULL_TARGET),i386-wdosx)
 
269
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
270
endif
 
271
ifeq ($(FULL_TARGET),i386-emx)
 
272
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
273
endif
 
274
ifeq ($(FULL_TARGET),i386-watcom)
 
275
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
276
endif
 
277
ifeq ($(FULL_TARGET),i386-netwlibc)
 
278
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
279
endif
 
280
ifeq ($(FULL_TARGET),i386-wince)
 
281
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
282
endif
 
283
ifeq ($(FULL_TARGET),m68k-linux)
 
284
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
285
endif
 
286
ifeq ($(FULL_TARGET),m68k-freebsd)
 
287
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
288
endif
 
289
ifeq ($(FULL_TARGET),m68k-netbsd)
 
290
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
291
endif
 
292
ifeq ($(FULL_TARGET),m68k-amiga)
 
293
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
294
endif
 
295
ifeq ($(FULL_TARGET),m68k-atari)
 
296
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
297
endif
 
298
ifeq ($(FULL_TARGET),m68k-openbsd)
 
299
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
300
endif
 
301
ifeq ($(FULL_TARGET),m68k-palmos)
 
302
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
303
endif
 
304
ifeq ($(FULL_TARGET),powerpc-linux)
 
305
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
306
endif
 
307
ifeq ($(FULL_TARGET),powerpc-netbsd)
 
308
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
309
endif
 
310
ifeq ($(FULL_TARGET),powerpc-macos)
 
311
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
312
endif
 
313
ifeq ($(FULL_TARGET),powerpc-darwin)
 
314
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
315
endif
 
316
ifeq ($(FULL_TARGET),powerpc-morphos)
 
317
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
318
endif
 
319
ifeq ($(FULL_TARGET),sparc-linux)
 
320
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
321
endif
 
322
ifeq ($(FULL_TARGET),sparc-netbsd)
 
323
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
324
endif
 
325
ifeq ($(FULL_TARGET),sparc-solaris)
 
326
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
327
endif
 
328
ifeq ($(FULL_TARGET),x86_64-linux)
 
329
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
330
endif
 
331
ifeq ($(FULL_TARGET),x86_64-freebsd)
 
332
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
333
endif
 
334
ifeq ($(FULL_TARGET),x86_64-win64)
 
335
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
336
endif
 
337
ifeq ($(FULL_TARGET),arm-linux)
 
338
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
339
endif
 
340
ifeq ($(FULL_TARGET),arm-palmos)
 
341
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
342
endif
 
343
ifeq ($(FULL_TARGET),arm-wince)
 
344
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
345
endif
 
346
ifeq ($(FULL_TARGET),powerpc64-linux)
 
347
override TARGET_UNITS+=paszlib adler gzio infblock infcodes inffast inftrees infutil trees zcompres zdeflate zinflate zbase zuncompr
 
348
endif
 
349
ifeq ($(FULL_TARGET),i386-linux)
 
350
override TARGET_EXAMPLES+=example minigzip
 
351
endif
 
352
ifeq ($(FULL_TARGET),i386-go32v2)
 
353
override TARGET_EXAMPLES+=example minigzip
 
354
endif
 
355
ifeq ($(FULL_TARGET),i386-win32)
 
356
override TARGET_EXAMPLES+=example minigzip
 
357
endif
 
358
ifeq ($(FULL_TARGET),i386-os2)
 
359
override TARGET_EXAMPLES+=example minigzip
 
360
endif
 
361
ifeq ($(FULL_TARGET),i386-freebsd)
 
362
override TARGET_EXAMPLES+=example minigzip
 
363
endif
 
364
ifeq ($(FULL_TARGET),i386-beos)
 
365
override TARGET_EXAMPLES+=example minigzip
 
366
endif
 
367
ifeq ($(FULL_TARGET),i386-netbsd)
 
368
override TARGET_EXAMPLES+=example minigzip
 
369
endif
 
370
ifeq ($(FULL_TARGET),i386-solaris)
 
371
override TARGET_EXAMPLES+=example minigzip
 
372
endif
 
373
ifeq ($(FULL_TARGET),i386-qnx)
 
374
override TARGET_EXAMPLES+=example minigzip
 
375
endif
 
376
ifeq ($(FULL_TARGET),i386-netware)
 
377
override TARGET_EXAMPLES+=example minigzip
 
378
endif
 
379
ifeq ($(FULL_TARGET),i386-openbsd)
 
380
override TARGET_EXAMPLES+=example minigzip
 
381
endif
 
382
ifeq ($(FULL_TARGET),i386-wdosx)
 
383
override TARGET_EXAMPLES+=example minigzip
 
384
endif
 
385
ifeq ($(FULL_TARGET),i386-emx)
 
386
override TARGET_EXAMPLES+=example minigzip
 
387
endif
 
388
ifeq ($(FULL_TARGET),i386-watcom)
 
389
override TARGET_EXAMPLES+=example minigzip
 
390
endif
 
391
ifeq ($(FULL_TARGET),i386-netwlibc)
 
392
override TARGET_EXAMPLES+=example minigzip
 
393
endif
 
394
ifeq ($(FULL_TARGET),i386-wince)
 
395
override TARGET_EXAMPLES+=example minigzip
 
396
endif
 
397
ifeq ($(FULL_TARGET),m68k-linux)
 
398
override TARGET_EXAMPLES+=example minigzip
 
399
endif
 
400
ifeq ($(FULL_TARGET),m68k-freebsd)
 
401
override TARGET_EXAMPLES+=example minigzip
 
402
endif
 
403
ifeq ($(FULL_TARGET),m68k-netbsd)
 
404
override TARGET_EXAMPLES+=example minigzip
 
405
endif
 
406
ifeq ($(FULL_TARGET),m68k-amiga)
 
407
override TARGET_EXAMPLES+=example minigzip
 
408
endif
 
409
ifeq ($(FULL_TARGET),m68k-atari)
 
410
override TARGET_EXAMPLES+=example minigzip
 
411
endif
 
412
ifeq ($(FULL_TARGET),m68k-openbsd)
 
413
override TARGET_EXAMPLES+=example minigzip
 
414
endif
 
415
ifeq ($(FULL_TARGET),m68k-palmos)
 
416
override TARGET_EXAMPLES+=example minigzip
 
417
endif
 
418
ifeq ($(FULL_TARGET),powerpc-linux)
 
419
override TARGET_EXAMPLES+=example minigzip
 
420
endif
 
421
ifeq ($(FULL_TARGET),powerpc-netbsd)
 
422
override TARGET_EXAMPLES+=example minigzip
 
423
endif
 
424
ifeq ($(FULL_TARGET),powerpc-macos)
 
425
override TARGET_EXAMPLES+=example minigzip
 
426
endif
 
427
ifeq ($(FULL_TARGET),powerpc-darwin)
 
428
override TARGET_EXAMPLES+=example minigzip
 
429
endif
 
430
ifeq ($(FULL_TARGET),powerpc-morphos)
 
431
override TARGET_EXAMPLES+=example minigzip
 
432
endif
 
433
ifeq ($(FULL_TARGET),sparc-linux)
 
434
override TARGET_EXAMPLES+=example minigzip
 
435
endif
 
436
ifeq ($(FULL_TARGET),sparc-netbsd)
 
437
override TARGET_EXAMPLES+=example minigzip
 
438
endif
 
439
ifeq ($(FULL_TARGET),sparc-solaris)
 
440
override TARGET_EXAMPLES+=example minigzip
 
441
endif
 
442
ifeq ($(FULL_TARGET),x86_64-linux)
 
443
override TARGET_EXAMPLES+=example minigzip
 
444
endif
 
445
ifeq ($(FULL_TARGET),x86_64-freebsd)
 
446
override TARGET_EXAMPLES+=example minigzip
 
447
endif
 
448
ifeq ($(FULL_TARGET),x86_64-win64)
 
449
override TARGET_EXAMPLES+=example minigzip
 
450
endif
 
451
ifeq ($(FULL_TARGET),arm-linux)
 
452
override TARGET_EXAMPLES+=example minigzip
 
453
endif
 
454
ifeq ($(FULL_TARGET),arm-palmos)
 
455
override TARGET_EXAMPLES+=example minigzip
 
456
endif
 
457
ifeq ($(FULL_TARGET),arm-wince)
 
458
override TARGET_EXAMPLES+=example minigzip
 
459
endif
 
460
ifeq ($(FULL_TARGET),powerpc64-linux)
431
461
override TARGET_EXAMPLES+=example minigzip
432
462
endif
433
463
override INSTALL_FPCPACKAGE=y
614
644
ifndef INSTALL_DATADIR
615
645
INSTALL_DATADIR=$(INSTALL_BASEDIR)
616
646
endif
 
647
ifndef INSTALL_SHAREDDIR
 
648
INSTALL_SHAREDDIR=$(INSTALL_PREFIX)/lib
 
649
endif
617
650
ifdef CROSSCOMPILE
618
651
ifndef CROSSBINDIR
619
652
CROSSBINDIR:=$(wildcard $(CROSSTARGETDIR)/bin/$(SOURCESUFFIX))
634
667
SMARTEXT=.sl
635
668
STATICLIBEXT=.a
636
669
SHAREDLIBEXT=.so
 
670
SHAREDLIBPREFIX=libfp
637
671
STATICLIBPREFIX=libp
638
672
RSTEXT=.rst
639
673
ifeq ($(findstring 1.0.,$(FPC_VERSION)),)
1159
1193
TAROPT=vz
1160
1194
TAREXT=.tar.gz
1161
1195
endif
1162
 
override REQUIRE_PACKAGES=rtl 
 
1196
override REQUIRE_PACKAGES=rtl hash
1163
1197
ifeq ($(FULL_TARGET),i386-linux)
1164
1198
REQUIRE_PACKAGES_RTL=1
 
1199
REQUIRE_PACKAGES_HASH=1
1165
1200
endif
1166
1201
ifeq ($(FULL_TARGET),i386-go32v2)
1167
1202
REQUIRE_PACKAGES_RTL=1
 
1203
REQUIRE_PACKAGES_HASH=1
1168
1204
endif
1169
1205
ifeq ($(FULL_TARGET),i386-win32)
1170
1206
REQUIRE_PACKAGES_RTL=1
 
1207
REQUIRE_PACKAGES_HASH=1
1171
1208
endif
1172
1209
ifeq ($(FULL_TARGET),i386-os2)
1173
1210
REQUIRE_PACKAGES_RTL=1
 
1211
REQUIRE_PACKAGES_HASH=1
1174
1212
endif
1175
1213
ifeq ($(FULL_TARGET),i386-freebsd)
1176
1214
REQUIRE_PACKAGES_RTL=1
 
1215
REQUIRE_PACKAGES_HASH=1
1177
1216
endif
1178
1217
ifeq ($(FULL_TARGET),i386-beos)
1179
1218
REQUIRE_PACKAGES_RTL=1
 
1219
REQUIRE_PACKAGES_HASH=1
1180
1220
endif
1181
1221
ifeq ($(FULL_TARGET),i386-netbsd)
1182
1222
REQUIRE_PACKAGES_RTL=1
 
1223
REQUIRE_PACKAGES_HASH=1
1183
1224
endif
1184
1225
ifeq ($(FULL_TARGET),i386-solaris)
1185
1226
REQUIRE_PACKAGES_RTL=1
 
1227
REQUIRE_PACKAGES_HASH=1
1186
1228
endif
1187
1229
ifeq ($(FULL_TARGET),i386-qnx)
1188
1230
REQUIRE_PACKAGES_RTL=1
 
1231
REQUIRE_PACKAGES_HASH=1
1189
1232
endif
1190
1233
ifeq ($(FULL_TARGET),i386-netware)
1191
1234
REQUIRE_PACKAGES_RTL=1
 
1235
REQUIRE_PACKAGES_HASH=1
1192
1236
endif
1193
1237
ifeq ($(FULL_TARGET),i386-openbsd)
1194
1238
REQUIRE_PACKAGES_RTL=1
 
1239
REQUIRE_PACKAGES_HASH=1
1195
1240
endif
1196
1241
ifeq ($(FULL_TARGET),i386-wdosx)
1197
1242
REQUIRE_PACKAGES_RTL=1
 
1243
REQUIRE_PACKAGES_HASH=1
1198
1244
endif
1199
1245
ifeq ($(FULL_TARGET),i386-emx)
1200
1246
REQUIRE_PACKAGES_RTL=1
 
1247
REQUIRE_PACKAGES_HASH=1
1201
1248
endif
1202
1249
ifeq ($(FULL_TARGET),i386-watcom)
1203
1250
REQUIRE_PACKAGES_RTL=1
 
1251
REQUIRE_PACKAGES_HASH=1
1204
1252
endif
1205
1253
ifeq ($(FULL_TARGET),i386-netwlibc)
1206
1254
REQUIRE_PACKAGES_RTL=1
 
1255
REQUIRE_PACKAGES_HASH=1
 
1256
endif
 
1257
ifeq ($(FULL_TARGET),i386-wince)
 
1258
REQUIRE_PACKAGES_RTL=1
 
1259
REQUIRE_PACKAGES_HASH=1
1207
1260
endif
1208
1261
ifeq ($(FULL_TARGET),m68k-linux)
1209
1262
REQUIRE_PACKAGES_RTL=1
 
1263
REQUIRE_PACKAGES_HASH=1
1210
1264
endif
1211
1265
ifeq ($(FULL_TARGET),m68k-freebsd)
1212
1266
REQUIRE_PACKAGES_RTL=1
 
1267
REQUIRE_PACKAGES_HASH=1
1213
1268
endif
1214
1269
ifeq ($(FULL_TARGET),m68k-netbsd)
1215
1270
REQUIRE_PACKAGES_RTL=1
 
1271
REQUIRE_PACKAGES_HASH=1
1216
1272
endif
1217
1273
ifeq ($(FULL_TARGET),m68k-amiga)
1218
1274
REQUIRE_PACKAGES_RTL=1
 
1275
REQUIRE_PACKAGES_HASH=1
1219
1276
endif
1220
1277
ifeq ($(FULL_TARGET),m68k-atari)
1221
1278
REQUIRE_PACKAGES_RTL=1
 
1279
REQUIRE_PACKAGES_HASH=1
1222
1280
endif
1223
1281
ifeq ($(FULL_TARGET),m68k-openbsd)
1224
1282
REQUIRE_PACKAGES_RTL=1
 
1283
REQUIRE_PACKAGES_HASH=1
1225
1284
endif
1226
1285
ifeq ($(FULL_TARGET),m68k-palmos)
1227
1286
REQUIRE_PACKAGES_RTL=1
 
1287
REQUIRE_PACKAGES_HASH=1
1228
1288
endif
1229
1289
ifeq ($(FULL_TARGET),powerpc-linux)
1230
1290
REQUIRE_PACKAGES_RTL=1
 
1291
REQUIRE_PACKAGES_HASH=1
1231
1292
endif
1232
1293
ifeq ($(FULL_TARGET),powerpc-netbsd)
1233
1294
REQUIRE_PACKAGES_RTL=1
 
1295
REQUIRE_PACKAGES_HASH=1
1234
1296
endif
1235
1297
ifeq ($(FULL_TARGET),powerpc-macos)
1236
1298
REQUIRE_PACKAGES_RTL=1
 
1299
REQUIRE_PACKAGES_HASH=1
1237
1300
endif
1238
1301
ifeq ($(FULL_TARGET),powerpc-darwin)
1239
1302
REQUIRE_PACKAGES_RTL=1
 
1303
REQUIRE_PACKAGES_HASH=1
1240
1304
endif
1241
1305
ifeq ($(FULL_TARGET),powerpc-morphos)
1242
1306
REQUIRE_PACKAGES_RTL=1
 
1307
REQUIRE_PACKAGES_HASH=1
1243
1308
endif
1244
1309
ifeq ($(FULL_TARGET),sparc-linux)
1245
1310
REQUIRE_PACKAGES_RTL=1
 
1311
REQUIRE_PACKAGES_HASH=1
1246
1312
endif
1247
1313
ifeq ($(FULL_TARGET),sparc-netbsd)
1248
1314
REQUIRE_PACKAGES_RTL=1
 
1315
REQUIRE_PACKAGES_HASH=1
1249
1316
endif
1250
1317
ifeq ($(FULL_TARGET),sparc-solaris)
1251
1318
REQUIRE_PACKAGES_RTL=1
 
1319
REQUIRE_PACKAGES_HASH=1
1252
1320
endif
1253
1321
ifeq ($(FULL_TARGET),x86_64-linux)
1254
1322
REQUIRE_PACKAGES_RTL=1
 
1323
REQUIRE_PACKAGES_HASH=1
1255
1324
endif
1256
1325
ifeq ($(FULL_TARGET),x86_64-freebsd)
1257
1326
REQUIRE_PACKAGES_RTL=1
 
1327
REQUIRE_PACKAGES_HASH=1
 
1328
endif
 
1329
ifeq ($(FULL_TARGET),x86_64-win64)
 
1330
REQUIRE_PACKAGES_RTL=1
 
1331
REQUIRE_PACKAGES_HASH=1
1258
1332
endif
1259
1333
ifeq ($(FULL_TARGET),arm-linux)
1260
1334
REQUIRE_PACKAGES_RTL=1
 
1335
REQUIRE_PACKAGES_HASH=1
 
1336
endif
 
1337
ifeq ($(FULL_TARGET),arm-palmos)
 
1338
REQUIRE_PACKAGES_RTL=1
 
1339
REQUIRE_PACKAGES_HASH=1
 
1340
endif
 
1341
ifeq ($(FULL_TARGET),arm-wince)
 
1342
REQUIRE_PACKAGES_RTL=1
 
1343
REQUIRE_PACKAGES_HASH=1
 
1344
endif
 
1345
ifeq ($(FULL_TARGET),powerpc64-linux)
 
1346
REQUIRE_PACKAGES_RTL=1
 
1347
REQUIRE_PACKAGES_HASH=1
1261
1348
endif
1262
1349
ifdef REQUIRE_PACKAGES_RTL
1263
1350
PACKAGEDIR_RTL:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /rtl/Makefile.fpc,$(PACKAGESDIR))))))
1285
1372
override COMPILER_UNITDIR+=$(UNITDIR_RTL)
1286
1373
endif
1287
1374
endif
 
1375
ifdef REQUIRE_PACKAGES_HASH
 
1376
PACKAGEDIR_HASH:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /hash/Makefile.fpc,$(PACKAGESDIR))))))
 
1377
ifneq ($(PACKAGEDIR_HASH),)
 
1378
ifneq ($(wildcard $(PACKAGEDIR_HASH)/units/$(TARGETSUFFIX)),)
 
1379
UNITDIR_HASH=$(PACKAGEDIR_HASH)/units/$(TARGETSUFFIX)
 
1380
else
 
1381
UNITDIR_HASH=$(PACKAGEDIR_HASH)
 
1382
endif
 
1383
ifdef CHECKDEPEND
 
1384
$(PACKAGEDIR_HASH)/$(FPCMADE):
 
1385
        $(MAKE) -C $(PACKAGEDIR_HASH) $(FPCMADE)
 
1386
override ALLDEPENDENCIES+=$(PACKAGEDIR_HASH)/$(FPCMADE)
 
1387
endif
 
1388
else
 
1389
PACKAGEDIR_HASH=
 
1390
UNITDIR_HASH:=$(subst /Package.fpc,,$(strip $(wildcard $(addsuffix /hash/Package.fpc,$(UNITSDIR)))))
 
1391
ifneq ($(UNITDIR_HASH),)
 
1392
UNITDIR_HASH:=$(firstword $(UNITDIR_HASH))
 
1393
else
 
1394
UNITDIR_HASH=
 
1395
endif
 
1396
endif
 
1397
ifdef UNITDIR_HASH
 
1398
override COMPILER_UNITDIR+=$(UNITDIR_HASH)
 
1399
endif
 
1400
endif
1288
1401
ifndef NOCPUDEF
1289
1402
override FPCOPTDEF=$(CPU_TARGET)
1290
1403
endif
1329
1442
FPCCPUOPT:=-OG2p3
1330
1443
else
1331
1444
ifeq ($(CPU_TARGET),powerpc)
1332
 
FPCCPUOPT:=-O1
 
1445
FPCCPUOPT:=-O1r
1333
1446
else
1334
1447
FPCCPUOPT:=
1335
1448
endif
1336
1449
endif
1337
 
override FPCOPT+=-Xs $(FPCCPUOPT) -n
 
1450
override FPCOPT+=-Ur -Xs $(FPCCPUOPT) -n
1338
1451
override FPCOPTDEF+=RELEASE
1339
1452
endif
1340
1453
ifdef STRIP
1392
1505
override FPCOPTDEF+=HASUNIX
1393
1506
endif
1394
1507
endif
 
1508
ifdef CREATESHARED
 
1509
override FPCOPT+=-Cg
 
1510
ifeq ($(CPU_TARGET),i386)
 
1511
override FPCOPT+=-Aas
 
1512
endif
 
1513
endif
 
1514
ifdef LINKSHARED
 
1515
endif
1395
1516
ifdef OPT
1396
1517
override FPCOPT+=$(OPT)
1397
1518
endif
1406
1527
override FPCOPT:=!FPCEXTCMD
1407
1528
export FPCEXTCMD
1408
1529
endif
 
1530
override AFULL_TARGET=$(CPU_TARGET)-$(OS_TARGET)
 
1531
override AFULL_SOURCE=$(CPU_SOURCE)-$(OS_SOURCE)
 
1532
ifneq ($(AFULL_TARGET),$(AFULL_SOURCE))
 
1533
override ACROSSCOMPILE=1
 
1534
endif
 
1535
ifdef ACROSSCOMPILE
 
1536
override FPCOPT+=$(CROSSOPT)
 
1537
endif
1409
1538
override COMPILER:=$(FPC) $(FPCOPT)
1410
1539
ifeq (,$(findstring -s ,$(COMPILER)))
1411
1540
EXECPPAS=
1445
1574
HASEXAMPLES=1
1446
1575
endif
1447
1576
fpc_examples: all $(EXAMPLEFILES) $(addsuffix _all,$(TARGET_EXAMPLEDIRS))
1448
 
.PHONY: fpc_all fpc_smart fpc_debug fpc_release
 
1577
.PHONY: fpc_all fpc_smart fpc_debug fpc_release fpc_shared
1449
1578
$(FPCMADE): $(ALLDEPENDENCIES) $(ALLTARGET)
1450
1579
        @$(ECHOREDIR) Compiled > $(FPCMADE)
1451
1580
fpc_all: $(FPCMADE)
1486
1615
vpath %.dpr $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
1487
1616
vpath %$(OEXT) $(COMPILER_UNITTARGETDIR)
1488
1617
vpath %$(PPUEXT) $(COMPILER_UNITTARGETDIR)
 
1618
.PHONY: fpc_shared
 
1619
override INSTALLTARGET+=fpc_shared_install
 
1620
ifndef SHARED_LIBVERSION
 
1621
SHARED_LIBVERSION=$(FPC_VERSION)
 
1622
endif
 
1623
ifndef SHARED_LIBNAME
 
1624
SHARED_LIBNAME=$(PACKAGE_NAME)
 
1625
endif
 
1626
ifndef SHARED_FULLNAME
 
1627
SHARED_FULLNAME=$(SHAREDLIBPREFIX)$(SHARED_LIBNAME)-$(SHARED_LIBVERSION)$(SHAREDLIBEXT)
 
1628
endif
 
1629
ifndef SHARED_LIBUNITS
 
1630
SHARED_LIBUNITS:=$(TARGET_UNITS) $(TARGET_IMPLICITUNITS)
 
1631
override SHARED_LIBUNITS:=$(filter-out $(INSTALL_BUILDUNIT),$(SHARED_LIBUNITS))
 
1632
endif
 
1633
fpc_shared:
 
1634
ifdef HASSHAREDLIB
 
1635
        $(MAKE) all CREATESHARED=1 LINKSHARED=1 CREATESMART=1
 
1636
ifneq ($(SHARED_BUILD),n)
 
1637
        $(PPUMOVE) -q $(SHARED_LIBUNITS) -i$(COMPILER_UNITTARGETDIR) -o$(SHARED_FULLNAME) -d$(COMPILER_UNITTARGETDIR)
 
1638
endif
 
1639
else
 
1640
        @$(ECHO) Shared Libraries not supported
 
1641
endif
 
1642
fpc_shared_install:
 
1643
ifneq ($(SHARED_BUILD),n)
 
1644
ifneq ($(SHARED_LIBUNITS),)
 
1645
ifneq ($(wildcard $(COMPILER_UNITTARGETDIR)/$(SHARED_FULLNAME)),)
 
1646
        $(INSTALL) $(COMPILER_UNITTARGETDIR)/$(SHARED_FULLNAME) $(INSTALL_SHAREDDIR)
 
1647
endif
 
1648
endif
 
1649
endif
1489
1650
.PHONY: fpc_install fpc_sourceinstall fpc_exampleinstall
1490
1651
ifdef INSTALL_UNITS
1491
1652
override INSTALLPPUFILES+=$(addsuffix $(PPUEXT),$(INSTALL_UNITS))
1817
1978
release: fpc_release
1818
1979
units: fpc_units
1819
1980
examples: fpc_examples
1820
 
shared:
 
1981
shared: fpc_shared
1821
1982
install: fpc_install
1822
1983
sourceinstall: fpc_sourceinstall
1823
1984
exampleinstall: fpc_exampleinstall