NetBSD/x11/bin/xman/Makefile

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>