1 # $NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $ 2 3 .include <bsd.own.mk> 4 5 LIB= Xcomposite 6 7 XCOMPOSITEDIR= ${X11SRCDIR.${LIB}} 8 .PATH: ${XCOMPOSITEDIR}/src 9 .PATH: ${XCOMPOSITEDIR}/include/X11/extensions 10 SRCS= Xcomposite.c 11 12 INCS= Xcomposite.h 13 INCSDIR=${X11INCDIR}/X11/extensions 14 15 .if 0 16 FILES= xcomposite.pc 17 FILESDIR_xcomposite.pc= ${X11USRLIBDIR}/pkgconfig 18 19 CLEANFILES+= ${FILES} 20 realall: ${FILES} 21 22 XCURSORDIR= ${X11SRCDIR.xc}/lib/Xcursor 23 CONFIG_SUBST= ${HOST_SH} ${XCURSORDIR}/config-subst \ 24 prefix="${X11ROOTDIR}" \ 25 exec_prefix="${X11BINDIR}" \ 26 libdir="${X11USRLIBDIR}" \ 27 includedir="${X11INCDIR}" \ 28 hardcode_libdir_flag_spec="-Wl,-rpath,${X11USRLIBDIR}" \ 29 X_LIBS="${X11USRLIBDIR} -lX11" \ 30 C_FLAGS="${X11INCDIR} ${X11FLAGS.THREADLIB}" \ 31 VERSION="1.0.0" 32 33 xcomposite.pc: 34 ${CONFIG_SUBST} < ${XCOMPOSITEDIR}/xcomposite.pc.in > ${.TARGET} 35 .endif 36 37 .include <bsd.x11.mk> 38 .include <bsd.lib.mk> 39