1# $NetBSD: Makefile,v 1.4 2010/11/21 02:33:42 mrg Exp $ 2 3.include <bsd.own.mk> 4 5PROG= xman 6SRCS= ScrollByL.c handler.c man.c buttons.c help.c \ 7 search.c globals.c main.c misc.c tkfuncs.c vendor.c 8 9CPPFLAGS+=${X11FLAGS.VERSION} 10CPPFLAGS+=-DHELPFILE=\"${X11LIBDIR}/xman.help\" 11CPPFLAGS+=-DMANCONFIGSTYLE_OpenBSD -DMANCONF=\"/etc/man.conf\" 12CPPFLAGS+=-DHAVE_CONFIG_H -I${X11SRCDIR.${PROG}}/../include 13 14APPDEFS=Xman 15 16FILES= xman.help 17FILESDIR=${X11LIBDIR} 18 19LDADD+= -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 20DPADD+= ${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \ 21 ${LIBXPM} ${LIBXEXT} ${LIBX11} 22 23.PATH: ${X11SRCDIR.${PROG}} ${X11SRCDIR.${PROG}}/app-defaults ${X11SRCDIR.${PROG}}/man 24 25.include <bsd.x11.mk> 26.include <bsd.prog.mk> 27