NetBSD/x11/bin/xprop/Makefile
lukem 85672e8877 Don't rely upon -lXmuu's internal dependancy upon -lXt -lSM -lICE and
link these explicitly.  Why:
    -	on my main system i get intermittent link errors with ICE and Xt
    	missing various libc symbols with the implicit link of these libs
    -	it also works for static linking
2003-09-13 21:50:50 +00:00

19 lines
458 B
Makefile

# $NetBSD: Makefile,v 1.3 2003/09/13 21:50:53 lukem Exp $
.include <bsd.own.mk>
PROG= xprop
SRCS= xprop.c dsimple.c
CPPFLAGS+=-DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H
CPPFLAGS+=-I${X11SRCDIR.xc}/programs/xlsfonts
.PATH: ${X11SRCDIR.xc}/programs/xlsfonts
LDADD+= -lXmuu -lXt -lSM -lICE -lXext -lX11
DPADD+= ${LIBXMUU} ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11}
.PATH: ${X11SRCDIR.xc}/programs/${PROG}
.include <bsd.x11.mk>
.include <bsd.prog.mk>