Remove unneeded references to sys/syslink.h. Get syslink_desc from
[dragonfly.git] / usr.bin / strip / Makefile
1 #       @(#)Makefile    8.1 (Berkeley) 6/6/93
2 # $FreeBSD: src/usr.bin/strip/Makefile,v 1.10.6.3 2002/08/07 16:32:01 ru Exp $
3 # $DragonFly: src/usr.bin/strip/Attic/Makefile,v 1.5 2005/01/01 00:22:33 cpressey Exp $
4
5 PROG=   strip
6 MAN=    strip.1aout
7 BINDIR= /usr/libexec/binutils212/aout
8 CLEANFILES += maybe_stripped
9 WARNS?= 6
10
11 all: maybe_stripped
12
13 maybe_stripped: strip
14         cp -p strip maybe_stripped
15 .if defined(STRIP)
16 .if ${STRIP:M-s} != ""
17         -strip maybe_stripped
18 .endif
19 .endif
20
21 realinstall:
22         ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
23             maybe_stripped ${DESTDIR}${BINDIR}/strip
24
25 .include <bsd.prog.mk>