summaryrefslogtreecommitdiff
path: root/app/xsystrace/Makefile
blob: 1eb4ae2e05a1e43cc0e9ee061ace00e775058602 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $OpenBSD: Makefile,v 1.4 2006/11/27 20:39:39 matthieu Exp $

PROG=	xsystrace
MAN=	xsystrace.1

.ifmake install
SUBDIR=		pixmaps
.endif

CPPFLAGS+=	-I${X11BASE}/include
LDADD+=		-L${X11BASE}/lib -lXaw -lXt -lXmu -lX11 -lXext

SRCS=		main.c interface.c callbacks.c policy.c

beforeinstall:
	${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
		${.CURDIR}/Xsystrace.ad ${PREFIX}/${LIBDIR}/X11/app-defaults/Xsystrace

X11BASE?= /usr/X11R6
MANDIR=	${X11BASE}/man/cat

.include <bsd.prog.mk>
.include <bsd.xorg.mk>
.include <bsd.subdir.mk>