Makefile revision 75976
1204076Spjd# @(#)Makefile 5.2 (Berkeley) 12/28/90 2204076Spjd# $FreeBSD: head/usr.bin/make/Makefile 75976 2001-04-25 14:59:16Z ru $ 3219351Spjd 4204076SpjdPROG= make 5204076SpjdCFLAGS+=-Wall -I${.CURDIR} 6204076SpjdSRCS= arch.c buf.c compat.c cond.c dir.c for.c hash.c job.c main.c \ 7204076Spjd make.c parse.c str.c suff.c targ.c var.c util.c 8204076SpjdSRCS+= lstAppend.c lstAtEnd.c lstAtFront.c lstClose.c lstConcat.c \ 9204076Spjd lstDatum.c lstDeQueue.c lstDestroy.c lstDupl.c lstEnQueue.c \ 10204076Spjd lstFind.c lstFindFrom.c lstFirst.c lstForEach.c lstForEachFrom.c \ 11204076Spjd lstInit.c lstInsert.c lstIsAtEnd.c lstIsEmpty.c lstLast.c \ 12204076Spjd lstMember.c lstNext.c lstOpen.c lstRemove.c lstReplace.c lstSucc.c 13204076Spjd.PATH: ${.CURDIR}/lst.lib 14204076Spjd 15204076Spjd# Set the shell which make(1) uses. Bourne is the default, but a decent 16204076Spjd# Korn shell works fine, and much faster. Using the C shell for this 17204076Spjd# will almost certainly break everything, but it's Unix tradition to 18204076Spjd# allow you to shoot yourself in the foot if you want to :-) 19204076Spjd 20204076SpjdMAKE_SHELL?= sh 21204076Spjd.if ${MAKE_SHELL} == "csh" 22204076SpjdCFLAGS+= -DDEFSHELL=0 23204076Spjd.elif ${MAKE_SHELL} == "sh" 24204076SpjdCFLAGS+= -DDEFSHELL=1 25204076Spjd.elif ${MAKE_SHELL} == "ksh" 26204076SpjdCFLAGS+= -DDEFSHELL=2 27204076Spjd.else 28204076Spjd.error "MAKE_SHELL must be set to one of \"csh\", \"sh\" or \"ksh\"." 29204076Spjd.endif 30204076Spjd 31204076Spjd.include <bsd.prog.mk> 32204076Spjd