NetBSD/x11/bin/xman/Makefile
lukem e214d537fb Rework to include <bsd.x11.mk> before all other <bsd.*.mk> _except_
<bsd.own.mk>, as we now set BINDIR,LIBDIR,MANDIR in <bsd.x11.mk>
rather than using a hierarchy of Makefile.inc files just to include
x11/Makefile.inc to get those variables.
2003-09-13 20:17:57 +00:00

26 lines
672 B
Makefile

# $NetBSD: Makefile,v 1.2 2003/09/13 20:18:32 lukem Exp $
.include <bsd.own.mk>
PROG= xman
SRCS= ScrollByL.c handler.c man.c buttons.c help.c \
search.c globals.c main.c misc.c tkfuncs.c vendor.c
CPPFLAGS+=${X11FLAGS.VERSION}
CPPFLAGS+=-DHAS_SNPRINTF -DHELPFILE=\"${X11LIBDIR}/xman.help\" -DHAS_MKSTEMP
CPPFLAGS+=-DHAS_GROFF -DMANCONFIGSTYLE_OpenBSD -DMANCONF=\"/etc/man.conf\"
APPDEFS=Xman.ad
FILES= xman.help
FILESDIR=${X11LIBDIR}
LDADD+= -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11
DPADD+= ${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \
${LIBXPM} ${LIBXEXT} ${LIBX11}
.PATH: ${X11SRCDIR.xc}/programs/${PROG}
.include <bsd.x11.mk>
.include <bsd.prog.mk>