77ac7d8efa
XX There ought to be a better way to do that
25 lines
540 B
Makefile
25 lines
540 B
Makefile
# $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>
|