minix/external/mit/xorg/bin/xedit/xedit/Makefile
Lionel Sambuc 971bb1a587 Importing external/mit/xorg support rules
Change-Id: Ib11d8659485a444797bf3a2118182a1d4e316b50
2014-11-10 14:43:29 +01:00

28 lines
697 B
Makefile

# $NetBSD: Makefile,v 1.4 2013/05/31 06:24:05 mrg Exp $
.include <bsd.own.mk>
PROG= xedit
SRCS= xedit.c commands.c util.c ispell.c options.c hook.c lisp.c \
tags.c hash.c
CPPFLAGS+= -I${X11SRCDIR.xedit}/lisp/re
APPDEFS= Xedit Xedit-color
.for _L in lisp mp re
LIB.${_L}!= cd ${.CURDIR}/../${_L} && ${PRINTOBJDIR}
DPADD+= ${LIB.${_L}}/lib${_L}.a
LDADD+= -L${LIB.${_L}} -l${_L}
.endfor
LDADD+= -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lm
DPADD+= ${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \
${LIBXPM} ${LIBXEXT} ${LIBX11} ${LIBM}
.PATH: ${X11SRCDIR.${PROG}} ${X11SRCDIR.${PROG}}/app-defaults
.PATH: ${X11SRCDIR.${PROG}}/man
.include <bsd.x11.mk>
.include <bsd.prog.mk>