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