Home | History | Annotate | Line # | Download | only in make
Makefile revision 1.24
      1  1.24       sjg #	$NetBSD: Makefile,v 1.24 2001/06/09 05:17:51 sjg Exp $
      2   1.8  christos #	@(#)Makefile	5.2 (Berkeley) 12/28/90
      3   1.1       cgd 
      4  1.18     lukem CPPFLAGS+= -I${.CURDIR}
      5   1.1       cgd PROG=	make
      6   1.4       cgd SRCS=	arch.c buf.c compat.c cond.c dir.c for.c hash.c job.c main.c \
      7  1.22  sommerfe 	make.c parse.c str.c suff.c targ.c trace.c var.c util.c 
      8   1.1       cgd SRCS+=	lstAppend.c lstAtEnd.c lstAtFront.c lstClose.c lstConcat.c \
      9   1.1       cgd 	lstDatum.c lstDeQueue.c lstDestroy.c lstDupl.c lstEnQueue.c \
     10   1.1       cgd 	lstFind.c lstFindFrom.c lstFirst.c lstForEach.c lstForEachFrom.c \
     11   1.1       cgd 	lstInit.c lstInsert.c lstIsAtEnd.c lstIsEmpty.c lstLast.c \
     12   1.1       cgd 	lstMember.c lstNext.c lstOpen.c lstRemove.c lstReplace.c lstSucc.c
     13  1.14       gwr .PATH:	${.CURDIR}/lst.lib
     14  1.21        is WFORMAT= 1
     15   1.6       cgd .if make(install)
     16  1.16   mycroft SUBDIR=	PSD.doc
     17   1.5       cgd .endif
     18   1.1       cgd 
     19   1.1       cgd .include <bsd.prog.mk>
     20  1.16   mycroft .include <bsd.subdir.mk>
     21  1.24       sjg 
     22  1.24       sjg # provide a clue as to what we are using
     23  1.24       sjg BUILD_DATE!= date +%Y%m%d
     24  1.24       sjg MAKE_VERSION:= netbsd-${BUILD_DATE}
     25  1.24       sjg CPPFLAGS_main.o:= "-DMAKE_VERSION=\"${MAKE_VERSION}\""
     26  1.24       sjg CPPFLAGS+= ${CPPFLAGS_${.TARGET}}
     27  1.24       sjg main.o:	${SRCS} ${MAKEFILE}
     28