30 lines
715 B
Makefile
30 lines
715 B
Makefile
|
# $NetBSD: Makefile,v 1.2 2008/10/14 23:37:19 cube Exp $
|
||
|
|
||
|
.include <bsd.own.mk>
|
||
|
|
||
|
PROG= proxymngr
|
||
|
SRCS= main.c pmdb.c config.c
|
||
|
|
||
|
PROXYMANAGERDIR= ${X11ETCDIR}/proxymngr
|
||
|
|
||
|
CPPFLAGS.main.c= -DCONFIG_FILE=\"${PROXYMANAGERDIR}/pmconfig\" \
|
||
|
-DXVENDORNAMESHORT=${XVENDORNAMESHORT} \
|
||
|
-DXVENDORNAME=${XVENDORNAME} \
|
||
|
-DXORG_RELEASE=${XORG_RELEASE}
|
||
|
|
||
|
|
||
|
X11EXTRAMANDEFS+= -e 's,PROXYMANAGERDIR,${PROXYMANAGERDIR},g'
|
||
|
|
||
|
CPPSCRIPTS= pmconfig
|
||
|
CPPSCRIPTFLAGS= -DLBXPROXY=${X11BINDIR}/lbxproxy
|
||
|
CONFIGFILES= pmconfig
|
||
|
FILESDIR= ${PROXYMANAGERDIR}
|
||
|
|
||
|
LDADD+= -lXt -lSM -lICE -lXext -lX11
|
||
|
DPADD+= ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11}
|
||
|
|
||
|
.PATH: ${X11SRCDIR.${PROG}}
|
||
|
|
||
|
.include <bsd.x11.mk>
|
||
|
.include <bsd.prog.mk>
|