1 # $NetBSD: Makefile,v 1.2 2008/09/13 04:32:31 cube Exp $
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 CPPFLAGS
+= -DUSE_POLL
-DUSE_SNPRINTF
-DLIBXT
-I.
34 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
\"
35 CPPFLAGS.Error.c
= -DERRORDB
=\"${X11LIBDIR}/XtErrorDB
\" \
36 -DXTERROR_PREFIX
=\"\" -DXTWARNING_PREFIX
=\"\"
37 CPPFLAGS.TMkey.c
= -DXKB
40 X11
${.CURDIR
}/..
/libX11
/dynamic \
41 SM
${.CURDIR
}/..
/libSM \
42 ICE
${.CURDIR
}/..
/libICE
44 .
include "${NETBSDSRCDIR}/external/mit/xorg/tools/makestrs/Makefile.makestrs"
46 STRINGS_FILES
= StringDefs.c StringDefs.h Shell.h
47 STRINGS_TMPLS
= util
/StrDefs.ct util
/StrDefs.ht util
/Shell.ht
48 STRINGS_LIST
= util
/string.list
50 ${STRINGS_FILES}: strings_files.stamp
51 strings_files.stamp
: ${MAKESTRS} ${STRINGS_LIST} ${STRINGS_TMPLS}
52 ${_MKMSG_CREATE} ${STRINGS_FILES}
53 rm -f
${.TARGET
} ${STRINGS_FILES}
55 ln
-s
${X11SRCDIR.Xt
}/util util
56 ${MAKESTRS} -i .
< ${STRINGS_LIST} > StringDefs.c
58 CLEANFILES
+= ${STRINGS_FILES} util strings_files.stamp
59 DPSRCS
+= ${STRINGS_FILES}
61 MAN
= XtAddActions
.3 XtAddCallback
.3 XtAddEventHandler
.3 \
62 XtAddExposureToRegion
.3 XtAddGrab
.3 XtAddInput
.3 XtAllocateGC
.3 \
63 XtAppAddActionHook
.3 XtAppAddActions
.3 XtAppAddBlockHook
.3 \
64 XtAppAddConverter
.3 XtAppAddInput
.3 XtAppAddSignal
.3 \
65 XtAppAddTimeOut
.3 XtAppAddWorkProc
.3 XtAppCreateShell
.3 \
66 XtAppError
.3 XtAppErrorMsg
.3 XtAppGetErrorDatabase
.3 \
67 XtAppGetSelectionTimeout
.3 XtAppInitialize
.3 XtAppLock
.3 \
68 XtAppNextEvent
.3 XtAppReleaseCacheRefs
.3 XtAppSetExitFlag
.3 \
69 XtAppSetFallbackResources
.3 XtAppSetTypeConverter
.3 \
70 XtBuildEventMask
.3 XtCallAcceptFocus
.3 XtCallActionProc
.3 \
71 XtCallCallbacks
.3 XtClass
.3 XtConfigureWidget
.3 XtConvert
.3 \
72 XtConvertAndStore
.3 XtCreateApplicationContext
.3 \
73 XtCreateApplicationShell
.3 XtCreatePopupShell
.3 \
74 XtCreateSelectionRequest
.3 XtCreateWidget
.3 XtCreateWindow
.3 \
75 XtDisplay
.3 XtDisplayInitialize
.3 XtDisplayStringConversionWarning
.3 \
76 XtDisplayToApplicationContext
.3 XtError
.3 XtErrorMsg
.3 XtFindFile
.3 \
77 XtGetActionKeysym
.3 XtGetActionList
.3 XtGetApplicationNameAndClass
.3 \
78 XtGetApplicationResources
.3 XtGetClassExtension
.3 XtGetDisplays
.3 \
79 XtGetErrorDatabase
.3 XtGetGC
.3 XtGetKeyboardFocusWidget
.3 \
80 XtGetKeysymTable
.3 XtGetResourceList
.3 XtGetSelectionParameters
.3 \
81 XtGetSelectionRequest
.3 XtGetSelectionTimeout
.3 XtGetSelectionValue
.3 \
82 XtGetSelectionValueIncremental
.3 XtGetSubresources
.3 XtGrabKey
.3 \
83 XtHooksOfDisplay
.3 XtInitialize
.3 XtInitializeWidgetClass
.3 \
84 XtInsertEventTypeHandler
.3 XtLastEventProcessed
.3 \
85 XtMakeGeometryRequest
.3 XtMalloc
.3 XtManageChildren
.3 XtMapWidget
.3 \
86 XtName
.3 XtNameToWidget
.3 XtNextEvent
.3 XtOffset
.3 \
87 XtOpenApplication
.3 XtOwnSelection
.3 XtParent
.3 \
88 XtParseAcceleratorTable
.3 XtParseTranslationTable
.3 XtPopdown
.3 \
89 XtPopup
.3 XtProcessLock
.3 XtQueryGeometry
.3 XtRealizeWidget
.3 \
90 XtRegisterDrawable
.3 XtRegisterGrabAction
.3 XtReservePropertyAtom
.3 \
91 XtResolvePathname
.3 XtSessionGetToken
.3 XtSetArg
.3 \
92 XtSetKeyTranslator
.3 XtSetKeyboardFocus
.3 XtSetLanguageProc
.3 \
93 XtSetMultiClickTime
.3 XtSetSelectionParameters
.3 XtSetSensitive
.3 \
94 XtSetValues
.3 XtSetWMColormapWindows
.3 XtStringConversionWarning
.3 \
95 XtToolkitThreadInitialize
.3 XtTranslateCoords
.3 XtVaCreateArgsList
.3
97 MLINKS
= XtAddCallback
.3 XtAddCallbacks
.3 \
98 XtAddCallback
.3 XtRemoveCallback
.3 \
99 XtAddCallback
.3 XtRemoveCallbacks
.3 \
100 XtAddCallback
.3 XtRemoveAllCallbacks
.3
102 MLINKS
+= XtAddEventHandler
.3 XtAddRawEventHandler
.3 \
103 XtAddEventHandler
.3 XtRemoveEventHandler
.3 \
104 XtAddEventHandler
.3 XtRemoveRawEventHandler
.3 \
105 XtAddEventHandler
.3 XtInsertEventHandler
.3 \
106 XtAddEventHandler
.3 XtInsertRawEventHandler
.3
108 MLINKS
+= XtAddGrab
.3 XtRemoveGrab
.3 \
109 XtAppAddConverter
.3 XtAddConverter
.3 \
110 XtAppAddInput
.3 XtRemoveInput
.3 \
111 XtAppAddTimeOut
.3 XtRemoveTimeOut
.3 \
112 XtAppAddWorkProc
.3 XtRemoveWorkProc
.3 \
113 XtAppCreateShell
.3 XtVaAppCreateShell
.3
115 MLINKS
+= XtAppError
.3 XtAppSetErrorHandler
.3 \
116 XtAppError
.3 XtAppSetWarningHandler
.3 \
117 XtAppError
.3 XtAppWarning
.3
119 MLINKS
+= XtAppErrorMsg
.3 XtAppSetErrorMsgHandler
.3 \
120 XtAppErrorMsg
.3 XtAppSetWarningMsgHandler
.3 \
121 XtAppErrorMsg
.3 XtAppWarningMsg
.3
123 MLINKS
+= XtAppGetErrorDatabase
.3 XtAppGetErrorDatabaseText
.3 \
124 XtAppGetSelectionTimeout
.3 XtAppSetSelectionTimeout
.3
126 MLINKS
+= XtAppNextEvent
.3 XtAppPending
.3 \
127 XtAppNextEvent
.3 XtAppPeekEvent
.3 \
128 XtAppNextEvent
.3 XtAppProcessEvent
.3 \
129 XtAppNextEvent
.3 XtDispatchEvent
.3 \
130 XtAppNextEvent
.3 XtAppMainLoop
.3
132 MLINKS
+= XtNextEvent
.3 XtPending
.3 \
133 XtNextEvent
.3 XtPeekEvent
.3 \
134 XtNextEvent
.3 XtProcessEvent
.3 \
135 XtNextEvent
.3 XtMainLoop
.3
137 MLINKS
+= XtCallCallbacks
.3 XtCallCallbackList
.3 \
138 XtCallCallbacks
.3 XtHasCallbacks
.3
140 MLINKS
+= XtClass
.3 XtSuperclass
.3 \
141 XtClass
.3 XtIsSubclass
.3 \
142 XtClass
.3 XtCheckSubclass
.3 \
143 XtClass
.3 XtIsObject
.3 \
144 XtClass
.3 XtIsRectObj
.3 \
145 XtClass
.3 XtIsWidget
.3 \
146 XtClass
.3 XtIsComposite
.3 \
147 XtClass
.3 XtIsConstraint
.3 \
148 XtClass
.3 XtIsShell
.3 \
149 XtClass
.3 XtIsOverrideShell
.3 \
150 XtClass
.3 XtIsWMShell
.3 \
151 XtClass
.3 XtIsVendorShell
.3 \
152 XtClass
.3 XtIsTransientShell
.3 \
153 XtClass
.3 XtIsTopLevelShell
.3 \
154 XtClass
.3 XtIsApplicationShell
.3 \
155 XtClass
.3 XtIsSessionShell
.3
157 MLINKS
+= XtConfigureWidget
.3 XtMoveWidget
.3 \
158 XtConfigureWidget
.3 XtResizeWidget
.3
160 MLINKS
+= XtConvert
.3 XtDirectConvert
.3 \
161 XtConvertAndStore
.3 XtCallConverter
.3
163 MLINKS
+= XtCreateApplicationContext
.3 XtDestroyApplicationContext
.3 \
164 XtCreateApplicationContext
.3 XtWidgetToApplicationContext
.3 \
165 XtCreateApplicationContext
.3 XtToolkitInitialize
.3
167 MLINKS
+= XtCreatePopupShell
.3 XtVaCreatePopupShell
.3
169 MLINKS
+= XtCreateWidget
.3 XtVaCreateWidget
.3 \
170 XtCreateWidget
.3 XtCreateManagedWidget
.3 \
171 XtCreateWidget
.3 XtVaCreateManagedWidget
.3 \
172 XtCreateWidget
.3 XtDestroyWidget
.3
174 MLINKS
+= XtDisplay
.3 XtDisplayOfObject
.3 \
175 XtDisplay
.3 XtScreen
.3 \
176 XtDisplay
.3 XtScreenOfObject
.3 \
177 XtDisplay
.3 XtWindow
.3 \
178 XtDisplay
.3 XtWindowOfObject
.3
180 MLINKS
+= XtDisplayInitialize
.3 XtOpenDisplay
.3 \
181 XtDisplayInitialize
.3 XtCloseDisplay
.3 \
182 XtDisplayInitialize
.3 XtDatabase
.3 \
183 XtDisplayInitialize
.3 XtScreenDatabase
.3
185 MLINKS
+= XtGetGC
.3 XtReleaseGC
.3 \
186 XtGetResourceList
.3 XtGetConstraintResourceList
.3 \
187 XtGetSelectionValue
.3 XtGetSelectionValues
.3 \
188 XtGetSubresources
.3 XtVaGetSubresources
.3 \
189 XtGetApplicationResources
.3 XtVaGetApplicationResources
.3 \
190 XtMakeGeometryRequest
.3 XtMakeResizeRequest
.3
192 MLINKS
+= XtMalloc
.3 XtCalloc
.3 \
193 XtMalloc
.3 XtRealloc
.3 \
194 XtMalloc
.3 XtFree
.3 \
196 XtMalloc
.3 XtNewString
.3
198 MLINKS
+= XtManageChildren
.3 XtManageChild
.3 \
199 XtManageChildren
.3 XtUnmanageChildren
.3 \
200 XtManageChildren
.3 XtUnmanageChild
.3 \
201 XtManageChildren
.3 XtIsManaged
.3 \
202 XtManageChildren
.3 XtChangeManagedSet
.3
204 MLINKS
+= XtMapWidget
.3 XtSetMappedWhenManaged
.3 \
205 XtMapWidget
.3 XtUnmapWidget
.3
207 MLINKS
+= XtNameToWidget
.3 XtWindowToWidget
.3
209 MLINKS
+= XtOffset
.3 XtOffsetOf
.3 \
210 XtOffset
.3 XtNumber
.3
212 MLINKS
+= XtOwnSelection
.3 XtOwnSelectionIncremental
.3 \
213 XtOwnSelection
.3 XtDisownSelection
.3
215 MLINKS
+= XtParseAcceleratorTable
.3 XtInstallAccelerators
.3 \
216 XtParseAcceleratorTable
.3 XtInstallAllAccelerators
.3
218 MLINKS
+= XtParseTranslationTable
.3 XtAugmentTranslations
.3 \
219 XtParseTranslationTable
.3 XtOverrideTranslations
.3 \
220 XtParseTranslationTable
.3 XtUninstallTranslations
.3
222 MLINKS
+= XtPopdown
.3 XtCallbackPopdown
.3 \
223 XtPopdown
.3 MenuPopdown
.3
225 MLINKS
+= XtPopup
.3 XtPopupSpringLoaded
.3 \
226 XtPopup
.3 XtCallbackNone
.3 \
227 XtPopup
.3 XtCallbackNonexclusive
.3 \
228 XtPopup
.3 XtCallbackExclusive
.3 \
229 XtPopup
.3 MenuPopup
.3
231 MLINKS
+= XtRealizeWidget
.3 XtIsRealized
.3 \
232 XtRealizeWidget
.3 XtUnrealizeWidget
.3
234 MLINKS
+= XtSetArg
.3 XtMergeArgLists
.3
236 MLINKS
+= XtSetKeyTranslator
.3 XtTranslateKeycode
.3 \
237 XtSetKeyTranslator
.3 XtRegisterCaseConverter
.3 \
238 XtSetKeyTranslator
.3 XtConvertCase
.3
240 MLINKS
+= XtSetSensitive
.3 XtIsSensitive
.3
242 MLINKS
+= XtSetValues
.3 XtVaSetValues
.3 \
243 XtSetValues
.3 XtSetSubvalues
.3 \
244 XtSetValues
.3 XtGetValues
.3 \
245 XtSetValues
.3 XtVaGetValues
.3 \
246 XtSetValues
.3 XtGetSubvalues
.3 \
247 XtSetValues
.3 XtVaGetSubvalues
.3 \
248 XtSetValues
.3 XtVaSetSubvalues
.3
250 MLINKS
+= XtGetKeysymTable
.3 XtKeysymToKeycodeList
.3 \
251 XtAppSetTypeConverter
.3 XtSetTypeConverter
.3 \
252 XtAppAddActionHook
.3 XtRemoveActionHook
.3 \
253 XtSetMultiClickTime
.3 XtGetMultiClickTime
.3
255 MLINKS
+= XtInsertEventTypeHandler
.3 XtRemoveEventTypeHandler
.3 \
256 XtInsertEventTypeHandler
.3 XtRegisterExtensionSelector
.3 \
257 XtInsertEventTypeHandler
.3 XtSetEventDispatcher
.3 \
258 XtInsertEventTypeHandler
.3 XtDispatchEventToWidget
.3
260 MLINKS
+= XtLastEventProcessed
.3 XtLastTimestampProcessed
.3
262 MLINKS
+= XtAppAddSignal
.3 XtNoticeSignal
.3 \
263 XtAppAddSignal
.3 XtRemoveSignal
.3
265 MLINKS
+= XtAddInput
.3 XtAddTimeOut
.3 \
266 XtAddInput
.3 XtAddWorkProc
.3
268 MLINKS
+= XtAppAddBlockHook
.3 XtRemoveBlockHook
.3 \
269 XtAppInitialize
.3 XtVaAppInitialize
.3 \
270 XtSessionGetToken
.3 XtSessionReturnToken
.3
272 MLINKS
+= XtErrorMsg
.3 XtSetErrorMsgHandler
.3 \
273 XtErrorMsg
.3 XtSetWarningMsgHandler
.3 \
274 XtErrorMsg
.3 XtWarningMsg
.3
276 MLINKS
+= XtError
.3 XtSetErrorHandler
.3 \
277 XtError
.3 XtSetWarningHandler
.3 \
278 XtError
.3 XtWarning
.3
280 MLINKS
+= XtGetErrorDatabase
.3 XtGetErrorDatabaseText
.3 \
281 XtGetSelectionValueIncremental
.3 XtGetSelectionValuesIncremental
.3 \
282 XtGetSelectionTimeout
.3 XtSetSelectionTimeout
.3
284 MLINKS
+= XtCreateSelectionRequest
.3 XtSendSelectionRequest
.3 \
285 XtCreateSelectionRequest
.3 XtCancelSelectionRequest
.3
287 MLINKS
+= XtReservePropertyAtom
.3 XtReleasePropertyAtom
.3
289 MLINKS
+= XtGrabKey
.3 XtUngrabKey
.3 \
290 XtGrabKey
.3 XtGrabKeyboard
.3 \
291 XtGrabKey
.3 XtUngrabKeyboard
.3 \
292 XtGrabKey
.3 XtGrabButton
.3 \
293 XtGrabKey
.3 XtUngrabButton
.3 \
294 XtGrabKey
.3 XtGrabPointer
.3 \
295 XtGrabKey
.3 XtUngrabPointer
.3
297 MLINKS
+= XtRegisterDrawable
.3 XtUnregisterDrawable
.3 \
298 XtAppSetExitFlag
.3 XtAppGetExitFlag
.3 \
299 XtAppLock
.3 XtAppUnlock
.3 \
300 XtProcessLock
.3 XtProcessUnlock
.3 \
301 XtOpenApplication
.3 XtVaOpenApplication
.3
305 .
include <bsd.x11.mk
>
306 .
include <bsd.lib.mk
>