5e0e8cec39
* new bsd.own.mk variable OBJECT_FMT with values "a.out" or "ELF". * use OBJECT_FMT in Makefile tests that depend on toolchain. * Add new bsd.own.mk variable NOSHLIB that, if set indicates a given port doesnt yet do shared libraries. Set on powerpc. * Document new feature-test variables in src/share/mk/bsd.README. Tested on i386, mips, fakedup Alpha environment.
23 lines
493 B
Makefile
23 lines
493 B
Makefile
# $NetBSD: Makefile,v 1.23 1998/02/23 10:09:32 jonathan Exp $
|
|
# @(#)Makefile 8.1 (Berkeley) 6/29/93
|
|
|
|
.include <bsd.own.mk> # for OBJECT_FMT definition
|
|
|
|
.if (${OBJECT_FMT} == "a.out")
|
|
PROG= gprof
|
|
.endif
|
|
|
|
SRCS= gprof.c arcs.c dfn.c lookup.c ${MACHINE_ARCH}.c hertz.c \
|
|
printgprof.c printlist.c
|
|
CPPFLAGS+= -D${MACHINE_ARCH}
|
|
|
|
FILES= ${.CURDIR}/gprof.flat ${.CURDIR}/gprof.callg
|
|
FILESDIR=/usr/share/misc
|
|
|
|
.if make(install)
|
|
SUBDIR+=PSD.doc
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|
|
.include <bsd.subdir.mk>
|