Home | History | Annotate | Line # | Download | only in libXext
      1 #	$NetBSD: Makefile,v 1.11 2022/10/29 21:06:15 mrg Exp $
      2 
      3 .include <bsd.own.mk>
      4 
      5 LIB=	Xext
      6 .PATH:	${X11SRCDIR.${LIB}}/src
      7 .PATH:	${X11SRCDIR.${LIB}}/man
      8 .PATH:	${X11SRCDIR.${LIB}}/include/X11/extensions/
      9 
     10 SRCS=	DPMS.c \
     11 	MITMisc.c \
     12 	XAppgroup.c \
     13 	XEVI.c \
     14 	XLbx.c \
     15 	XMultibuf.c \
     16 	XSecurity.c \
     17 	XShape.c \
     18 	XShm.c \
     19 	XSync.c \
     20 	XTestExt1.c \
     21 	Xcup.c \
     22 	Xdbe.c \
     23 	Xge.c \
     24 	extutil.c \
     25 	globals.c
     26 
     27 CPPFLAGS+=	${X11FLAGS.THREADLIB}
     28 CPPFLAGS+=	-DHAVE__XEATDATAWORDS -DHAVE_REALLOCARRAY
     29 
     30 LIBDPLIBS=	X11	${.CURDIR}/../libX11/dynamic
     31 
     32 # XXX
     33 COPTS.extutil.c+=	-Wno-error
     34 
     35 MAN=	DBE.3 DPMSCapable.3 DPMSDisable.3 DPMSEnable.3 DPMSForceLevel.3 \
     36 	DPMSGetTimeouts.3 DPMSGetVersion.3 DPMSInfo.3 DPMSQueryExtension.3 \
     37 	DPMSSetTimeouts.3 XShape.3 XShm.3 XcupGetReservedColormapEntries.3 \
     38 	XcupQueryVersion.3 XcupStoreColors.3 XdbeAllocateBackBufferName.3 \
     39 	XdbeBeginIdiom.3 XdbeDeallocateBackBufferName.3 XdbeEndIdiom.3 \
     40 	XdbeFreeVisualInfo.3 XdbeGetBackBufferAttributes.3 \
     41 	XdbeGetVisualInfo.3 XdbeQueryExtension.3 XdbeSwapBuffers.3 Xevi.3 \
     42 	Xmbuf.3
     43 
     44 MLINKS  = #
     45 
     46 MLINKS += XShape.3 XShapeCombineMask.3
     47 MLINKS += XShape.3 XShapeCombineRectangles.3
     48 MLINKS += XShape.3 XShapeCombineRegion.3
     49 MLINKS += XShape.3 XShapeCombineShape.3
     50 MLINKS += XShape.3 XShapeGetRectangles.3
     51 MLINKS += XShape.3 XShapeInputSelected.3
     52 MLINKS += XShape.3 XShapeOffsetShape.3
     53 MLINKS += XShape.3 XShapeQueryExtension.3
     54 MLINKS += XShape.3 XShapeQueryExtents.3
     55 MLINKS += XShape.3 XShapeQueryVersion.3
     56 MLINKS += XShape.3 XShapeSelectInput.3
     57 
     58 MLINKS+=	XShm.3 XShmQueryExtension.3 \
     59 		XShm.3 XShmQueryVersion.3 \
     60 		XShm.3 XShmPixmapFormat.3 \
     61 		XShm.3 XShmAttach.3 \
     62 		XShm.3 XShmDetach.3 \
     63 		XShm.3 XShmCreateImage.3 \
     64 		XShm.3 XShmPutImage.3 \
     65 		XShm.3 XShmGetImage.3 \
     66 		XShm.3 XShmCreatePixmap.3 \
     67 		XShm.3 XShmGetEventBase.3
     68 
     69 MLINKS+=	Xmbuf.3 XmbufQueryExtension.3 \
     70 		Xmbuf.3 XmbufGetVersion.3 \
     71 		Xmbuf.3 XmbufCreateBuffers.3 \
     72 		Xmbuf.3 XmbufDestroyBuffers.3 \
     73 		Xmbuf.3 XmbufDisplayBuffers.3 \
     74 		Xmbuf.3 XmbufGetWindowAttributes.3 \
     75 		Xmbuf.3 XmbufChangeWindowAttributes.3 \
     76 		Xmbuf.3 XmbufGetBufferAttributes.3 \
     77 		Xmbuf.3 XmbufChangeBufferAttributes.3 \
     78 		Xmbuf.3 XmbufGetScreenInfo.3 \
     79 		Xmbuf.3 XmbufCreateStereoWindow.3
     80 
     81 MLINKS+=	Xevi.3 XeviQueryVersion.3 \
     82 		Xevi.3 XeviGetVisualInfo.3 \
     83 		Xevi.3 XeviQueryExtension.3
     84 
     85 INCS=	MITMisc.h \
     86 	XEVI.h \
     87 	XLbx.h \
     88 	XShm.h \
     89 	Xag.h \
     90 	Xcup.h \
     91 	Xdbe.h \
     92 	Xext.h \
     93 	Xge.h \
     94 	dpms.h \
     95 	extutil.h \
     96 	multibuf.h \
     97 	security.h \
     98 	shape.h \
     99 	sync.h \
    100 	xtestext1.h
    101 
    102 INCSDIR=${X11INCDIR}/X11/extensions
    103 
    104 PKGDIST=	${LIB}
    105 
    106 COPTS.XEVI.c+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error :}
    107 
    108 .include <bsd.x11.mk>
    109 .include <bsd.lib.mk>
    110