Makefile (32423) | Makefile (32763) |
---|---|
1# | 1# |
2# $Id: Makefile,v 1.4 1997/10/05 09:39:07 jkh Exp $ | 2# $Id: Makefile,v 1.5 1998/01/11 04:13:25 jb Exp $ |
3# 4 5# 6# This could probably be merged with ../cc_int/Makefile, but bsd.lib.mk 7# is such a !@#!*#% nightmare because of how it reporgrams the dependencies, 8# suffix rules, SRCS, etc. It's easiest to cheat by using bsd.prog.mk and 9# SRCS to get dependencies. 10# --- 115 unchanged lines hidden (view full) --- 126 127beforedepend: ${BINFORMAT} 128 129#----------------------------------------------------------------------- 130# the host/target compiler config. 131 132aout: 133 @rm -f elf | 3# 4 5# 6# This could probably be merged with ../cc_int/Makefile, but bsd.lib.mk 7# is such a !@#!*#% nightmare because of how it reporgrams the dependencies, 8# suffix rules, SRCS, etc. It's easiest to cheat by using bsd.prog.mk and 9# SRCS to get dependencies. 10# --- 115 unchanged lines hidden (view full) --- 126 127beforedepend: ${BINFORMAT} 128 129#----------------------------------------------------------------------- 130# the host/target compiler config. 131 132aout: 133 @rm -f elf |
134 echo '#include "${MACHINE}/freebsd.h"' > tm.h 135 echo '#include "${MACHINE}/xm-freebsd.h"' > config.h 136 echo '#include "${MACHINE}/xm-freebsd.h"' > hconfig.h 137 echo '#include "${MACHINE}/xm-freebsd.h"' > tconfig.h 138 echo '#include "cp/lang-options.h"' > options.h 139 echo '#include "cp/lang-specs.h"' > specs.h 140 echo '#include "f2c-specs.h"' >> specs.h | 134 echo '#include "${MACHINE_ARCH}/freebsd.h"' > tm.h 135 echo '#include "${MACHINE_ARCH}/xm-freebsd.h"' > config.h 136 echo '#include "${MACHINE_ARCH}/xm-freebsd.h"' > hconfig.h 137 echo '#include "${MACHINE_ARCH}/xm-freebsd.h"' > tconfig.h 138 echo '#include "cp/lang-options.h"' > options.h 139 echo '#include "cp/lang-specs.h"' > specs.h 140 echo '#include "f2c-specs.h"' >> specs.h |
141 @touch aout 142 143elf: 144 @rm -f aout | 141 @touch aout 142 143elf: 144 @rm -f aout |
145 echo '#include "${MACHINE}/freebsd-elf.h"' > tm.h 146 echo '#include "${MACHINE}/xm-freebsd.h"' > config.h 147 echo '#include "${MACHINE}/xm-freebsd.h"' > hconfig.h 148 echo '#include "${MACHINE}/xm-freebsd.h"' > tconfig.h 149 echo '#include "cp/lang-options.h"' > options.h 150 echo '#include "cp/lang-specs.h"' > specs.h 151 echo '#include "f2c-specs.h"' >> specs.h | 145 echo '#include "${MACHINE_ARCH}/freebsd-elf.h"' > tm.h 146 echo '#include "${MACHINE_ARCH}/xm-freebsd.h"' > config.h 147 echo '#include "${MACHINE_ARCH}/xm-freebsd.h"' > hconfig.h 148 echo '#include "${MACHINE_ARCH}/xm-freebsd.h"' > tconfig.h 149 echo '#include "cp/lang-options.h"' > options.h 150 echo '#include "cp/lang-specs.h"' > specs.h 151 echo '#include "f2c-specs.h"' >> specs.h |
152 @touch elf 153 154CLEANFILES+= config.h hconfig.h tconfig.h tm.h options.h specs.h elf aout 155 156.include <bsd.prog.mk> | 152 @touch elf 153 154CLEANFILES+= config.h hconfig.h tconfig.h tm.h options.h specs.h elf aout 155 156.include <bsd.prog.mk> |