diff options
author | jb <jb@FreeBSD.org> | 1998-01-11 04:13:25 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-01-11 04:13:25 +0000 |
commit | 936e6bae2f8ddbc14d5ba39d3d549c18093626fa (patch) | |
tree | ece057bff5e7e81fb61a35ffbbbc043ddd3052ad | |
parent | 309ec7a4ef6918ce873c9faaf794717fe858b3ce (diff) | |
download | FreeBSD-src-936e6bae2f8ddbc14d5ba39d3d549c18093626fa.zip FreeBSD-src-936e6bae2f8ddbc14d5ba39d3d549c18093626fa.tar.gz |
More i386 -> ${MACHINE} changes to make this Makefile machine
independent. It makes it look like you can get aout on alpha, but
that's just your imagination. The makefile above gives you no choice.
-rw-r--r-- | gnu/usr.bin/cc/cc_tools/Makefile | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile index 93d9038..6fd2add 100644 --- a/gnu/usr.bin/cc/cc_tools/Makefile +++ b/gnu/usr.bin/cc/cc_tools/Makefile @@ -1,5 +1,5 @@ # -# $Id: Makefile,v 1.3 1997/02/22 15:44:58 peter Exp $ +# $Id: Makefile,v 1.4 1997/10/05 09:39:07 jkh Exp $ # # @@ -131,24 +131,24 @@ beforedepend: ${BINFORMAT} aout: @rm -f elf - echo '#include "i386/freebsd.h"' > tm.h - echo '#include "i386/xm-freebsd.h"' > config.h - echo '#include "i386/xm-freebsd.h"' > hconfig.h - echo '#include "i386/xm-freebsd.h"' > tconfig.h - echo '#include "cp/lang-options.h"' > options.h - echo '#include "cp/lang-specs.h"' > specs.h - echo '#include "f2c-specs.h"' >> specs.h + echo '#include "${MACHINE}/freebsd.h"' > tm.h + echo '#include "${MACHINE}/xm-freebsd.h"' > config.h + echo '#include "${MACHINE}/xm-freebsd.h"' > hconfig.h + echo '#include "${MACHINE}/xm-freebsd.h"' > tconfig.h + echo '#include "cp/lang-options.h"' > options.h + echo '#include "cp/lang-specs.h"' > specs.h + echo '#include "f2c-specs.h"' >> specs.h @touch aout elf: @rm -f aout - echo '#include "i386/freebsd-elf.h"' > tm.h - echo '#include "i386/xm-freebsd.h"' > config.h - echo '#include "i386/xm-freebsd.h"' > hconfig.h - echo '#include "i386/xm-freebsd.h"' > tconfig.h - echo '#include "cp/lang-options.h"' > options.h - echo '#include "cp/lang-specs.h"' > specs.h - echo '#include "f2c-specs.h"' >> specs.h + echo '#include "${MACHINE}/freebsd-elf.h"' > tm.h + echo '#include "${MACHINE}/xm-freebsd.h"' > config.h + echo '#include "${MACHINE}/xm-freebsd.h"' > hconfig.h + echo '#include "${MACHINE}/xm-freebsd.h"' > tconfig.h + echo '#include "cp/lang-options.h"' > options.h + echo '#include "cp/lang-specs.h"' > specs.h + echo '#include "f2c-specs.h"' >> specs.h @touch elf CLEANFILES+= config.h hconfig.h tconfig.h tm.h options.h specs.h elf aout |