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