diff options
| author | cvs2svn <cvs2svn@FreeBSD.org> | 2002-04-06 23:16:27 +0000 |
|---|---|---|
| committer | cvs2svn <cvs2svn@FreeBSD.org> | 2002-04-06 23:16:27 +0000 |
| commit | 4e6aeb72b4312c4c9bfb14910ff904403a004d40 (patch) | |
| tree | 2bc69c79a05820afc5774b7baabe08dc2a53051c /gnu | |
| parent | 5d8d0d50cad1643b2a9f6cb88d609d8b7d7eb3e1 (diff) | |
Notes
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/usr.bin/cc/Makefile.fe | 1 | ||||
| -rw-r--r-- | gnu/usr.bin/cc/Makefile.tgt | 1 | ||||
| -rw-r--r-- | gnu/usr.bin/cc/collect2/Makefile | 30 | ||||
| -rw-r--r-- | gnu/usr.bin/cc/protoize/Makefile | 7 |
4 files changed, 39 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/Makefile.fe b/gnu/usr.bin/cc/Makefile.fe new file mode 100644 index 000000000000..e8c0da7a1d7e --- /dev/null +++ b/gnu/usr.bin/cc/Makefile.fe @@ -0,0 +1 @@ +# $FreeBSD$ diff --git a/gnu/usr.bin/cc/Makefile.tgt b/gnu/usr.bin/cc/Makefile.tgt new file mode 100644 index 000000000000..e8c0da7a1d7e --- /dev/null +++ b/gnu/usr.bin/cc/Makefile.tgt @@ -0,0 +1 @@ +# $FreeBSD$ diff --git a/gnu/usr.bin/cc/collect2/Makefile b/gnu/usr.bin/cc/collect2/Makefile new file mode 100644 index 000000000000..8b285161736c --- /dev/null +++ b/gnu/usr.bin/cc/collect2/Makefile @@ -0,0 +1,30 @@ +# $FreeBSD$ + +.include "../Makefile.inc" + +.PATH: ${GCCDIR} + +PROG= collect2 +SRCS= collect2.c cplus-dem.c tlink.c underscore.c +BINDIR= /usr/libexec +NOMAN= +NOSHARED?=yes + +DPADD+= ${LIBCC_INT} +LDADD+= ${LIBCC_INT} + +CLEANFILES= tmp-dum.c tmp-dum.s underscore.c +underscore.c: Makefile + echo "int xxy_us_dummy;" >tmp-dum.c + ${CC} -S tmp-dum.c + echo '/*WARNING: This file is automatically generated!*/' >underscore.c + if grep _xxy_us_dummy tmp-dum.s > /dev/null ; then \ + echo "int prepends_underscore = 1;" >>underscore.c; \ + else \ + echo "int prepends_underscore = 0;" >>underscore.c; \ + fi + # wrong to do this here, but easiest way out to duplicate gcc.c. + echo "char *xstrerror(int e) { return strerror(e); }" >>underscore.c + rm -f tmp-dum.c tmp-dum.s + +.include <bsd.prog.mk> diff --git a/gnu/usr.bin/cc/protoize/Makefile b/gnu/usr.bin/cc/protoize/Makefile new file mode 100644 index 000000000000..08f29efefb2f --- /dev/null +++ b/gnu/usr.bin/cc/protoize/Makefile @@ -0,0 +1,7 @@ +# $FreeBSD$ + +.include "../Makefile.inc" + +.PATH: ${GCCDIR} + +.include <bsd.prog.mk> |
