Makefile revision 76012
1# @(#)Makefile 5.2 (Berkeley) 12/28/90 2# $FreeBSD: head/usr.bin/make/Makefile 76012 2001-04-26 04:40:57Z will $ 3 4PROG= make 5CFLAGS+=-I${.CURDIR} 6SRCS= arch.c buf.c compat.c cond.c dir.c for.c hash.c job.c main.c \ 7 make.c parse.c str.c suff.c targ.c var.c util.c 8SRCS+= lstAppend.c lstAtEnd.c lstAtFront.c lstClose.c lstConcat.c \ 9 lstDatum.c lstDeQueue.c lstDestroy.c lstDupl.c lstEnQueue.c \ 10 lstFind.c lstFindFrom.c lstFirst.c lstForEach.c lstForEachFrom.c \ 11 lstInit.c lstInsert.c lstIsAtEnd.c lstIsEmpty.c lstLast.c \ 12 lstMember.c lstNext.c lstOpen.c lstRemove.c lstReplace.c lstSucc.c 13.PATH: ${.CURDIR}/lst.lib 14 15# Set the shell which make(1) uses. Bourne is the default, but a decent 16# Korn shell works fine, and much faster. Using the C shell for this 17# will almost certainly break everything, but it's Unix tradition to 18# allow you to shoot yourself in the foot if you want to :-) 19 20MAKE_SHELL?= sh 21.if ${MAKE_SHELL} == "csh" 22CFLAGS+= -DDEFSHELL=0 23.elif ${MAKE_SHELL} == "sh" 24CFLAGS+= -DDEFSHELL=1 25.elif ${MAKE_SHELL} == "ksh" 26CFLAGS+= -DDEFSHELL=2 27.else 28.error "MAKE_SHELL must be set to one of \"csh\", \"sh\" or \"ksh\"." 29.endif 30 31.include <bsd.prog.mk> 32