Makefile revision 102393
118730Ssteve# @(#)Makefile 5.2 (Berkeley) 12/28/90 294589Sobrien# $Id: Makefile,v 1.6 1994/06/30 05:33:39 cgd Exp $ 350477Speter# $FreeBSD: head/usr.bin/make/Makefile 102393 2002-08-25 02:45:04Z jmallett $ 41590Srgrimes 51590SrgrimesPROG= make 676012SwillCFLAGS+=-I${.CURDIR} 71590SrgrimesSRCS= arch.c buf.c compat.c cond.c dir.c for.c hash.c job.c main.c \ 893056Simp make.c parse.c str.c suff.c targ.c var.c 91590SrgrimesSRCS+= lstAppend.c lstAtEnd.c lstAtFront.c lstClose.c lstConcat.c \ 101590Srgrimes lstDatum.c lstDeQueue.c lstDestroy.c lstDupl.c lstEnQueue.c \ 111590Srgrimes lstFind.c lstFindFrom.c lstFirst.c lstForEach.c lstForEachFrom.c \ 121590Srgrimes lstInit.c lstInsert.c lstIsAtEnd.c lstIsEmpty.c lstLast.c \ 131590Srgrimes lstMember.c lstNext.c lstOpen.c lstRemove.c lstReplace.c lstSucc.c 141590Srgrimes.PATH: ${.CURDIR}/lst.lib 151590Srgrimes 1676801SsobomaxNOSHARED?= YES 1776801Ssobomax 18102393SjmallettCFLAGS+=-DMAKE_VERSION=\"5200208240\" 1997121Sru 2097121Srumain.o: ${MAKEFILE} 2197121Sru 2264739Sgreen# Set the shell which make(1) uses. Bourne is the default, but a decent 2364739Sgreen# Korn shell works fine, and much faster. Using the C shell for this 2464739Sgreen# will almost certainly break everything, but it's Unix tradition to 2564739Sgreen# allow you to shoot yourself in the foot if you want to :-) 2664739Sgreen 2764739SgreenMAKE_SHELL?= sh 2864739Sgreen.if ${MAKE_SHELL} == "csh" 2964739SgreenCFLAGS+= -DDEFSHELL=0 3064739Sgreen.elif ${MAKE_SHELL} == "sh" 3164739SgreenCFLAGS+= -DDEFSHELL=1 3264739Sgreen.elif ${MAKE_SHELL} == "ksh" 3364739SgreenCFLAGS+= -DDEFSHELL=2 3464739Sgreen.else 3564739Sgreen.error "MAKE_SHELL must be set to one of \"csh\", \"sh\" or \"ksh\"." 3664739Sgreen.endif 3764739Sgreen 381590Srgrimes.include <bsd.prog.mk> 39