NetBSD/usr.bin/make/Makefile

30 lines
980 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.28 2003/07/26 16:04:29 mrg Exp $
# @(#)Makefile 5.2 (Berkeley) 12/28/90
1993-03-21 12:45:37 +03:00
1997-10-24 13:00:17 +04:00
CPPFLAGS+= -I${.CURDIR}
1993-03-21 12:45:37 +03:00
PROG= make
SRCS= arch.c buf.c compat.c cond.c dir.c for.c hash.c job.c main.c \
make.c parse.c str.c suff.c targ.c trace.c var.c util.c
1993-03-21 12:45:37 +03:00
SRCS+= lstAppend.c lstAtEnd.c lstAtFront.c lstClose.c lstConcat.c \
lstDatum.c lstDeQueue.c lstDestroy.c lstDupl.c lstEnQueue.c \
lstFind.c lstFindFrom.c lstFirst.c lstForEach.c lstForEachFrom.c \
lstInit.c lstInsert.c lstIsAtEnd.c lstIsEmpty.c lstLast.c \
lstMember.c lstNext.c lstOpen.c lstRemove.c lstReplace.c lstSucc.c
.PATH: ${.CURDIR}/lst.lib
2003-07-14 22:19:11 +04:00
WARNS=3
WFORMAT= 1
1994-06-30 09:33:30 +04:00
.if make(install)
1997-10-11 13:34:07 +04:00
SUBDIR= PSD.doc
.endif
1993-03-21 12:45:37 +03:00
.include <bsd.prog.mk>
1997-10-11 13:34:07 +04:00
.include <bsd.subdir.mk>
2001-06-09 09:17:51 +04:00
# provide a clue as to what we are using
BUILD_DATE!= date +%Y%m%d
MAKE_VERSION:= netbsd-${BUILD_DATE}
CPPFLAGS_main.o:= "-DMAKE_VERSION=\"${MAKE_VERSION}\""
CPPFLAGS+= ${CPPFLAGS_${.TARGET}}
main.o: ${OBJS:Nmain.o} ${MAKEFILE}
COPTS.var.c+= -Wno-cast-qual