Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / x11 / bin / proxymngr / Makefile
blobc78e02487bc0b7b7c4b6ae6355f5ae83837871ca
1 # $NetBSD: Makefile,v 1.2 2003/09/13 20:18:08 lukem Exp $
3 .include <bsd.own.mk>
5 PROG= proxymngr
6 SRCS= main.c pmdb.c config.c
8 PROXYMANAGERDIR= ${X11ETCDIR}/proxymngr
10 CPPFLAGS.main.c= -DCONFIG_FILE=\"${PROXYMANAGERDIR}/pmconfig\"
12 X11EXTRAMANDEFS+= -DPROXYMANAGERDIR=${PROXYMANAGERDIR}
14 CPPSCRIPTS= pmconfig
15 CPPSCRIPTFLAGS= -DLBXPROXY=${X11BINDIR}/lbxproxy
16 CONFIGFILES= pmconfig
17 FILESDIR= ${PROXYMANAGERDIR}
19 INCS= PM.h PMproto.h
20 INCSDIR=${X11INCDIR}/X11/PM
22 LDADD+= -lXt -lSM -lICE -lXext -lX11
23 DPADD+= ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11}
25 .PATH: ${X11SRCDIR.xc}/programs/${PROG}
27 .include <bsd.x11.mk>
28 .include <bsd.prog.mk>