Return to Makefile.boot CVS log | Up to [local] / src / usr.bin / make |
File: [local] / src / usr.bin / make / Attic / Makefile.boot (download)
Revision 1.6, Sat Dec 5 00:06:26 1998 UTC (25 years, 5 months ago) by espie
Modifications from netbsd: - don't interfere with MACHINE/MACHINE_ARCH defines for bootstrap - type clean-up, time_t, and printing `unknown' ints - fix TARGET/MEMBER bug in archive rules - memmove... - cleaner Error handler. - reentrant brk_string - .MAKE env variable - preliminary scaffolding for .NOPATH Other improvements: - efree - shellneed streamlined - display Stop in .CURDIR after an error. - document most features and misfeatures. - add a few OpenBSD notes to the tutorial. |
# $OpenBSD: Makefile.boot,v 1.6 1998/12/05 00:06:26 espie Exp $ # # a very simple makefile... # # You only want to use this if you aren't running OpenBSD. # # modify MACHINE and MACHINE_ARCH as appropriate for your target architecture # .c.o: ${CC} ${CFLAGS} -c $< -o $@ MACHINE=sun MACHINE_ARCH=sparc CFLAGS= -I. -DTARGET_MACHINE=\"${MACHINE}\" -DTARGET_MACHINE_ARCH=\"${MACHINE_ARCH}\" \ -DMAKE_BOOTSTRAP LIBS= OBJ=arch.o buf.o compat.o cond.o dir.o for.o hash.o job.o main.o make.o \ parse.o str.o suff.o targ.o var.o util.o LIBOBJ= lst.lib/lstAppend.o lst.lib/lstAtEnd.o lst.lib/lstAtFront.o \ lst.lib/lstClose.o lst.lib/lstConcat.o lst.lib/lstDatum.o \ lst.lib/lstDeQueue.o lst.lib/lstDestroy.o lst.lib/lstDupl.o \ lst.lib/lstEnQueue.o lst.lib/lstFind.o lst.lib/lstFindFrom.o \ lst.lib/lstFirst.o lst.lib/lstForEach.o lst.lib/lstForEachFrom.o \ lst.lib/lstInit.o lst.lib/lstInsert.o lst.lib/lstIsAtEnd.o \ lst.lib/lstIsEmpty.o lst.lib/lstLast.o lst.lib/lstMember.o \ lst.lib/lstNext.o lst.lib/lstOpen.o lst.lib/lstRemove.o \ lst.lib/lstReplace.o lst.lib/lstSucc.o bmake: ${OBJ} ${LIBOBJ} # @echo 'make of make and make.0 started.' ${CC} ${CFLAGS} ${OBJ} ${LIBOBJ} -o bmake ${LIBS} @ls -l $@ # nroff -h -man make.1 > make.0 # @echo 'make of make and make.0 completed.' clean: rm -f ${OBJ} ${LIBOBJ} ${PORTOBJ} bmake