Remove building with NOCRYPTO option
[minix.git] / external / mit / xorg / lib / libXt / Makefile
blobde0f4a806a7b7b71fcf649f9252151c301aa5eee
1 # $NetBSD: Makefile,v 1.6 2015/07/19 07:55:08 mrg Exp $
3 .include <bsd.own.mk>
5 LIB= Xt
6 .PATH: ${X11SRCDIR.${LIB}}/include/X11
7 .PATH: ${X11SRCDIR.${LIB}}/src
8 .PATH: ${X11SRCDIR.${LIB}}/man
9 .PATH: ${X11SRCDIR.${LIB}}
11 SRCS= ActionHook.c Alloc.c ArgList.c Callback.c ClickTime.c \
12 Composite.c Constraint.c Convert.c Converters.c Core.c \
13 Create.c Destroy.c Display.c Error.c Event.c EventUtil.c \
14 Functions.c GCManager.c Geometry.c GetActKey.c GetResList.c \
15 GetValues.c HookObj.c Hooks.c Initialize.c Intrinsic.c \
16 Keyboard.c Manage.c NextEvent.c Object.c PassivGrab.c \
17 Pointer.c Popup.c PopupCB.c RectObj.c ResConfig.c Resources.c \
18 Selection.c SetSens.c SetValues.c SetWMCW.c Shell.c \
19 StringDefs.c TMaction.c TMgrab.c TMkey.c TMparse.c TMprint.c \
20 TMstate.c Threads.c VarCreate.c VarGet.c Varargs.c Vendor.c
22 INCS= CallbackI.h Composite.h CompositeP.h ConstrainP.h Constraint.h \
23 ConvertI.h Core.h CoreP.h CreateI.h EventI.h HookObjI.h InitialI.h \
24 Intrinsic.h IntrinsicI.h IntrinsicP.h Object.h ObjectP.h \
25 PassivGraI.h RectObj.h RectObjP.h ResConfigP.h ResourceI.h \
26 SelectionI.h Shell.h ShellI.h ShellP.h StringDefs.h ThreadsI.h \
27 TranslateI.h VarargsI.h Vendor.h VendorP.h Xtos.h
28 INCSDIR=${X11INCDIR}/X11
30 CPPFLAGS+= ${X11FLAGS.THREADLIB}
31 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11
32 .if defined(__MINIX)
33 CPPFLAGS+= -DUSE_SNPRINTF -DLIBXT -I.
34 .if ${MKDEBUGLIB:Uno} == "yes"
35 CWARNFLAGS+=-Wno-format
36 .endif
37 .else
38 CPPFLAGS+= -DUSE_POLL -DUSE_SNPRINTF -DLIBXT -I.
39 .endif # defined(__MINIX)
40 CPPFLAGS+= -DHAVE_ASPRINTF
42 CPPFLAGS.Intrinsic.c= -DXFILESEARCHPATHDEFAULT=\"${X11LIBDIR}/%L/%T/%N%C%S:${X11LIBDIR}/%l/%T/%N%C%S:${X11LIBDIR}/%T/%N%C%S:${X11LIBDIR}/%L/%T/%N%S:${X11LIBDIR}/%l/%T/%N%S:${X11LIBDIR}/%T/%N%S\"
43 CPPFLAGS.Error.c= -DERRORDB=\"${X11LIBDIR}/XtErrorDB\" \
44 -DXTERROR_PREFIX=\"\" -DXTWARNING_PREFIX=\"\"
45 CPPFLAGS.TMkey.c= -DXKB
47 LIBDPLIBS=\
48 X11 ${.CURDIR}/../libX11/dynamic \
49 SM ${.CURDIR}/../libSM \
50 ICE ${.CURDIR}/../libICE
52 .include "${NETBSDSRCDIR}/external/mit/xorg/tools/makestrs/Makefile.makestrs"
54 STRINGS_FILES= StringDefs.c StringDefs.h Shell.h
55 STRINGS_TMPLS= util/StrDefs.ct util/StrDefs.ht util/Shell.ht
56 STRINGS_LIST= util/string.list
58 ${STRINGS_FILES}: strings_files.stamp
59 strings_files.stamp: ${MAKESTRS} ${STRINGS_LIST} ${STRINGS_TMPLS}
60 ${_MKMSG_CREATE} ${STRINGS_FILES}
61 rm -f ${.TARGET} ${STRINGS_FILES}
62 rm -f util
63 ln -s ${X11SRCDIR.Xt}/util util
64 ${MAKESTRS} -i . < ${STRINGS_LIST} > StringDefs.c
65 touch ${.TARGET}
66 CLEANFILES+= ${STRINGS_FILES} util strings_files.stamp
67 DPSRCS+= ${STRINGS_FILES}
69 MAN= XtAddActions.3 XtAddCallback.3 XtAddEventHandler.3 \
70 XtAddExposureToRegion.3 XtAddGrab.3 XtAddInput.3 XtAllocateGC.3 \
71 XtAppAddActionHook.3 XtAppAddActions.3 XtAppAddBlockHook.3 \
72 XtAppAddConverter.3 XtAppAddInput.3 XtAppAddSignal.3 \
73 XtAppAddTimeOut.3 XtAppAddWorkProc.3 XtAppCreateShell.3 \
74 XtAppError.3 XtAppErrorMsg.3 XtAppGetErrorDatabase.3 \
75 XtAppGetSelectionTimeout.3 XtAppInitialize.3 XtAppLock.3 \
76 XtAppNextEvent.3 XtAppReleaseCacheRefs.3 XtAppSetExitFlag.3 \
77 XtAppSetFallbackResources.3 XtAppSetTypeConverter.3 \
78 XtBuildEventMask.3 XtCallAcceptFocus.3 XtCallActionProc.3 \
79 XtCallCallbacks.3 XtClass.3 XtConfigureWidget.3 XtConvert.3 \
80 XtConvertAndStore.3 XtCreateApplicationContext.3 \
81 XtCreateApplicationShell.3 XtCreatePopupShell.3 \
82 XtCreateSelectionRequest.3 XtCreateWidget.3 XtCreateWindow.3 \
83 XtDisplay.3 XtDisplayInitialize.3 XtDisplayStringConversionWarning.3 \
84 XtDisplayToApplicationContext.3 XtError.3 XtErrorMsg.3 XtFindFile.3 \
85 XtGetActionKeysym.3 XtGetActionList.3 XtGetApplicationNameAndClass.3 \
86 XtGetApplicationResources.3 XtGetClassExtension.3 XtGetDisplays.3 \
87 XtGetErrorDatabase.3 XtGetGC.3 XtGetKeyboardFocusWidget.3 \
88 XtGetKeysymTable.3 XtGetResourceList.3 XtGetSelectionParameters.3 \
89 XtGetSelectionRequest.3 XtGetSelectionTimeout.3 XtGetSelectionValue.3 \
90 XtGetSelectionValueIncremental.3 XtGetSubresources.3 XtGrabKey.3 \
91 XtHooksOfDisplay.3 XtInitialize.3 XtInitializeWidgetClass.3 \
92 XtInsertEventTypeHandler.3 XtLastEventProcessed.3 \
93 XtMakeGeometryRequest.3 XtMalloc.3 XtManageChildren.3 XtMapWidget.3 \
94 XtName.3 XtNameToWidget.3 XtNextEvent.3 XtOffset.3 \
95 XtOpenApplication.3 XtOwnSelection.3 XtParent.3 \
96 XtParseAcceleratorTable.3 XtParseTranslationTable.3 XtPopdown.3 \
97 XtPopup.3 XtProcessLock.3 XtQueryGeometry.3 XtRealizeWidget.3 \
98 XtRegisterDrawable.3 XtRegisterGrabAction.3 XtReservePropertyAtom.3 \
99 XtResolvePathname.3 XtSessionGetToken.3 XtSetArg.3 \
100 XtSetKeyTranslator.3 XtSetKeyboardFocus.3 XtSetLanguageProc.3 \
101 XtSetMultiClickTime.3 XtSetSelectionParameters.3 XtSetSensitive.3 \
102 XtSetValues.3 XtSetWMColormapWindows.3 XtStringConversionWarning.3 \
103 XtToolkitThreadInitialize.3 XtTranslateCoords.3 XtVaCreateArgsList.3
105 MLINKS= XtAddCallback.3 XtAddCallbacks.3 \
106 XtAddCallback.3 XtRemoveCallback.3 \
107 XtAddCallback.3 XtRemoveCallbacks.3 \
108 XtAddCallback.3 XtRemoveAllCallbacks.3
110 MLINKS+= XtAddEventHandler.3 XtAddRawEventHandler.3 \
111 XtAddEventHandler.3 XtRemoveEventHandler.3 \
112 XtAddEventHandler.3 XtRemoveRawEventHandler.3 \
113 XtAddEventHandler.3 XtInsertEventHandler.3 \
114 XtAddEventHandler.3 XtInsertRawEventHandler.3
116 MLINKS+= XtAddGrab.3 XtRemoveGrab.3 \
117 XtAppAddConverter.3 XtAddConverter.3 \
118 XtAppAddInput.3 XtRemoveInput.3 \
119 XtAppAddTimeOut.3 XtRemoveTimeOut.3 \
120 XtAppAddWorkProc.3 XtRemoveWorkProc.3 \
121 XtAppCreateShell.3 XtVaAppCreateShell.3
123 MLINKS+= XtAppError.3 XtAppSetErrorHandler.3 \
124 XtAppError.3 XtAppSetWarningHandler.3 \
125 XtAppError.3 XtAppWarning.3
127 MLINKS+= XtAppErrorMsg.3 XtAppSetErrorMsgHandler.3 \
128 XtAppErrorMsg.3 XtAppSetWarningMsgHandler.3 \
129 XtAppErrorMsg.3 XtAppWarningMsg.3
131 MLINKS+= XtAppGetErrorDatabase.3 XtAppGetErrorDatabaseText.3 \
132 XtAppGetSelectionTimeout.3 XtAppSetSelectionTimeout.3
134 MLINKS+= XtAppNextEvent.3 XtAppPending.3 \
135 XtAppNextEvent.3 XtAppPeekEvent.3 \
136 XtAppNextEvent.3 XtAppProcessEvent.3 \
137 XtAppNextEvent.3 XtDispatchEvent.3 \
138 XtAppNextEvent.3 XtAppMainLoop.3
140 MLINKS+= XtNextEvent.3 XtPending.3 \
141 XtNextEvent.3 XtPeekEvent.3 \
142 XtNextEvent.3 XtProcessEvent.3 \
143 XtNextEvent.3 XtMainLoop.3
145 MLINKS+= XtCallCallbacks.3 XtCallCallbackList.3 \
146 XtCallCallbacks.3 XtHasCallbacks.3
148 MLINKS+= XtClass.3 XtSuperclass.3 \
149 XtClass.3 XtIsSubclass.3 \
150 XtClass.3 XtCheckSubclass.3 \
151 XtClass.3 XtIsObject.3 \
152 XtClass.3 XtIsRectObj.3 \
153 XtClass.3 XtIsWidget.3 \
154 XtClass.3 XtIsComposite.3 \
155 XtClass.3 XtIsConstraint.3 \
156 XtClass.3 XtIsShell.3 \
157 XtClass.3 XtIsOverrideShell.3 \
158 XtClass.3 XtIsWMShell.3 \
159 XtClass.3 XtIsVendorShell.3 \
160 XtClass.3 XtIsTransientShell.3 \
161 XtClass.3 XtIsTopLevelShell.3 \
162 XtClass.3 XtIsApplicationShell.3 \
163 XtClass.3 XtIsSessionShell.3
165 MLINKS+= XtConfigureWidget.3 XtMoveWidget.3 \
166 XtConfigureWidget.3 XtResizeWidget.3
168 MLINKS+= XtConvert.3 XtDirectConvert.3 \
169 XtConvertAndStore.3 XtCallConverter.3
171 MLINKS+= XtCreateApplicationContext.3 XtDestroyApplicationContext.3 \
172 XtCreateApplicationContext.3 XtWidgetToApplicationContext.3 \
173 XtCreateApplicationContext.3 XtToolkitInitialize.3
175 MLINKS+= XtCreatePopupShell.3 XtVaCreatePopupShell.3
177 MLINKS+= XtCreateWidget.3 XtVaCreateWidget.3 \
178 XtCreateWidget.3 XtCreateManagedWidget.3 \
179 XtCreateWidget.3 XtVaCreateManagedWidget.3 \
180 XtCreateWidget.3 XtDestroyWidget.3
182 MLINKS+= XtDisplay.3 XtDisplayOfObject.3 \
183 XtDisplay.3 XtScreen.3 \
184 XtDisplay.3 XtScreenOfObject.3 \
185 XtDisplay.3 XtWindow.3 \
186 XtDisplay.3 XtWindowOfObject.3
188 MLINKS+= XtDisplayInitialize.3 XtOpenDisplay.3 \
189 XtDisplayInitialize.3 XtCloseDisplay.3 \
190 XtDisplayInitialize.3 XtDatabase.3 \
191 XtDisplayInitialize.3 XtScreenDatabase.3
193 MLINKS+= XtGetGC.3 XtReleaseGC.3 \
194 XtGetResourceList.3 XtGetConstraintResourceList.3 \
195 XtGetSelectionValue.3 XtGetSelectionValues.3 \
196 XtGetSubresources.3 XtVaGetSubresources.3 \
197 XtGetApplicationResources.3 XtVaGetApplicationResources.3 \
198 XtMakeGeometryRequest.3 XtMakeResizeRequest.3
200 MLINKS+= XtMalloc.3 XtCalloc.3 \
201 XtMalloc.3 XtRealloc.3 \
202 XtMalloc.3 XtFree.3 \
203 XtMalloc.3 XtNew.3 \
204 XtMalloc.3 XtNewString.3 \
205 XtMalloc.3 XtAsprintf.3
207 MLINKS+= XtManageChildren.3 XtManageChild.3 \
208 XtManageChildren.3 XtUnmanageChildren.3 \
209 XtManageChildren.3 XtUnmanageChild.3 \
210 XtManageChildren.3 XtIsManaged.3 \
211 XtManageChildren.3 XtChangeManagedSet.3
213 MLINKS+= XtMapWidget.3 XtSetMappedWhenManaged.3 \
214 XtMapWidget.3 XtUnmapWidget.3
216 MLINKS+= XtNameToWidget.3 XtWindowToWidget.3
218 MLINKS+= XtOffset.3 XtOffsetOf.3 \
219 XtOffset.3 XtNumber.3
221 MLINKS+= XtOwnSelection.3 XtOwnSelectionIncremental.3 \
222 XtOwnSelection.3 XtDisownSelection.3
224 MLINKS+= XtParseAcceleratorTable.3 XtInstallAccelerators.3 \
225 XtParseAcceleratorTable.3 XtInstallAllAccelerators.3
227 MLINKS+= XtParseTranslationTable.3 XtAugmentTranslations.3 \
228 XtParseTranslationTable.3 XtOverrideTranslations.3 \
229 XtParseTranslationTable.3 XtUninstallTranslations.3
231 MLINKS+= XtPopdown.3 XtCallbackPopdown.3 \
232 XtPopdown.3 MenuPopdown.3
234 MLINKS+= XtPopup.3 XtPopupSpringLoaded.3 \
235 XtPopup.3 XtCallbackNone.3 \
236 XtPopup.3 XtCallbackNonexclusive.3 \
237 XtPopup.3 XtCallbackExclusive.3 \
238 XtPopup.3 MenuPopup.3
240 MLINKS+= XtRealizeWidget.3 XtIsRealized.3 \
241 XtRealizeWidget.3 XtUnrealizeWidget.3
243 MLINKS+= XtSetArg.3 XtMergeArgLists.3
245 MLINKS+= XtSetKeyTranslator.3 XtTranslateKeycode.3 \
246 XtSetKeyTranslator.3 XtRegisterCaseConverter.3 \
247 XtSetKeyTranslator.3 XtConvertCase.3
249 MLINKS+= XtSetSensitive.3 XtIsSensitive.3
251 MLINKS+= XtSetValues.3 XtVaSetValues.3 \
252 XtSetValues.3 XtSetSubvalues.3 \
253 XtSetValues.3 XtGetValues.3 \
254 XtSetValues.3 XtVaGetValues.3 \
255 XtSetValues.3 XtGetSubvalues.3 \
256 XtSetValues.3 XtVaGetSubvalues.3 \
257 XtSetValues.3 XtVaSetSubvalues.3
259 MLINKS+= XtGetKeysymTable.3 XtKeysymToKeycodeList.3 \
260 XtAppSetTypeConverter.3 XtSetTypeConverter.3 \
261 XtAppAddActionHook.3 XtRemoveActionHook.3 \
262 XtSetMultiClickTime.3 XtGetMultiClickTime.3
264 MLINKS+= XtInsertEventTypeHandler.3 XtRemoveEventTypeHandler.3 \
265 XtInsertEventTypeHandler.3 XtRegisterExtensionSelector.3 \
266 XtInsertEventTypeHandler.3 XtSetEventDispatcher.3 \
267 XtInsertEventTypeHandler.3 XtDispatchEventToWidget.3
269 MLINKS+= XtLastEventProcessed.3 XtLastTimestampProcessed.3
271 MLINKS+= XtAppAddSignal.3 XtNoticeSignal.3 \
272 XtAppAddSignal.3 XtRemoveSignal.3
274 MLINKS+= XtAddInput.3 XtAddTimeOut.3 \
275 XtAddInput.3 XtAddWorkProc.3
277 MLINKS+= XtAppAddBlockHook.3 XtRemoveBlockHook.3 \
278 XtAppInitialize.3 XtVaAppInitialize.3 \
279 XtSessionGetToken.3 XtSessionReturnToken.3
281 MLINKS+= XtErrorMsg.3 XtSetErrorMsgHandler.3 \
282 XtErrorMsg.3 XtSetWarningMsgHandler.3 \
283 XtErrorMsg.3 XtWarningMsg.3
285 MLINKS+= XtError.3 XtSetErrorHandler.3 \
286 XtError.3 XtSetWarningHandler.3 \
287 XtError.3 XtWarning.3
289 MLINKS+= XtGetErrorDatabase.3 XtGetErrorDatabaseText.3 \
290 XtGetSelectionValueIncremental.3 XtGetSelectionValuesIncremental.3 \
291 XtGetSelectionTimeout.3 XtSetSelectionTimeout.3
293 MLINKS+= XtCreateSelectionRequest.3 XtSendSelectionRequest.3 \
294 XtCreateSelectionRequest.3 XtCancelSelectionRequest.3
296 MLINKS+= XtReservePropertyAtom.3 XtReleasePropertyAtom.3
298 MLINKS+= XtGrabKey.3 XtUngrabKey.3 \
299 XtGrabKey.3 XtGrabKeyboard.3 \
300 XtGrabKey.3 XtUngrabKeyboard.3 \
301 XtGrabKey.3 XtGrabButton.3 \
302 XtGrabKey.3 XtUngrabButton.3 \
303 XtGrabKey.3 XtGrabPointer.3 \
304 XtGrabKey.3 XtUngrabPointer.3
306 MLINKS+= XtRegisterDrawable.3 XtUnregisterDrawable.3 \
307 XtAppSetExitFlag.3 XtAppGetExitFlag.3 \
308 XtAppLock.3 XtAppUnlock.3 \
309 XtProcessLock.3 XtProcessUnlock.3 \
310 XtOpenApplication.3 XtVaOpenApplication.3
312 PKGDIST= ${LIB}
314 CWARNFLAGS.clang+= -Wno-tautological-compare
316 .include <bsd.x11.mk>
317 .include <bsd.lib.mk>