1# $NetBSD: Makefile,v 1.10 2010/11/28 07:47:53 mrg Exp $ 2 3.include <bsd.own.mk> 4 5SUBDIR= dynamic .WAIT libX11-xcb static \ 6 ximcp xlcDef xlcUTF8Load xlibi18n xlocale xomGeneric 7 8INCS= ImUtil.h XKBlib.h Xcms.h Xlib-xcb.h Xlib.h XlibConf.h \ 9 Xlibint.h Xlocale.h Xregion.h Xresource.h Xutil.h \ 10 Xcmsint.h Xlcint.h \ 11 cursorfont.h 12INCSDIR= ${X11INCDIR}/X11 13 14MAN= AllPlanes.3 BlackPixelOfScreen.3 DisplayOfCCC.3 \ 15 ImageByteOrder.3 IsCursorKey.3 XAddConnectionWatch.3 \ 16 XAddHost.3 XAllocClassHint.3 XAllocColor.3 \ 17 XAllocIconSize.3 XAllocSizeHints.3 \ 18 XAllocStandardColormap.3 XAllocWMHints.3 \ 19 XAllowEvents.3 XAnyEvent.3 XButtonEvent.3 \ 20 XChangeKeyboardControl.3 XChangeKeyboardMapping.3 \ 21 XChangePointerControl.3 XChangeSaveSet.3 \ 22 XChangeWindowAttributes.3 XCirculateEvent.3 \ 23 XCirculateRequestEvent.3 XClearArea.3 \ 24 XClientMessageEvent.3 XColormapEvent.3 \ 25 XConfigureEvent.3 XConfigureRequestEvent.3 \ 26 XConfigureWindow.3 XCopyArea.3 XCreateColormap.3 \ 27 XCreateFontCursor.3 XCreateFontSet.3 XCreateGC.3 \ 28 XCreateIC.3 XCreateOC.3 XCreatePixmap.3 \ 29 XCreateRegion.3 XCreateWindow.3 XCreateWindowEvent.3 \ 30 XCrossingEvent.3 XDefineCursor.3 XDestroyWindow.3 \ 31 XDestroyWindowEvent.3 XDrawArc.3 XDrawImageString.3 \ 32 XDrawLine.3 XDrawPoint.3 XDrawRectangle.3 \ 33 XDrawString.3 XDrawText.3 XEmptyRegion.3 \ 34 XErrorEvent.3 XExposeEvent.3 XExtentsOfFontSet.3 \ 35 XFillRectangle.3 XFilterEvent.3 XFlush.3 \ 36 XFocusChangeEvent.3 XFontSetExtents.3 \ 37 XFontsOfFontSet.3 XFree.3 XGetVisualInfo.3 \ 38 XGetWindowAttributes.3 XGetWindowProperty.3 \ 39 XGetXCBConnection.3 XGrabButton.3 XGrabKey.3 \ 40 XGrabKeyboard.3 XGrabPointer.3 XGrabServer.3 \ 41 XGraphicsExposeEvent.3 XGravityEvent.3 \ 42 XIconifyWindow.3 XIfEvent.3 XInitImage.3 \ 43 XInitThreads.3 XInstallColormap.3 XInternAtom.3 \ 44 XIntersectRegion.3 XKeymapEvent.3 XListFonts.3 \ 45 XLoadFont.3 XLookupKeysym.3 XMapEvent.3 \ 46 XMapRequestEvent.3 XMapWindow.3 XNextEvent.3 XNoOp.3 \ 47 XOpenDisplay.3 XOpenIM.3 XOpenOM.3 XParseGeometry.3 \ 48 XPolygonRegion.3 XPropertyEvent.3 XPutBackEvent.3 \ 49 XPutImage.3 XQueryBestSize.3 XQueryColor.3 \ 50 XQueryExtension.3 XQueryPointer.3 XQueryTree.3 \ 51 XRaiseWindow.3 XReadBitmapFile.3 XRecolorCursor.3 \ 52 XReparentEvent.3 XReparentWindow.3 \ 53 XResizeRequestEvent.3 XResourceManagerString.3 \ 54 XSaveContext.3 XSelectInput.3 XSelectionClearEvent.3 \ 55 XSelectionEvent.3 XSelectionRequestEvent.3 \ 56 XSendEvent.3 XSetArcMode.3 XSetClipOrigin.3 \ 57 XSetCloseDownMode.3 XSetCommand.3 XSetErrorHandler.3 \ 58 XSetEventQueueOwner.3 XSetFillStyle.3 XSetFont.3 \ 59 XSetFontPath.3 XSetICFocus.3 XSetICValues.3 \ 60 XSetInputFocus.3 XSetLineAttributes.3 \ 61 XSetPointerMapping.3 XSetScreenSaver.3 \ 62 XSetSelectionOwner.3 XSetState.3 XSetTextProperty.3 \ 63 XSetTile.3 XSetTransientForHint.3 \ 64 XSetWMClientMachine.3 XSetWMColormapWindows.3 \ 65 XSetWMIconName.3 XSetWMName.3 XSetWMProperties.3 \ 66 XSetWMProtocols.3 XStoreBytes.3 XStoreColors.3 \ 67 XStringListToTextProperty.3 XStringToKeysym.3 \ 68 XSupportsLocale.3 XSynchronize.3 XTextExtents.3 \ 69 XTextWidth.3 XTranslateCoordinates.3 XUnmapEvent.3 \ 70 XUnmapWindow.3 XVaCreateNestedList.3 \ 71 XVisibilityEvent.3 XWarpPointer.3 XcmsAllocColor.3 \ 72 XcmsCCCOfColormap.3 XcmsCIELabQueryMaxC.3 \ 73 XcmsCIELuvQueryMaxC.3 XcmsColor.3 XcmsConvertColors.3 \ 74 XcmsCreateCCC.3 XcmsDefaultCCC.3 XcmsQueryBlack.3 \ 75 XcmsQueryColor.3 XcmsSetWhitePoint.3 XcmsStoreColor.3 \ 76 XcmsTekHVCQueryMaxC.3 XmbDrawImageString.3 \ 77 XmbDrawString.3 XmbDrawText.3 XmbLookupString.3 \ 78 XmbResetIC.3 XmbTextEscapement.3 XmbTextExtents.3 \ 79 XmbTextListToTextProperty.3 XmbTextPerCharExtents.3 \ 80 XrmEnumerateDatabase.3 XrmGetFileDatabase.3 \ 81 XrmGetResource.3 XrmInitialize.3 XrmMergeDatabases.3 \ 82 XrmPutResource.3 XrmUniqueQuark.3 83# XGetEventData.man 84 85USETBL= yes 86 87FILES= XErrorDB XKeysymDB Xcms.txt 88FILESDIR= ${X11LIBDIR} 89 90.PATH: ${X11SRCDIR.X11} 91.PATH: ${X11SRCDIR.X11}/include/X11 92.PATH: ${X11SRCDIR.X11}/man 93.PATH: ${X11SRCDIR.X11}/src 94.PATH: ${X11SRCDIR.X11}/src/xcms 95.PATH: ${X11SRCDIR.X11}/src/xlibi18n 96 97XlibConf.h: XlibConf.h.in 98 ${_MKTARGET_CREATE} 99 ${TOOL_SED} 's/#undef XTHREADS/#define XTHREADS 1/; \ 100 s/#undef XUSE_MTSAFE_API/#define XUSE_MTSAFE_API 1/ ' \ 101 < ${.ALLSRC} > ${.TARGET} 102 103CLEANFILES+= XlibConf.h 104 105PKGDIST= X11 106 107.include <bsd.x11.mk> 108.include <bsd.prog.mk> 109.include <bsd.subdir.mk> 110