xref: /openbsd/usr.bin/ctfconv/Makefile (revision 192095f7)
1
2PROG=		ctfconv
3SRCS=		ctfconv.c parse.c elf.c dw.c generate.c hash.c xmalloc.c \
4		pool.c
5
6CFLAGS+=	-W -Wall -Wstrict-prototypes -Wno-unused -Wunused-variable \
7		-Wno-unused-parameter
8
9CFLAGS+=	-DZLIB
10LDADD+=		-lz
11DPADD+=		${LIBZ}
12
13MAN=		ctfconv.1 ctfstrip.1
14
15afterinstall:
16	${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
17		${.CURDIR}/ctfstrip ${DESTDIR}${BINDIR}/ctfstrip
18
19.include <bsd.prog.mk>
20