summaryrefslogtreecommitdiff
path: root/usr.bin/ctfconv/Makefile
blob: 41aae50dcea134605d0058980d4eb41cf4d27feb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

PROG=		ctfconv
SRCS=		ctfconv.c parse.c elf.c dw.c generate.c hash.c xmalloc.c \
		pool.c

CFLAGS+=	-W -Wall -Wstrict-prototypes -Wno-unused -Wunused-variable \
		-Wno-unused-parameter

CFLAGS+=	-DZLIB
LDADD+=		-lz
DPADD+=		${LIBZ}

MAN=		ctfconv.1 ctfstrip.1

afterinstall:
	${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
		${.CURDIR}/ctfstrip ${DESTDIR}${BINDIR}/ctfstrip

.include <bsd.prog.mk>