Makefile revision 76801
1# @(#)Makefile 5.2 (Berkeley) 12/28/90 2# $FreeBSD: head/usr.bin/make/Makefile 76801 2001-05-18 09:05:56Z sobomax $ 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 15NOSHARED?= YES 16 17# Set the shell which make(1) uses. Bourne is the default, but a decent 18# Korn shell works fine, and much faster. Using the C shell for this 19# will almost certainly break everything, but it's Unix tradition to 20# allow you to shoot yourself in the foot if you want to :-) 21 22MAKE_SHELL?= sh 23.if ${MAKE_SHELL} == "csh" 24CFLAGS+= -DDEFSHELL=0 25.elif ${MAKE_SHELL} == "sh" 26CFLAGS+= -DDEFSHELL=1 27.elif ${MAKE_SHELL} == "ksh" 28CFLAGS+= -DDEFSHELL=2 29.else 30.error "MAKE_SHELL must be set to one of \"csh\", \"sh\" or \"ksh\"." 31.endif 32 33.include <bsd.prog.mk> 34