Last change
on this file since 9 was 9, checked in by bird, 22 years ago |
Initial revision
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.3 KB
|
Line | |
---|
1 | # @(#)Makefile 5.2 (Berkeley) 12/28/90
|
---|
2 | # $Id: Makefile 9 2002-10-15 21:10:03Z bird $
|
---|
3 | # $FreeBSD: src/usr.bin/make/Makefile,v 1.29 2002/10/10 19:27:48 jmallett Exp $
|
---|
4 |
|
---|
5 | PROG= make
|
---|
6 | CFLAGS+=-I${.CURDIR}
|
---|
7 | SRCS= arch.c buf.c compat.c cond.c dir.c for.c hash.c job.c main.c \
|
---|
8 | make.c parse.c str.c suff.c targ.c util.c var.c
|
---|
9 | SRCS+= lstAppend.c lstAtEnd.c lstAtFront.c lstClose.c lstConcat.c \
|
---|
10 | lstDatum.c lstDeQueue.c lstDestroy.c lstDupl.c lstEnQueue.c \
|
---|
11 | lstFind.c lstFindFrom.c lstFirst.c lstForEach.c lstForEachFrom.c \
|
---|
12 | lstInit.c lstInsert.c lstIsAtEnd.c lstIsEmpty.c lstLast.c \
|
---|
13 | lstMember.c lstNext.c lstOpen.c lstRemove.c lstReplace.c lstSucc.c
|
---|
14 | .PATH: ${.CURDIR}/lst.lib
|
---|
15 |
|
---|
16 | NOSHARED?= YES
|
---|
17 |
|
---|
18 | CFLAGS+=-DMAKE_VERSION=\"5200209170\"
|
---|
19 | .if defined(_UPGRADING)
|
---|
20 | CFLAGS+=-D__FBSDID=__RCSID
|
---|
21 | .endif
|
---|
22 |
|
---|
23 | # XXX: kernel currently broken
|
---|
24 | # CFLAGS+=-DUSE_KQUEUE
|
---|
25 |
|
---|
26 | main.o: ${MAKEFILE}
|
---|
27 |
|
---|
28 | # Set the shell which make(1) uses. Bourne is the default, but a decent
|
---|
29 | # Korn shell works fine, and much faster. Using the C shell for this
|
---|
30 | # will almost certainly break everything, but it's Unix tradition to
|
---|
31 | # allow you to shoot yourself in the foot if you want to :-)
|
---|
32 |
|
---|
33 | MAKE_SHELL?= sh
|
---|
34 | .if ${MAKE_SHELL} == "csh"
|
---|
35 | CFLAGS+= -DDEFSHELL=0
|
---|
36 | .elif ${MAKE_SHELL} == "sh"
|
---|
37 | CFLAGS+= -DDEFSHELL=1
|
---|
38 | .elif ${MAKE_SHELL} == "ksh"
|
---|
39 | CFLAGS+= -DDEFSHELL=2
|
---|
40 | .else
|
---|
41 | .error "MAKE_SHELL must be set to one of \"csh\", \"sh\" or \"ksh\"."
|
---|
42 | .endif
|
---|
43 |
|
---|
44 | .include <bsd.prog.mk>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.