File: rules-gfdlstuff.mk

package info (click to toggle)
gcc-avr 1%3A5.4.0%2BAtmel3.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 589,872 kB
  • sloc: ansic: 2,775,581; ada: 756,757; cpp: 723,977; f90: 117,673; asm: 66,898; makefile: 62,755; xml: 44,466; sh: 29,549; exp: 23,315; objc: 15,216; fortran: 10,901; pascal: 4,185; python: 4,093; perl: 2,969; awk: 2,811; ml: 2,385; cs: 879; yacc: 316; lex: 198; haskell: 112; lisp: 8
file content (113 lines) | stat: -rw-r--r-- 2,894 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# -*- makefile -*-
# uses information taken from the gcc-4.1 package

gfdl_texinfo_files = \
        gcc/doc/bugreport.texi \
        gcc/doc/cfg.texi \
        gcc/doc/collect2.texi \
        gcc/doc/compat.texi \
        gcc/doc/configfiles.texi \
        gcc/doc/configterms.texi \
        gcc/doc/contrib.texi \
        gcc/doc/contribute.texi \
        gcc/doc/cppenv.texi \
        gcc/doc/cppinternals.texi \
        gcc/doc/cppopts.texi \
        gcc/doc/cpp.texi \
        gcc/doc/c-tree.texi \
        gcc/doc/extend.texi \
        gcc/doc/fragments.texi \
        gcc/doc/frontends.texi \
        gcc/doc/gccint.texi \
        gcc/doc/gcc.texi \
        gcc/doc/gcov.texi \
        gcc/doc/gnu.texi \
        gcc/doc/gty.texi \
        gcc/doc/headerdirs.texi \
        gcc/doc/hostconfig.texi \
        gcc/doc/implement-c.texi \
        gcc/doc/install-old.texi \
        gcc/doc/install.texi \
        gcc/doc/interface.texi \
        gcc/doc/invoke.texi \
        gcc/doc/languages.texi \
        gcc/doc/libgcc.texi \
        gcc/doc/makefile.texi \
        gcc/doc/md.texi \
        gcc/doc/objc.texi \
        gcc/doc/options.texi \
        gcc/doc/passes.texi \
        gcc/doc/portability.texi \
        gcc/doc/rtl.texi \
        gcc/doc/service.texi \
        gcc/doc/sourcebuild.texi \
        gcc/doc/standards.texi \
        gcc/doc/tm.texi \
        gcc/doc/tree-ssa.texi \
        gcc/doc/trouble.texi \
        gcc/doc/include/gcc-common.texi \
        gcc/doc/include/funding.texi \
        libstdc++-v3/docs/html/17_intro/porting.texi \

gfdl_toplevel_texinfo_files = \
        gcc/doc/gcc.texi \
        gcc/treelang/treelang.texi \

gfdl_manpages = \
        gcc/doc/cpp.1 \
        gcc/doc/g++.1 \
        gcc/doc/gcc.1 \
        gcc/doc/gcj.1 \
        gcc/doc/gcj-dbtool.1 \
        gcc/doc/gcjh.1 \
        gcc/doc/gcov.1 \
        gcc/doc/gij.1 \
        gcc/doc/gjnih.1 \
        gcc/doc/grmic.1 \
        gcc/doc/grmiregistry.1 \
        gcc/doc/jcf-dump.1 \
        gcc/doc/jv-convert.1 \
        gcc/doc/jv-scan.1

unpackedpath=build-tree/gcc-4.1.0

repack-gfdl: repack-gfdl-core repack-gfdl-g++

# core
repack-gfdl-core: unpack-core remove-gfdl-core
	(cd core; tar -cjf ../gcc-core-4.1.0.tar.bz2 *)
	rm -rf core

core: unpack-core
unpack-core:
	mkdir core
	(cd core; tar -xjf ../gcc-core-4.1.0.tar.bz2)

remove-gfdl-core: core
	(cd core; $(remove-gfdl))
	rm -rf core/$(unpackedpath)/INSTALL


# g++
repack-gfdl-g++: unpack-g++ remove-gfdl-g++
	(cd g++; tar -cjf ../gcc-g++-4.1.0.tar.bz2 *)
	rm -rf g++

g++: unpack-g++
unpack-g++:
	mkdir g++
	(cd g++; tar -xjf ../gcc-g++-4.1.0.tar.bz2)

remove-gfdl-g++: g++
	(cd g++; $(remove-gfdl))
	rm -rf g++/$(unpackedpath)/INSTALL



define remove-gfdl 
	for file in $(gfdl_texinfo_files) $(gfdl_toplevel_texinfo_files) $(gfdl_manpages); do \
	   rm -f $(unpackedpath)/$$file; \
	done
endef

.PHONY: repack-gfdl