Home | History | Annotate | Line # | Download | only in libXcursor
Makefile revision 1.2
      1  1.2  cube #	$NetBSD: Makefile,v 1.2 2008/09/13 04:32:30 cube Exp $
      2  1.1   mrg 
      3  1.1   mrg .include <bsd.own.mk>
      4  1.1   mrg 
      5  1.1   mrg LIB=	Xcursor
      6  1.1   mrg 
      7  1.1   mrg .PATH:	${X11SRCDIR.${LIB}}/src
      8  1.1   mrg .PATH:	${X11SRCDIR.${LIB}}/include/X11/Xcursor
      9  1.1   mrg .PATH:	${X11SRCDIR.${LIB}}/man
     10  1.1   mrg SRCS=	cursor.c display.c file.c library.c xlib.c
     11  1.1   mrg 
     12  1.1   mrg INCS=	Xcursor.h
     13  1.1   mrg INCSDIR=${X11INCDIR}/X11/Xcursor
     14  1.1   mrg 
     15  1.1   mrg MAN=	Xcursor.3
     16  1.1   mrg 
     17  1.1   mrg CPPFLAGS+=	${X11FLAGS.THREADLIB}
     18  1.1   mrg CPPFLAGS+=	-DICONDIR=\"${X11LIBDIR}/icons\"
     19  1.1   mrg CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/X11/Xcursor
     20  1.1   mrg CPPFLAGS+=	-I${X11SRCDIR.${LIB}}/../include
     21  1.1   mrg 
     22  1.1   mrg LIBDPLIBS=\
     23  1.1   mrg 	Xrender	${.CURDIR}/../libXrender \
     24  1.1   mrg 	Xext	${.CURDIR}/../libXext \
     25  1.1   mrg 	X11	${.CURDIR}/../libX11/dynamic
     26  1.1   mrg 
     27  1.1   mrg .if 0
     28  1.1   mrg # XXX it would be really swell if SCRIPTS was available from bsd.lib.mk
     29  1.1   mrg FILES=			xcursor.pc xcursor-config
     30  1.1   mrg FILESDIR_xcursor.pc=	${X11USRLIBDIR}/pkgconfig
     31  1.1   mrg FILESDIR_xcursor-config=${X11BINDIR}
     32  1.1   mrg FILESOWN_xcursor-config=${BINOWN}
     33  1.1   mrg FILESGRP_xcursor-config=${BINGRP}
     34  1.1   mrg FILESMODE_xcursor-config=${BINMODE}
     35  1.1   mrg 
     36  1.1   mrg CLEANFILES+=${FILES}
     37  1.1   mrg realall: ${FILES}
     38  1.1   mrg 
     39  1.1   mrg XCURSORDIR=	${X11SRCDIR.xc}/lib/Xcursor
     40  1.1   mrg CONFIG_SUBST=	${HOST_SH} ${XCURSORDIR}/config-subst \
     41  1.1   mrg 		prefix="${X11ROOTDIR}" \
     42  1.1   mrg 		exec_prefix="${X11BINDIR}" \
     43  1.1   mrg 		libdir="${X11USRLIBDIR}" \
     44  1.1   mrg 		includedir="${X11INCDIR}" \
     45  1.1   mrg 		hardcode_libdir_flag_spec="-Wl,-rpath,${X11USRLIBDIR}" \
     46  1.1   mrg 		PACKAGE_VERSION="1.0.0"
     47  1.1   mrg 
     48  1.1   mrg xcursor.pc:
     49  1.1   mrg 	${CONFIG_SUBST} < ${XCURSORDIR}/xcursor.pc.in > ${.TARGET}
     50  1.1   mrg 
     51  1.1   mrg xcursor-config:
     52  1.1   mrg 	${CONFIG_SUBST} < ${XCURSORDIR}/xcursor-config.in > ${.TARGET}
     53  1.1   mrg .endif
     54  1.1   mrg 
     55  1.2  cube PKGDIST=	${LIB}
     56  1.2  cube 
     57  1.1   mrg .include <bsd.x11.mk>
     58  1.1   mrg .include <bsd.lib.mk>
     59