~ubuntu-branches/debian/sid/gcc-4.8/sid

« back to all changes in this revision

Viewing changes to .svn/pristine/b3/b3e2139187756afc668bc923e800fa1bb109d71d.svn-base

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-12-19 19:48:34 UTC
  • Revision ID: package-import@ubuntu.com-20141219194834-4dz1q7rrn5pad823
Tags: 4.8.4-1
* GCC 4.8.4 release.
  - Fix PR target/61407 (darwin), PR middle-end/58624 (ice),
    PR sanitizer/64265 (wrong code).
* Require recent binutils to pass go test failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /usr/bin/make -f
 
2
# -*- makefile -*-
 
3
# Build rules for gcc (>= 2.95) and gcc-snapshot
 
4
# Targets found in this makefile:
 
5
#       - unpack tarballs
 
6
#       - patch sources
 
7
#       - (re)create the control file
 
8
#       - create a debian/rules.parameters file, which is included
 
9
#         by debian/rules2
 
10
# All other targets are passed to the debian/rules2 file
 
11
 
 
12
# Uncomment this to turn on verbose mode.
 
13
#export DH_VERBOSE=1
 
14
 
 
15
unexport LANG LC_ALL LC_CTYPE LC_COLLATE LC_TIME LC_NUMERIC LC_MESSAGES
 
16
 
 
17
default: build
 
18
 
 
19
include debian/rules.defs
 
20
include debian/rules.unpack
 
21
include debian/rules.patch
 
22
 
 
23
control: $(control_dependencies)
 
24
        -mkdir -p $(stampdir)
 
25
        $(MAKE) -f debian/rules.conf $@
 
26
 
 
27
configure: $(configure_dependencies)
 
28
$(configure_stamp): control $(unpack_stamp) $(patch_stamp)
 
29
        $(MAKE) -f debian/rules2 $@
 
30
$(configure_dummy_stamp): control
 
31
        $(MAKE) -f debian/rules2 $@
 
32
$(configure_hppa64_stamp): $(build_stamp)
 
33
        $(MAKE) -f debian/rules2 $@
 
34
$(configure_neon_stamp): $(build_stamp)
 
35
        $(MAKE) -f debian/rules2 $@
 
36
 
 
37
pre-build:
 
38
#ifneq (,$(filter $(distrelease),squeeze sid))
 
39
#ifeq (,$(filter $(DEB_TARGET_ARCH),amd64 i386))
 
40
#       @echo explicitely fail the build for $(DEB_TARGET_ARCH)
 
41
#       @echo no bug report required. please ask the port maintainers if they support gcc-4.5.
 
42
#       false
 
43
#endif
 
44
#endif
 
45
 
 
46
build: pre-build $(build_dependencies)
 
47
build-arch: build
 
48
build-indep: build
 
49
$(build_stamp): $(unpack_stamp) $(patch_stamp) $(configure_stamp)
 
50
        $(MAKE) -f debian/rules2 $@
 
51
$(build_dummy_stamp): $(configure_dummy_stamp)
 
52
        $(MAKE) -f debian/rules2 $@
 
53
$(build_javadoc_stamp): $(build_stamp)
 
54
        $(MAKE) -f debian/rules2 $@
 
55
$(build_hppa64_stamp): $(configure_hppa64_stamp)
 
56
        $(MAKE) -f debian/rules2 $@
 
57
$(build_neon_stamp): $(configure_neon_stamp)
 
58
        $(MAKE) -f debian/rules2 $@
 
59
 
 
60
check: $(check_stamp)
 
61
$(check_stamp): $(build_stamp)
 
62
        $(MAKE) -f debian/rules2 $@
 
63
 
 
64
clean:
 
65
        rm -rf $(stampdir)
 
66
# remove temporary dirs used for unpacking
 
67
        rm -rf $(gcc_srcdir) $(gdc_srcdir)
 
68
        -$(MAKE) -f debian/rules2 $@
 
69
        rm -rf $(srcdir)* $(builddir)* debian/tmp* html
 
70
        rm -f bootstrap-* first-move-stamp
 
71
        rm -f autotools_files
 
72
        rm -f debian/*.tmp
 
73
        rm -f debian/soname-cache
 
74
        find debian -name '.#*' | xargs -r rm -f
 
75
        rm -f $(series_file)*
 
76
        dh_clean
 
77
 
 
78
install: $(install_dependencies)
 
79
$(install_stamp): $(build_stamp)
 
80
        $(MAKE) -f debian/rules2 $@
 
81
$(install_snap_stamp): $(build_stamp)
 
82
        $(MAKE) -f debian/rules2 $@
 
83
$(install_dummy_stamp): $(build_dummy_stamp)
 
84
        $(MAKE) -f debian/rules2 $@
 
85
$(install_hppa64_stamp): $(build_hppa64_stamp)
 
86
        $(MAKE) -f debian/rules2 $@
 
87
$(install_neon_stamp): $(build_neon_stamp)
 
88
        $(MAKE) -f debian/rules2 $@
 
89
 
 
90
html-docs doxygen-docs update-doxygen-docs update-ada-files xxx:
 
91
        $(MAKE) -f debian/rules2 $@
 
92
 
 
93
binary-indep binary-arch binary: install
 
94
        $(MAKE) -f debian/rules2 $@
 
95
 
 
96
source diff:
 
97
        @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
 
98
 
 
99
release:
 
100
        foo=$(shell basename $(CURDIR)); \
 
101
                if [ "$$foo" != "gcc-3.4" ]; then \
 
102
                        find -name CVS -o -name .cvsignore -o -name '.#*' | \
 
103
                                xargs rm -rf; \
 
104
                fi
 
105
 
 
106
.PHONY: build clean binary-indep binary-arch binary release