[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / usr.bin / gprof

Annotation of src/usr.bin/gprof/Makefile, Revision 1.11

1.11    ! jason       1: #      $OpenBSD: Makefile,v 1.10 2001/07/11 03:02:24 pvalchev Exp $
1.1       deraadt     2:
1.9       miod        3: TARGET_MACHINE_ARCH?=  ${MACHINE_ARCH}
                      4:
                      5: .if (${TARGET_MACHINE_ARCH} == "alpha") || \
                      6:     (${TARGET_MACHINE_ARCH} == "powerpc") || \
1.11    ! jason       7:     (${TARGET_MACHINE_ARCH} == "sparc64") || \
1.9       miod        8:     (${TARGET_MACHINE_ARCH} == "hppa")
1.3       deraadt     9: NOPROG=
                     10: .else
1.1       deraadt    11: PROG=  gprof
1.9       miod       12: SRCS=  gprof.c arcs.c dfn.c lookup.c machine.c hertz.c \
1.1       deraadt    13:        printgprof.c printlist.c
1.9       miod       14: CFLAGS+= -I${.CURDIR} -I.
1.3       deraadt    15: .endif
1.9       miod       16:
                     17: beforedepend:
                     18:        ln -sf ${.CURDIR}/${TARGET_MACHINE_ARCH}.h machine.h
                     19:        ln -sf ${.CURDIR}/${TARGET_MACHINE_ARCH}.c machine.c
1.1       deraadt    20:
                     21: beforeinstall:
1.5       millert    22:        ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
1.1       deraadt    23:            ${.CURDIR}/gprof.flat ${.CURDIR}/gprof.callg \
                     24:            ${DESTDIR}/usr/share/misc
                     25:
                     26: .if make(install)
                     27: SUBDIR+= PSD.doc
                     28: .endif
                     29:
                     30: .include <bsd.prog.mk>