Drop main() prototype. Syncs with NetBSD-8
[minix.git] / external / mit / xorg / lib / libX11 / Makefile
blob82dcfd8855e816e90c0c9fecdefb7eac6884c248
1 # $NetBSD: Makefile,v 1.13 2015/07/19 08:18:32 mrg Exp $
3 .include <bsd.own.mk>
5 SUBDIR= dynamic .WAIT libX11-xcb static \
6 ximcp xlcDef xlcUTF8Load xlibi18n xomGeneric
8 INCS= 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
12 INCSDIR= ${X11INCDIR}/X11
14 MAN= 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
85 USETBL= yes
87 FILES= XErrorDB XKeysymDB Xcms.txt
88 FILESDIR= ${X11LIBDIR}
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
97 XlibConf.h: XlibConf.h.in
98 ${_MKTARGET_CREATE}
99 .if !defined(__MINIX)
100 ${TOOL_SED} -e 's/#undef XTHREADS/#define XTHREADS 1/' \
101 -e 's/#undef XUSE_MTSAFE_API/#define XUSE_MTSAFE_API 1/' \
102 < ${.ALLSRC} > ${.TARGET}
103 .else
104 ${TOOL_CAT} ${.ALLSRC} > ${.TARGET}
105 .endif # !defined(__MINIX)
107 CLEANFILES+= XlibConf.h
109 PKGDIST= X11
111 .include <bsd.x11.mk>
112 .include <bsd.prog.mk>
113 .include <bsd.subdir.mk>