summaryrefslogtreecommitdiff
path: root/usr.bin/lorder/Makefile
blob: ab958f6bbeba791dcc013f529c0ea6a498d94c76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#	$OpenBSD: Makefile,v 1.6 1997/04/27 20:56:48 millert Exp $
#	$NetBSD: Makefile,v 1.9 1995/12/18 07:59:12 jonathan Exp $

MAN=	lorder.1

.if (${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "mips" \
	|| ${MACHINE_ARCH} == "powerpc" )
# alpha, mips use special version which works with GNU (or BSD) nm.
SCRIPT=	lorder.sh.gnm
.else
SCRIPT=	lorder.sh
.endif

realinstall:
	${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
	    ${.CURDIR}/${SCRIPT} ${DESTDIR}${BINDIR}/lorder

.include <bsd.prog.mk>