Deleted Added
full compact
Makefile (58683) Makefile (84906)
1# $FreeBSD: head/gnu/usr.bin/binutils/strip/Makefile 58683 2000-03-27 18:02:04Z bde $
1# $FreeBSD: head/gnu/usr.bin/binutils/strip/Makefile 84906 2001-10-14 01:31:37Z obrien $
2
3.include "../Makefile.inc0"
4
5.PATH: ${SRCDIR}/binutils
6
2
3.include "../Makefile.inc0"
4
5.PATH: ${SRCDIR}/binutils
6
7PROG= strip
8SRCS= objcopy.c is-strip.c
9CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
10CFLAGS+= -I${SRCDIR}/binutils
11DPADD= ${RELTOP}/libbinutils/libbinutils.a
12DPADD+= ${RELTOP}/libbfd/libbfd.a
13DPADD+= ${RELTOP}/libiberty/libiberty.a
14LDADD= ${DPADD}
7PROG= strip
8SRCS= objcopy.c is-strip.c
9CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
10CFLAGS+= -I${SRCDIR}/binutils
11DPADD= ${RELTOP}/libbinutils/libbinutils.a
12DPADD+= ${RELTOP}/libbfd/libbfd.a
13DPADD+= ${RELTOP}/libiberty/libiberty.a
14LDADD= ${DPADD}
15CLEANFILES+= maybe_stripped
16
17all: maybe_stripped
18
19maybe_stripped: strip
20 cp strip maybe_stripped
21.if defined(STRIP)
22.if ${STRIP:M-s} != ""
23 -strip maybe_stripped
24.endif
25.endif
26
27realinstall:
28 ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
29 maybe_stripped ${DESTDIR}${BINDIR}/strip
30
31.include <bsd.prog.mk>
15CLEANFILES+= maybe_stripped
16
17all: maybe_stripped
18
19maybe_stripped: strip
20 cp strip maybe_stripped
21.if defined(STRIP)
22.if ${STRIP:M-s} != ""
23 -strip maybe_stripped
24.endif
25.endif
26
27realinstall:
28 ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
29 maybe_stripped ${DESTDIR}${BINDIR}/strip
30
31.include <bsd.prog.mk>