bbc31bf586
at several places in the Xenocara build in a central place instead of duplicating the checks all over the place. ok oga@.
27 lines
551 B
Makefile
27 lines
551 B
Makefile
# $OpenBSD: Makefile,v 1.9 2008/03/25 23:41:50 matthieu Exp $
|
|
.include <bsd.xconf.mk>
|
|
|
|
PROG= xsystrace
|
|
MAN= xsystrace.1
|
|
|
|
.ifmake install
|
|
SUBDIR= pixmaps
|
|
.endif
|
|
|
|
CPPFLAGS+= -I${X11BASE}/include
|
|
LDADD+= -L${X11BASE}/lib -lXaw -lXt -lSM -lICE -lXmu -lXpm -lX11 -lXext -lXau -lXdmcp
|
|
|
|
SRCS= main.c interface.c callbacks.c policy.c
|
|
|
|
afterinstall:
|
|
${INSTALL_DATA} \
|
|
${.CURDIR}/Xsystrace.ad ${DESTDIR}/etc/X11/app-defaults/Xsystrace
|
|
|
|
MANDIR= ${X11BASE}/man/cat
|
|
|
|
obj: _xenocara_obj
|
|
|
|
.include <bsd.prog.mk>
|
|
.include <bsd.xorg.mk>
|
|
.include <bsd.subdir.mk>
|