Fix up mix of man(7)/mdoc(7).
[netbsd-mini2440.git] / x11 / lib / X11 / Makefile.libx11
blobd423f00dbb60da2842cce99b8f71f76598eb82fd
1 #       $NetBSD: Makefile.libx11,v 1.4 2003/09/30 06:41:30 lukem Exp $
3 LIB=    X11
4 .PATH:  ${X11SRCDIR.xc}/lib/${LIB}
5 .PATH:  ${X11SRCDIR.xc}/lib/Xau
6 .PATH:  ${X11SRCDIR.xc}/lib/Xdmcp
7 .PATH:  ${X11SRCDIR.xc}/lib/xtrans
9 SRCS=   AllCells.c AllPlanes.c AllowEv.c AutoRep.c Backgnd.c BdrWidth.c \
10         Bell.c Border.c ChAccCon.c ChActPGb.c ChClMode.c ChCmap.c \
11         ChGC.c ChKeyCon.c ChPntCon.c ChProp.c ChSaveSet.c ChWAttrs.c \
12         ChWindow.c ChkIfEv.c ChkMaskEv.c ChkTypEv.c ChkTypWEv.c \
13         ChkWinEv.c CirWin.c CirWinDn.c CirWinUp.c ClDisplay.c \
14         Clear.c ClearArea.c ConfWind.c ConnDis.c Context.c ConvSel.c \
15         CopyArea.c CopyCmap.c CopyGC.c CopyPlane.c CrBFData.c \
16         CrCmap.c CrCursor.c CrGC.c CrGlCur.c CrPFBData.c CrPixmap.c \
17         CrWindow.c Cursor.c DefCursor.c DelProp.c Depths.c DestSubs.c \
18         DestWind.c DisName.c DrArc.c DrArcs.c DrLine.c DrLines.c \
19         DrPoint.c DrPoints.c DrRect.c DrRects.c DrSegs.c ErrDes.c \
20         ErrHndlr.c EvToWire.c FSSaver.c FetchName.c FillArc.c \
21         FillArcs.c FillPoly.c FillRct.c FillRcts.c Flush.c Font.c \
22         FontInfo.c FontNames.c FreeCmap.c FreeCols.c FreeCurs.c \
23         FreeEData.c FreeGC.c FreePix.c GCMisc.c Geom.c GetAtomNm.c \
24         GetColor.c GetDflt.c GetFPath.c GetFProp.c GetGeom.c \
25         GetHColor.c GetHints.c GetIFocus.c GetImage.c GetKCnt.c \
26         GetMoEv.c GetPCnt.c GetPntMap.c GetProp.c GetSOwner.c \
27         GetSSaver.c GetStCmap.c GetWAttrs.c GrButton.c GrKey.c \
28         GrKeybd.c GrPointer.c GrServer.c Host.c IfEvent.c ImText.c \
29         ImText16.c ImUtil.c InitExt.c InsCmap.c IntAtom.c KeyBind.c \
30         KeysymStr.c KillCl.c LiHosts.c LiICmaps.c LiProps.c ListExt.c \
31         LoadFont.c LookupCol.c LowerWin.c ParseCmd.c Quarks.c
33 SRCS+=  GetGCVals.c GetNrmHint.c GetRGBCMap.c GetTxtProp.c GetWMCMapW.c \
34         GetWMProto.c Iconify.c Macros.c MapRaised.c MapSubs.c \
35         MapWindow.c MaskEvent.c Misc.c ModMap.c MoveWin.c NextEvent.c \
36         OpenDis.c ParseCol.c ParseGeom.c PeekEvent.c PeekIfEv.c \
37         Pending.c PixFormats.c PmapBgnd.c PmapBord.c PolyReg.c \
38         PolyTxt.c PolyTxt16.c PropAlloc.c PutBEvent.c PutImage.c \
39         QuBest.c QuColor.c QuColors.c QuCurShp.c QuExt.c QuKeybd.c \
40         QuPntr.c QuStipShp.c QuTextE16.c QuTextExt.c QuTileShp.c \
41         QuTree.c RaiseWin.c RdBitF.c RecolorC.c ReconfWM.c ReconfWin.c \
42         Region.c RepWindow.c RestackWs.c RotProp.c ScrResStr.c \
43         SelInput.c SendEvent.c SetBack.c SetCRects.c SetClMask.c \
44         SetClOrig.c SetDashes.c SetFPath.c SetFont.c SetFore.c \
45         SetFunc.c SetHints.c SetIFocus.c SetLStyle.c SetNrmHint.c \
46         SetPMask.c SetPntMap.c SetRGBCMap.c SetSOwner.c SetSSaver.c \
47         SetStCmap.c SetState.c SetStip.c SetTSOrig.c SetTile.c \
48         SetTxtProp.c SetWMCMapW.c SetWMProto.c StBytes.c StColor.c \
49         StColors.c StNColor.c StName.c StrKeysym.c StrToText.c \
50         Sync.c Synchro.c Text.c Text16.c TextExt.c TextExt16.c \
51         TextToStr.c TrCoords.c UndefCurs.c UngrabBut.c UngrabKbd.c \
52         UngrabKey.c UngrabPtr.c UngrabSvr.c UninsCmap.c UnldFont.c \
53         UnmapSubs.c UnmapWin.c VisUtil.c WMGeom.c WMProps.c WarpPtr.c \
54         WinEvent.c Window.c Withdraw.c WrBitF.c XlibAsync.c XlibInt.c \
55         Xrm.c evtomask.c globals.c
57 SRCS+=  AuDispose.c AuGetBest.c AuFileName.c AuRead.c
58 SRCS+=  Wrap.c Wraphelp.c
60 SRCS+=  AddDIC.c AddSF.c CCC.c CvColW.c CvCols.c FSWrap.c FilterEv.c \
61         HVC.c HVCGcC.c HVCGcV.c HVCGcVC.c HVCMnV.c HVCMxC.c HVCMxV.c \
62         HVCMxVC.c HVCMxVs.c HVCWpAj.c ICWrap.c IMWrap.c IdOfPr.c \
63         LRGB.c Lab.c LabGcC.c LabGcL.c LabGcLC.c LabMnL.c LabMxC.c \
64         LabMxL.c LabMxLC.c LabWpAj.c LockDis.c Luv.c LuvGcC.c \
65         LuvGcL.c LuvGcLC.c LuvMnL.c LuvMxC.c LuvMxL.c LuvMxLC.c \
66         LuvWpAj.c OCWrap.c OMWrap.c OfCCC.c PrOfId.c QBlack.c \
67         QBlue.c QGreen.c QRed.c QWhite.c QuCol.c QuCols.c RegstFlt.c \
68         SetCCC.c SetGetCols.c StCol.c StCols.c UNDEFINED.c XRGB.c \
69         XYZ.c cmsAllCol.c cmsAllNCol.c cmsCmap.c cmsColNm.c \
70         cmsGlobls.c cmsInt.c cmsLkCol.c cmsMath.c cmsProp.c cmsTrig.c \
71         lcWrap.c locking.c mbWMProps.c mbWrap.c utf8WMProps.c \
72         utf8Wrap.c uvY.c wcWrap.c x11trans.c ximtrans.c xyY.c
74 SRCS+=  XKB.c XKBBind.c XKBCompat.c XKBCtrls.c XKBCvt.c XKBGetMap.c \
75         XKBGetByName.c XKBNames.c XKBRdBuf.c XKBSetMap.c XKBUse.c \
76         XKBleds.c XKBBell.c XKBGeom.c XKBSetGeom.c XKBExtDev.c \
77         XKBList.c XKBMisc.c XKBMAlloc.c XKBGAlloc.c XKBAlloc.c
79 SRCS+=  SetLocale.c imConv.c imKStoUCS.c lcCT.c lcCharSet.c lcConv.c \
80         lcDB.c lcDefConv.c lcFile.c lcGeneric.c lcInit.c lcPrTxt.c \
81         lcPubWrap.c lcPublic.c lcRM.c lcStd.c lcTxtPr.c lcUTF8.c lcUtil.c
83 CPPFLAGS+=      ${X11FLAGS.THREADS}
84 CPPFLAGS+=      -I. -DHAS_SNPRINTF -DLIBX11 -DPOSTLOCALELIBDIR=\"lib\"
86 CMS_DEFINES=            -DXCMSDB=\"${X11LIBDIR}/Xcms.txt\"
87 CONN_DEFINES=           ${X11FLAGS.CONNECTION}
88 EDB_DEFINES=            -DERRORDB=\"${X11LIBDIR}/XErrorDB\"
89 KDB_DEFINES=            -DKEYSYMDB=\"${X11LIBDIR}/XKeysymDB\"
90 LC_DYNDEFINES=          -DUSE_DYNAMIC_LC
91 OPEN_DEFINES=           -I${DESTDIR}${X11INCDIR}/X11/extensions
92 POLL_DEFINES=           -DUSE_POLL
93 SETID_DEFINES=          -DHASSETUGID
94 SHM_DEFINES=            -DHAS_SHM
95 SOCK_DEFINES=           -DBSD44SOCKETS
96 TRANS_INCLUDES=         -I${X11SRCDIR.xc}/lib/xtrans
97 XCURSOR_DEFINES=        -DUSE_DYNAMIC_XCURSOR -DLIBXCURSOR=\"libXcursor.so.1\"
98 XDMAUTHDEFS=            -DHASXDMAUTH
99 XF86BIGFONT_DEFINES=    -DXF86BIGFONT
100 XKB_DEFINES=            -DXKB
101 XLC_DEFINES=            -DXLOCALEDIR=\"${X11LIBDIR}/locale\"
102 XTRANS_XIM_DEFINES=     -DXIM_t -DTRANS_CLIENT
103 XTRANS_X_DEFINES=       -DX11_t -DTRANS_CLIENT
105 CPPFLAGS.ErrDes.c=      $(EDB_DEFINES)
106 CPPFLAGS.StrKeysym.c=   $(KDB_DEFINES)
107 CPPFLAGS.ConnDis.c=     $(XDMAUTHDEFS) $(CONN_DEFINES) $(SOCK_DEFINES) $(POLL_DEFINES) $(XTRANS_X_DEFINES)
108 CPPFLAGS.x11trans.c=    $(TRANS_INCLUDES) $(CONN_DEFINES) $(SOCK_DEFINES) $(XTRANS_X_DEFINES) $(POLL_DEFINES)
109 CPPFLAGS.ximtrans.c=    $(TRANS_INCLUDES) $(CONN_DEFINES) $(SOCK_DEFINES) $(XTRANS_XIM_DEFINES) $(POLL_DEFINES)
110 CPPFLAGS.OpenDis.c=     $(OPEN_DEFINES) $(XTRANS_X_DEFINES) $(XKB_DEFINES)
111 CPPFLAGS.Wrap.c=        $(XDMAUTHDEFS)
112 CPPFLAGS.XlibInt.c=     $(CONN_DEFINES) $(POLL_DEFINES) $(XTRANS_X_DEFINES)
113 CPPFLAGS.Font.c=        $(SHM_DEFINES) $(XF86BIGFONT_DEFINES)
114 CPPFLAGS.FontInfo.c=    $(SHM_DEFINES) $(XF86BIGFONT_DEFINES)
115 CPPFLAGS.cmsColNm.c=    $(CMS_DEFINES)
116 CPPFLAGS.globals.c=     $(CONN_DEFINES)
117 CPPFLAGS.imTransR.c=    $(CONN_DEFINES) $(XTRANS_XIM_DEFINES)
118 CPPFLAGS.imTrans.c=     $(CONN_DEFINES) $(XTRANS_XIM_DEFINES)
119 CPPFLAGS.lcFile.c=      $(XLC_DEFINES) $(SETID_DEFINES)
120 CPPFLAGS.KeyBind.c=     $(XKB_DEFINES)
121 CPPFLAGS.XKBBind.c=     $(XKB_DEFINES)
122 CPPFLAGS.imConv.c=      $(XKB_DEFINES)
123 COPTS.XKBAlloc.c=       -Wno-error      # XXX gcc 3.3
124 COPTS.XKBMAlloc.c=      -Wno-error      # XXX gcc 3.3
125 COPTS.imThaiFlt.c=      -Wno-error      # XXX gcc 3.3
127 BUILDSYMLINKS=  transport.c x11trans.c \
128                 transport.c ximtrans.c
130 .include "${NETBSDSRCDIR}/x11/tools/makekeys/Makefile.makekeys"