Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / mit / xorg / bin / proxymngr / Makefile
blob0606ef8bc4f49b860b32928bd409e64bbc3fa95f
1 # $NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg 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\" \
11 -DXVENDORNAMESHORT=${XVENDORNAMESHORT} \
12 -DXVENDORNAME=${XVENDORNAME} \
13 -DXORG_RELEASE=${XORG_RELEASE}
16 X11EXTRAMANDEFS+= -e 's,PROXYMANAGERDIR,${PROXYMANAGERDIR},g'
18 CPPSCRIPTS= pmconfig
19 CPPSCRIPTFLAGS= -DLBXPROXY=${X11BINDIR}/lbxproxy
20 CONFIGFILES= pmconfig
21 FILESDIR= ${PROXYMANAGERDIR}
23 LDADD+= -lXt -lSM -lICE -lXext -lX11
24 DPADD+= ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11}
26 .PATH: ${X11SRCDIR.${PROG}}
28 .include <bsd.x11.mk>
29 .include <bsd.prog.mk>