~ubuntu-branches/ubuntu/hardy/gcj-4.2/hardy-proposed

« back to all changes in this revision

Viewing changes to debian/rules.defs

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-08-27 19:03:56 UTC
  • Revision ID: james.westby@ubuntu.com-20070827190356-mhz77izmwht6vcx7
Tags: 4.2.1-4ubuntu1
Upload as gcj-4.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
322
322
 
323
323
java_no_cpus := #mips mipsel
324
324
java_no_arches :=
325
 
java_plugin_no_cpus := armel arm m68k mips mipsel
326
325
java_no_systems := knetbsd-gnu netbsdelf-gnu
327
326
gcj_native_archs = alpha amd64 i386 ia64 m68k mips mipsel powerpc s390 sparc
328
327
 
335
334
ifneq (, $(filter $(DEB_TARGET_ARCH),$(java_no_arches)))
336
335
  with_java := disabled for $(DEB_TARGET_ARCH)
337
336
endif
338
 
ifneq (, $(filter $(DEB_TARGET_ARCH),$(java_plugin_no_cpus)))
339
 
  with_java_plugin := disabled for $(DEB_TARGET_ARCH)
340
 
endif
341
337
ifdef DEB_CROSS
342
338
  with_java := disabled for cross compiler package
343
339
endif
366
362
  with_javadev := no
367
363
endif
368
364
 
369
 
ifeq ($(distribution),Ubuntu)
370
 
  with_pkg_plugin := yes
 
365
ifeq ($(with_java),yes)
 
366
  java_plugin_no_cpus := armel arm m68k mips mipsel
 
367
  with_java_plugin := yes
 
368
  ifneq (, $(filter $(DEB_TARGET_ARCH),$(java_plugin_no_cpus)))
 
369
    with_java_plugin := disabled for $(DEB_TARGET_ARCH)
 
370
  endif
 
371
  ifeq ($(distribution),Ubuntu)
 
372
    with_pkg_plugin := yes
 
373
  endif
371
374
endif
372
375
 
373
376
ifeq ($(with_java),yes)
497
500
endif
498
501
 
499
502
# Pascal --------------------
 
503
 
 
504
with_separate_gpc := yes
 
505
 
500
506
with_pascal := yes
501
507
ifneq ($(with_dev),yes)
502
508
  with_pascal := no
509
515
ifneq ($(DEB_TARGET_ARCH),i386)
510
516
  with_pascal := disabled for $(DEB_TARGET_ARCH)
511
517
endif
 
518
ifeq (,$(findstring gpc, $(PKGSOURCE)))
 
519
  with_pascal := disabled, built by separate source
 
520
endif
512
521
 
513
522
with_gpidump := yes
514
523
ifneq (, $(filter $(DEB_TARGET_ARCH_CPU),mips mipsel))
813
822
  endif
814
823
endif
815
824
 
 
825
ifeq ($(with_separate_gpc),yes)
 
826
  ifneq (,$(findstring gcc-4, $(PKGSOURCE)))
 
827
    enabled_languages := $(filter-out pascal, $(enabled_languages))
 
828
    debian_extra_langs += pascal
 
829
    with_pascal := built from separate source
 
830
  endif
 
831
  ifneq (,$(findstring gpc, $(PKGSOURCE)))
 
832
    enabled_languages = c pascal
 
833
    debian_extra_langs := $(filter-out $(enabled_languages) $(languages_without_lang_opt), $(all_enabled_languages))
 
834
    with_libgcc := no
 
835
    with_cxx := no
 
836
    with_cdev := no
 
837
    with_cxxdev := no
 
838
    with_fortran := no
 
839
    with_proto := no
 
840
    with_fixincl := no
 
841
    with_d := no
 
842
    # gpc doesn't support mudflap
 
843
    with_mudflap := no
 
844
    with_libmudflap := no
 
845
    with_libffi := no
 
846
    with_libssp := no
 
847
    with_objc := no
 
848
    with_libobjc := no
 
849
    with_objcxx := no
 
850
    with_ada := no
 
851
    with_libgnat := no
 
852
    with_java := no
 
853
    with_gcj := no
 
854
    with_libgcj := no
 
855
    with_treelang := no
 
856
    with_hppa64 := no
 
857
    with_libnof := no
 
858
    with_debug := no
 
859
    with_gccbase := no
 
860
    with_fastjar := no
 
861
  endif
 
862
endif
 
863
 
816
864
debian_extra_langs := $(subst obj-c++,objcp,$(debian_extra_langs))
817
865
export debian_extra_langs
818
866
 
833
881
                         $(filter $(DEB_TARGET_GNU_CPU)=%,$(biarch_map)))
834
882
 
835
883
biarch_archs := /i386/powerpc/sparc/s390/
 
884
 
836
885
ifneq (yes,$(call envfilt, biarch, , ,yes))
837
886
  biarch_archs :=
838
887
endif
 
888
 
 
889
biarch_buildd := yes
 
890
# the Ubuntu i386 buildds are i386 only
 
891
ifeq ($(PKGSOURCE)-$(distribution),gcc-snapshot-Ubuntu)
 
892
  ifneq (,$(wildcard /CurrentlyBuilding))
 
893
    biarch_buildd := no
 
894
  endif
 
895
endif
 
896
 
 
897
ifneq ($(biarch_buildd),no)
839
898
ifneq (,$(findstring /$(DEB_TARGET_ARCH)/,$(biarch_archs)))
840
899
  biarch := yes
841
900
  biarchsubdir = $(biarch_cpu)-$(DEB_TARGET_GNU_SYSTEM)
884
943
  export TARGET32_MACHINE
885
944
  export TARGET64_MACHINE
886
945
endif
 
946
endif
887
947
 
888
948
biarch32_archs := /amd64/ppc64/kfreebsd-amd64/
889
949
ifneq (yes,$(call envfilt, biarch, , ,yes))