summaryrefslogtreecommitdiffstats
path: root/build
blob: cd221a7074158d08ba2d76460eed9492dcf04e6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /usr/bin/make -f

PKGS = gcc g++ cpp

$(PKGS): gcc-defaults.buildstamp

.SILENT: gcc-defaults.buildstamp
gcc-defaults.buildstamp:
	mkdir -p dest/usr/bin dest/usr/share/man/man1
	cp src/c89/c89.sh dest/usr/bin/c89
	cp src/c99/c99.sh dest/usr/bin/c99
	cp src/c89/c89.1 dest/usr/share/man/man1/c89.1
	cp src/c99/c99.1 dest/usr/share/man/man1/c99.1
	ln -s gcc-4.6 dest/usr/bin/gcc
	oh-installfiles $(PKGS)
	oh-installdocs cpp
	oh-gencontrol $(PKGS)
	oh-buildopk $(PKGS)
	touch $@