head	1.8;
access;
symbols
	netbsd-11-0-RC5:1.8
	netbsd-11-0-RC4:1.8
	netbsd-11-0-RC3:1.8
	netbsd-11-0-RC2:1.8
	netbsd-11-0-RC1:1.8
	perseant-exfatfs-base-20250801:1.8
	netbsd-11:1.8.0.4
	netbsd-11-base:1.8
	netbsd-10-1-RELEASE:1.7
	perseant-exfatfs-base-20240630:1.8
	perseant-exfatfs:1.8.0.2
	perseant-exfatfs-base:1.8
	netbsd-8-3-RELEASE:1.6
	netbsd-9-4-RELEASE:1.7
	netbsd-10-0-RELEASE:1.7
	netbsd-10-0-RC6:1.7
	netbsd-10-0-RC5:1.7
	netbsd-10-0-RC4:1.7
	netbsd-10-0-RC3:1.7
	netbsd-10-0-RC2:1.7
	netbsd-10-0-RC1:1.7
	netbsd-10:1.7.0.10
	netbsd-10-base:1.7
	netbsd-9-3-RELEASE:1.7
	cjep_sun2x-base1:1.7
	cjep_sun2x:1.7.0.8
	cjep_sun2x-base:1.7
	cjep_staticlib_x-base1:1.7
	netbsd-9-2-RELEASE:1.7
	cjep_staticlib_x:1.7.0.6
	cjep_staticlib_x-base:1.7
	netbsd-9-1-RELEASE:1.7
	phil-wifi-20200421:1.7
	phil-wifi-20200411:1.7
	is-mlppp:1.7.0.4
	is-mlppp-base:1.7
	phil-wifi-20200406:1.7
	netbsd-8-2-RELEASE:1.6
	netbsd-9-0-RELEASE:1.7
	netbsd-9-0-RC2:1.7
	netbsd-9-0-RC1:1.7
	phil-wifi-20191119:1.7
	netbsd-9:1.7.0.2
	netbsd-9-base:1.7
	phil-wifi-20190609:1.6
	netbsd-8-1-RELEASE:1.6
	netbsd-8-1-RC1:1.6
	pgoyette-compat-merge-20190127:1.6
	pgoyette-compat-20190127:1.6
	pgoyette-compat-20190118:1.6
	pgoyette-compat-1226:1.6
	pgoyette-compat-1126:1.6
	pgoyette-compat-1020:1.6
	pgoyette-compat-0930:1.6
	pgoyette-compat-0906:1.6
	netbsd-7-2-RELEASE:1.5
	pgoyette-compat-0728:1.6
	netbsd-8-0-RELEASE:1.6
	phil-wifi:1.6.0.16
	phil-wifi-base:1.6
	pgoyette-compat-0625:1.6
	netbsd-8-0-RC2:1.6
	pgoyette-compat-0521:1.6
	pgoyette-compat-0502:1.6
	pgoyette-compat-0422:1.6
	netbsd-8-0-RC1:1.6
	pgoyette-compat-0415:1.6
	pgoyette-compat-0407:1.6
	pgoyette-compat-0330:1.6
	pgoyette-compat-0322:1.6
	pgoyette-compat-0315:1.6
	netbsd-7-1-2-RELEASE:1.5
	pgoyette-compat:1.6.0.14
	pgoyette-compat-base:1.6
	netbsd-7-1-1-RELEASE:1.5
	matt-nb8-mediatek:1.6.0.12
	matt-nb8-mediatek-base:1.6
	perseant-stdc-iso10646:1.6.0.10
	perseant-stdc-iso10646-base:1.6
	netbsd-8:1.6.0.8
	netbsd-8-base:1.6
	prg-localcount2-base3:1.6
	prg-localcount2-base2:1.6
	prg-localcount2-base1:1.6
	prg-localcount2:1.6.0.6
	prg-localcount2-base:1.6
	pgoyette-localcount-20170426:1.6
	bouyer-socketcan-base1:1.6
	pgoyette-localcount-20170320:1.6
	netbsd-7-1:1.5.0.26
	netbsd-7-1-RELEASE:1.5
	netbsd-7-1-RC2:1.5
	netbsd-7-nhusb-base-20170116:1.5
	bouyer-socketcan:1.6.0.4
	bouyer-socketcan-base:1.6
	pgoyette-localcount-20170107:1.6
	netbsd-7-1-RC1:1.5
	pgoyette-localcount-20161104:1.6
	netbsd-7-0-2-RELEASE:1.5
	localcount-20160914:1.6
	netbsd-7-nhusb:1.5.0.24
	netbsd-7-nhusb-base:1.5
	pgoyette-localcount-20160806:1.6
	pgoyette-localcount-20160726:1.6
	pgoyette-localcount:1.6.0.2
	pgoyette-localcount-base:1.6
	netbsd-7-0-1-RELEASE:1.5
	netbsd-7-0:1.5.0.22
	netbsd-7-0-RELEASE:1.5
	netbsd-7-0-RC3:1.5
	netbsd-7-0-RC2:1.5
	netbsd-7-0-RC1:1.5
	netbsd-5-2-3-RELEASE:1.3
	netbsd-5-1-5-RELEASE:1.3
	netbsd-6-0-6-RELEASE:1.5
	netbsd-6-1-5-RELEASE:1.5
	netbsd-7:1.5.0.20
	netbsd-7-base:1.5
	yamt-pagecache-base9:1.5
	yamt-pagecache-tag8:1.5
	netbsd-6-1-4-RELEASE:1.5
	netbsd-6-0-5-RELEASE:1.5
	tls-earlyentropy:1.5.0.18
	tls-earlyentropy-base:1.5
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.5
	riastradh-drm2-base3:1.5
	netbsd-6-1-3-RELEASE:1.5
	netbsd-6-0-4-RELEASE:1.5
	netbsd-5-2-2-RELEASE:1.3
	netbsd-5-1-4-RELEASE:1.3
	netbsd-6-1-2-RELEASE:1.5
	netbsd-6-0-3-RELEASE:1.5
	netbsd-5-2-1-RELEASE:1.3
	netbsd-5-1-3-RELEASE:1.3
	netbsd-6-1-1-RELEASE:1.5
	riastradh-drm2-base2:1.5
	riastradh-drm2-base1:1.5
	riastradh-drm2:1.5.0.12
	riastradh-drm2-base:1.5
	netbsd-6-1:1.5.0.16
	netbsd-6-0-2-RELEASE:1.5
	netbsd-6-1-RELEASE:1.5
	netbsd-6-1-RC4:1.5
	netbsd-6-1-RC3:1.5
	agc-symver:1.5.0.14
	agc-symver-base:1.5
	netbsd-6-1-RC2:1.5
	netbsd-6-1-RC1:1.5
	yamt-pagecache-base8:1.5
	netbsd-5-2:1.3.0.2
	netbsd-6-0-1-RELEASE:1.5
	yamt-pagecache-base7:1.5
	netbsd-5-2-RELEASE:1.3
	netbsd-5-2-RC1:1.3
	matt-nb6-plus-nbase:1.5
	yamt-pagecache-base6:1.5
	netbsd-6-0:1.5.0.10
	netbsd-6-0-RELEASE:1.5
	netbsd-6-0-RC2:1.5
	tls-maxphys:1.5.0.8
	tls-maxphys-base:1.5
	matt-nb6-plus:1.5.0.6
	matt-nb6-plus-base:1.5
	netbsd-6-0-RC1:1.5
	yamt-pagecache-base5:1.5
	yamt-pagecache-base4:1.5
	netbsd-6:1.5.0.4
	netbsd-6-base:1.5
	netbsd-5-1-2-RELEASE:1.3
	netbsd-5-1-1-RELEASE:1.3
	yamt-pagecache-base3:1.5
	yamt-pagecache-base2:1.5
	yamt-pagecache:1.5.0.2
	yamt-pagecache-base:1.5
	cherry-xenmp:1.3.0.20
	cherry-xenmp-base:1.3
	bouyer-quota2-nbase:1.3
	bouyer-quota2:1.3.0.18
	bouyer-quota2-base:1.3
	matt-mips64-premerge-20101231:1.3
	matt-nb5-mips64-premerge-20101231:1.3
	matt-nb5-pq3:1.3.0.16
	matt-nb5-pq3-base:1.3
	netbsd-5-1:1.3.0.14
	netbsd-5-1-RELEASE:1.3
	netbsd-5-1-RC4:1.3
	matt-nb5-mips64-k15:1.3
	netbsd-5-1-RC3:1.3
	netbsd-5-1-RC2:1.3
	netbsd-5-1-RC1:1.3
	netbsd-5-0-2-RELEASE:1.3
	matt-nb5-mips64-premerge-20091211:1.3
	matt-premerge-20091211:1.3
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.3
	matt-nb4-mips64-k7-u2a-k9b:1.3
	matt-nb5-mips64-u1-k1-k5:1.3
	matt-nb5-mips64:1.3.0.12
	netbsd-5-0-1-RELEASE:1.3
	jym-xensuspend-nbase:1.3
	netbsd-5-0:1.3.0.10
	netbsd-5-0-RELEASE:1.3
	netbsd-5-0-RC4:1.3
	netbsd-5-0-RC3:1.3
	netbsd-5-0-RC2:1.3
	jym-xensuspend:1.3.0.8
	jym-xensuspend-base:1.3
	netbsd-5-0-RC1:1.3
	haad-dm-base:1.3
	haad-dm-base2:1.3
	haad-nbase2:1.3
	netbsd-5:1.3.0.6
	netbsd-5-base:1.3
	matt-mips64-base2:1.3
	haad-dm:1.3.0.4
	haad-dm-base1:1.3
	wrstuden-revivesa-base-3:1.2
	wrstuden-revivesa:1.2.0.2
	wrstuden-revivesa-base-2:1.1.1.1
	oinkoink:1.1.1.1
	mrg-and-rtr:1.1.1;
locks; strict;
comment	@# @;


1.8
date	2023.06.19.07.21.17;	author mrg;	state Exp;
branches;
next	1.7;
commitid	WkIrktXeiCxXLwtE;

1.7
date	2019.07.11.05.44.07;	author mrg;	state Exp;
branches;
next	1.6;
commitid	ibi4xeRMOrUruAuB;

1.6
date	2015.07.19.07.55.08;	author mrg;	state Exp;
branches
	1.6.16.1;
next	1.5;
commitid	NUEqIPCbvdJ4VRty;

1.5
date	2011.08.11.23.15.39;	author joerg;	state Exp;
branches;
next	1.4;

1.4
date	2011.07.23.12.27.41;	author mrg;	state Exp;
branches;
next	1.3;

1.3
date	2008.10.04.20.53.13;	author cube;	state Exp;
branches
	1.3.4.1;
next	1.2;

1.2
date	2008.09.13.04.32.31;	author cube;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	2008.07.29.05.01.22;	author mrg;	state Exp;
branches
	1.1.1.1;
next	;

1.6.16.1
date	2020.04.13.08.02.32;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.3.4.1
date	2008.10.04.20.53.13;	author haad;	state dead;
branches;
next	1.3.4.2;

1.3.4.2
date	2008.10.19.22.41.11;	author haad;	state Exp;
branches;
next	;

1.2.2.1
date	2008.09.13.04.32.31;	author wrstuden;	state dead;
branches;
next	1.2.2.2;

1.2.2.2
date	2008.09.18.05.18.38;	author wrstuden;	state Exp;
branches;
next	1.2.2.3;

1.2.2.3
date	2008.09.24.16.35.05;	author wrstuden;	state Exp;
branches;
next	;

1.1.1.1
date	2008.07.29.05.01.22;	author mrg;	state Exp;
branches;
next	;


desc
@@


1.8
log
@transform XFILESEARCHPATHDEFAULT in the pkg-config file.
@
text
@#	$NetBSD: Makefile,v 1.7 2019/07/11 05:44:07 mrg Exp $

.include <bsd.own.mk>

LIB=	Xt
.PATH:	${X11SRCDIR.${LIB}}/include/X11
.PATH:	${X11SRCDIR.${LIB}}/src
.PATH:	${X11SRCDIR.${LIB}}/man
.PATH:	${X11SRCDIR.${LIB}}

SRCS=	ActionHook.c Alloc.c ArgList.c Callback.c ClickTime.c \
	Composite.c Constraint.c Convert.c Converters.c Core.c \
	Create.c Destroy.c Display.c Error.c Event.c EventUtil.c \
	Functions.c GCManager.c Geometry.c GetActKey.c GetResList.c \
	GetValues.c HookObj.c Hooks.c Initialize.c Intrinsic.c \
	Keyboard.c Manage.c NextEvent.c Object.c PassivGrab.c \
	Pointer.c Popup.c PopupCB.c RectObj.c ResConfig.c Resources.c \
	Selection.c SetSens.c SetValues.c SetWMCW.c Shell.c \
	StringDefs.c TMaction.c TMgrab.c TMkey.c TMparse.c TMprint.c \
	TMstate.c Threads.c VarCreate.c VarGet.c Varargs.c Vendor.c

INCS=	CallbackI.h Composite.h CompositeP.h ConstrainP.h Constraint.h \
	ConvertI.h Core.h CoreP.h CreateI.h EventI.h HookObjI.h InitialI.h \
	Intrinsic.h IntrinsicI.h IntrinsicP.h Object.h ObjectP.h \
	PassivGraI.h RectObj.h RectObjP.h ResConfigP.h ResourceI.h \
	SelectionI.h Shell.h ShellI.h ShellP.h StringDefs.h ThreadsI.h \
	TranslateI.h VarargsI.h Vendor.h VendorP.h Xtos.h
INCSDIR=${X11INCDIR}/X11

CPPFLAGS+=	${X11FLAGS.THREADLIB}
CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/X11
CPPFLAGS+=	-DUSE_POLL -DUSE_SNPRINTF -DLIBXT -I.
CPPFLAGS+=	-DHAVE_ASPRINTF -D_CONST_X_STRING

XFILESEARCHPATHDEFAULT=${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
CPPFLAGS.Intrinsic.c=	-DXFILESEARCHPATHDEFAULT=\"${XFILESEARCHPATHDEFAULT}\"
CPPFLAGS.Error.c=	-DERRORDB=\"${X11LIBDIR}/XtErrorDB\" \
			-DXTERROR_PREFIX=\"\" -DXTWARNING_PREFIX=\"\"
CPPFLAGS.TMkey.c=	-DXKB

LIBDPLIBS=\
	X11	${.CURDIR}/../libX11/dynamic \
	SM	${.CURDIR}/../libSM \
	ICE	${.CURDIR}/../libICE

.include "${NETBSDSRCDIR}/external/mit/xorg/tools/makestrs/Makefile.makestrs"

STRINGS_FILES=	StringDefs.c StringDefs.h Shell.h
STRINGS_TMPLS=	util/StrDefs.ct util/StrDefs.ht util/Shell.ht
STRINGS_LIST=	util/string.list

${STRINGS_FILES}: strings_files.stamp
strings_files.stamp: ${MAKESTRS} ${STRINGS_LIST} ${STRINGS_TMPLS}
	${_MKMSG_CREATE} ${STRINGS_FILES}
	rm -f ${.TARGET} ${STRINGS_FILES}
	rm -f util
	ln -s ${X11SRCDIR.Xt}/util util
	${MAKESTRS} -i . < ${STRINGS_LIST} > StringDefs.c
	touch ${.TARGET}
CLEANFILES+=	${STRINGS_FILES} util strings_files.stamp
DPSRCS+=	${STRINGS_FILES}

MAN=	XtAddActions.3 XtAddCallback.3 XtAddEventHandler.3 \
	XtAddExposureToRegion.3 XtAddGrab.3 XtAddInput.3 XtAllocateGC.3 \
	XtAppAddActionHook.3 XtAppAddActions.3 XtAppAddBlockHook.3 \
	XtAppAddConverter.3 XtAppAddInput.3 XtAppAddSignal.3 \
	XtAppAddTimeOut.3 XtAppAddWorkProc.3 XtAppCreateShell.3 \
	XtAppError.3 XtAppErrorMsg.3 XtAppGetErrorDatabase.3 \
	XtAppGetSelectionTimeout.3 XtAppInitialize.3 XtAppLock.3 \
	XtAppNextEvent.3 XtAppReleaseCacheRefs.3 XtAppSetExitFlag.3 \
	XtAppSetFallbackResources.3 XtAppSetTypeConverter.3 \
	XtBuildEventMask.3 XtCallAcceptFocus.3 XtCallActionProc.3 \
	XtCallCallbacks.3 XtClass.3 XtConfigureWidget.3 XtConvert.3 \
	XtConvertAndStore.3 XtCreateApplicationContext.3 \
	XtCreateApplicationShell.3 XtCreatePopupShell.3 \
	XtCreateSelectionRequest.3 XtCreateWidget.3 XtCreateWindow.3 \
	XtDisplay.3 XtDisplayInitialize.3 XtDisplayStringConversionWarning.3 \
	XtDisplayToApplicationContext.3 XtError.3 XtErrorMsg.3 XtFindFile.3 \
	XtGetActionKeysym.3 XtGetActionList.3 XtGetApplicationNameAndClass.3 \
	XtGetApplicationResources.3 XtGetClassExtension.3 XtGetDisplays.3 \
	XtGetErrorDatabase.3 XtGetGC.3 XtGetKeyboardFocusWidget.3 \
	XtGetKeysymTable.3 XtGetResourceList.3 XtGetSelectionParameters.3 \
	XtGetSelectionRequest.3 XtGetSelectionTimeout.3 XtGetSelectionValue.3 \
	XtGetSelectionValueIncremental.3 XtGetSubresources.3 XtGrabKey.3 \
	XtHooksOfDisplay.3 XtInitialize.3 XtInitializeWidgetClass.3 \
	XtInsertEventTypeHandler.3 XtLastEventProcessed.3 \
	XtMakeGeometryRequest.3 XtMalloc.3 XtManageChildren.3 XtMapWidget.3 \
	XtName.3 XtNameToWidget.3 XtNextEvent.3 XtOffset.3 \
	XtOpenApplication.3 XtOwnSelection.3 XtParent.3 \
	XtParseAcceleratorTable.3 XtParseTranslationTable.3 XtPopdown.3 \
	XtPopup.3 XtProcessLock.3 XtQueryGeometry.3 XtRealizeWidget.3 \
	XtRegisterDrawable.3 XtRegisterGrabAction.3 XtReservePropertyAtom.3 \
	XtResolvePathname.3 XtSessionGetToken.3 XtSetArg.3 \
	XtSetKeyTranslator.3 XtSetKeyboardFocus.3 XtSetLanguageProc.3 \
	XtSetMultiClickTime.3 XtSetSelectionParameters.3 XtSetSensitive.3 \
	XtSetValues.3 XtSetWMColormapWindows.3 XtStringConversionWarning.3 \
	XtToolkitThreadInitialize.3 XtTranslateCoords.3 XtVaCreateArgsList.3

MLINKS= 	XtAddCallback.3 XtAddCallbacks.3 \
		XtAddCallback.3 XtRemoveCallback.3 \
		XtAddCallback.3 XtRemoveCallbacks.3 \
		XtAddCallback.3 XtRemoveAllCallbacks.3

MLINKS+=	XtAddEventHandler.3 XtAddRawEventHandler.3 \
		XtAddEventHandler.3 XtRemoveEventHandler.3 \
		XtAddEventHandler.3 XtRemoveRawEventHandler.3 \
		XtAddEventHandler.3 XtInsertEventHandler.3 \
		XtAddEventHandler.3 XtInsertRawEventHandler.3

MLINKS+=	XtAddGrab.3 XtRemoveGrab.3 \
		XtAppAddConverter.3 XtAddConverter.3 \
		XtAppAddInput.3 XtRemoveInput.3 \
		XtAppAddTimeOut.3 XtRemoveTimeOut.3 \
		XtAppAddWorkProc.3 XtRemoveWorkProc.3 \
		XtAppCreateShell.3 XtVaAppCreateShell.3

MLINKS+=	XtAppError.3 XtAppSetErrorHandler.3 \
		XtAppError.3 XtAppSetWarningHandler.3 \
		XtAppError.3 XtAppWarning.3

MLINKS+=	XtAppErrorMsg.3 XtAppSetErrorMsgHandler.3 \
		XtAppErrorMsg.3 XtAppSetWarningMsgHandler.3 \
		XtAppErrorMsg.3 XtAppWarningMsg.3

MLINKS+=	XtAppGetErrorDatabase.3 XtAppGetErrorDatabaseText.3 \
		XtAppGetSelectionTimeout.3 XtAppSetSelectionTimeout.3

MLINKS+=	XtAppNextEvent.3 XtAppPending.3 \
		XtAppNextEvent.3 XtAppPeekEvent.3 \
		XtAppNextEvent.3 XtAppProcessEvent.3 \
		XtAppNextEvent.3 XtDispatchEvent.3 \
		XtAppNextEvent.3 XtAppMainLoop.3

MLINKS+=	XtNextEvent.3 XtPending.3 \
		XtNextEvent.3 XtPeekEvent.3 \
		XtNextEvent.3 XtProcessEvent.3 \
		XtNextEvent.3 XtMainLoop.3

MLINKS+=	XtCallCallbacks.3 XtCallCallbackList.3 \
		XtCallCallbacks.3 XtHasCallbacks.3

MLINKS+=	XtClass.3 XtSuperclass.3 \
		XtClass.3 XtIsSubclass.3 \
		XtClass.3 XtCheckSubclass.3 \
		XtClass.3 XtIsObject.3 \
		XtClass.3 XtIsRectObj.3 \
		XtClass.3 XtIsWidget.3 \
		XtClass.3 XtIsComposite.3 \
		XtClass.3 XtIsConstraint.3 \
		XtClass.3 XtIsShell.3 \
		XtClass.3 XtIsOverrideShell.3 \
		XtClass.3 XtIsWMShell.3 \
		XtClass.3 XtIsVendorShell.3 \
		XtClass.3 XtIsTransientShell.3 \
		XtClass.3 XtIsTopLevelShell.3 \
		XtClass.3 XtIsApplicationShell.3 \
		XtClass.3 XtIsSessionShell.3

MLINKS+=	XtConfigureWidget.3 XtMoveWidget.3 \
		XtConfigureWidget.3 XtResizeWidget.3

MLINKS+=	XtConvert.3 XtDirectConvert.3 \
		XtConvertAndStore.3 XtCallConverter.3

MLINKS+=	XtCreateApplicationContext.3 XtDestroyApplicationContext.3 \
		XtCreateApplicationContext.3 XtWidgetToApplicationContext.3 \
		XtCreateApplicationContext.3 XtToolkitInitialize.3

MLINKS+=	XtCreatePopupShell.3 XtVaCreatePopupShell.3

MLINKS+=	XtCreateWidget.3 XtVaCreateWidget.3 \
		XtCreateWidget.3 XtCreateManagedWidget.3 \
		XtCreateWidget.3 XtVaCreateManagedWidget.3 \
		XtCreateWidget.3 XtDestroyWidget.3

MLINKS+=	XtDisplay.3 XtDisplayOfObject.3 \
		XtDisplay.3 XtScreen.3 \
		XtDisplay.3 XtScreenOfObject.3 \
		XtDisplay.3 XtWindow.3 \
		XtDisplay.3 XtWindowOfObject.3

MLINKS+=	XtDisplayInitialize.3 XtOpenDisplay.3 \
		XtDisplayInitialize.3 XtCloseDisplay.3 \
		XtDisplayInitialize.3 XtDatabase.3 \
		XtDisplayInitialize.3 XtScreenDatabase.3

MLINKS+=	XtGetGC.3 XtReleaseGC.3 \
		XtGetResourceList.3 XtGetConstraintResourceList.3 \
		XtGetSelectionValue.3 XtGetSelectionValues.3 \
		XtGetSubresources.3 XtVaGetSubresources.3 \
		XtGetApplicationResources.3 XtVaGetApplicationResources.3 \
		XtMakeGeometryRequest.3 XtMakeResizeRequest.3

MLINKS+=	XtMalloc.3 XtCalloc.3 \
		XtMalloc.3 XtRealloc.3 \
		XtMalloc.3 XtFree.3 \
		XtMalloc.3 XtNew.3 \
		XtMalloc.3 XtNewString.3 \
		XtMalloc.3 XtAsprintf.3

MLINKS+=	XtManageChildren.3 XtManageChild.3 \
		XtManageChildren.3 XtUnmanageChildren.3 \
		XtManageChildren.3 XtUnmanageChild.3 \
		XtManageChildren.3 XtIsManaged.3 \
		XtManageChildren.3 XtChangeManagedSet.3

MLINKS+=	XtMapWidget.3 XtSetMappedWhenManaged.3 \
		XtMapWidget.3 XtUnmapWidget.3

MLINKS+=	XtNameToWidget.3 XtWindowToWidget.3

MLINKS+=	XtOffset.3 XtOffsetOf.3 \
		XtOffset.3 XtNumber.3

MLINKS+=	XtOwnSelection.3 XtOwnSelectionIncremental.3 \
		XtOwnSelection.3 XtDisownSelection.3

MLINKS+=	XtParseAcceleratorTable.3 XtInstallAccelerators.3 \
		XtParseAcceleratorTable.3 XtInstallAllAccelerators.3

MLINKS+=	XtParseTranslationTable.3 XtAugmentTranslations.3 \
		XtParseTranslationTable.3 XtOverrideTranslations.3 \
		XtParseTranslationTable.3 XtUninstallTranslations.3

MLINKS+=	XtPopdown.3 XtCallbackPopdown.3 \
		XtPopdown.3 MenuPopdown.3

MLINKS+=	XtPopup.3 XtPopupSpringLoaded.3 \
		XtPopup.3 XtCallbackNone.3 \
		XtPopup.3 XtCallbackNonexclusive.3 \
		XtPopup.3 XtCallbackExclusive.3 \
		XtPopup.3 MenuPopup.3

MLINKS+=	XtRealizeWidget.3 XtIsRealized.3 \
		XtRealizeWidget.3 XtUnrealizeWidget.3

MLINKS+=	XtSetArg.3 XtMergeArgLists.3

MLINKS+=	XtSetKeyTranslator.3 XtTranslateKeycode.3 \
		XtSetKeyTranslator.3 XtRegisterCaseConverter.3 \
		XtSetKeyTranslator.3 XtConvertCase.3

MLINKS+=	XtSetSensitive.3 XtIsSensitive.3

MLINKS+=	XtSetValues.3 XtVaSetValues.3 \
		XtSetValues.3 XtSetSubvalues.3 \
		XtSetValues.3 XtGetValues.3 \
		XtSetValues.3 XtVaGetValues.3 \
		XtSetValues.3 XtGetSubvalues.3 \
		XtSetValues.3 XtVaGetSubvalues.3 \
		XtSetValues.3 XtVaSetSubvalues.3

MLINKS+=	XtGetKeysymTable.3 XtKeysymToKeycodeList.3 \
		XtAppSetTypeConverter.3 XtSetTypeConverter.3 \
		XtAppAddActionHook.3 XtRemoveActionHook.3 \
		XtSetMultiClickTime.3 XtGetMultiClickTime.3

MLINKS+=	XtInsertEventTypeHandler.3 XtRemoveEventTypeHandler.3 \
		XtInsertEventTypeHandler.3 XtRegisterExtensionSelector.3 \
		XtInsertEventTypeHandler.3 XtSetEventDispatcher.3 \
		XtInsertEventTypeHandler.3 XtDispatchEventToWidget.3

MLINKS+=	XtLastEventProcessed.3 XtLastTimestampProcessed.3

MLINKS+=	XtAppAddSignal.3 XtNoticeSignal.3 \
		XtAppAddSignal.3 XtRemoveSignal.3

MLINKS+=	XtAddInput.3 XtAddTimeOut.3 \
		XtAddInput.3 XtAddWorkProc.3

MLINKS+=	XtAppAddBlockHook.3 XtRemoveBlockHook.3 \
		XtAppInitialize.3 XtVaAppInitialize.3 \
		XtSessionGetToken.3 XtSessionReturnToken.3

MLINKS+=	XtErrorMsg.3 XtSetErrorMsgHandler.3 \
		XtErrorMsg.3 XtSetWarningMsgHandler.3 \
		XtErrorMsg.3 XtWarningMsg.3

MLINKS+=	XtError.3 XtSetErrorHandler.3 \
		XtError.3 XtSetWarningHandler.3 \
		XtError.3 XtWarning.3

MLINKS+=	XtGetErrorDatabase.3 XtGetErrorDatabaseText.3 \
		XtGetSelectionValueIncremental.3 XtGetSelectionValuesIncremental.3 \
		XtGetSelectionTimeout.3 XtSetSelectionTimeout.3

MLINKS+=	XtCreateSelectionRequest.3 XtSendSelectionRequest.3 \
		XtCreateSelectionRequest.3 XtCancelSelectionRequest.3

MLINKS+=	XtReservePropertyAtom.3 XtReleasePropertyAtom.3

MLINKS+=	XtGrabKey.3 XtUngrabKey.3 \
		XtGrabKey.3 XtGrabKeyboard.3 \
		XtGrabKey.3 XtUngrabKeyboard.3 \
		XtGrabKey.3 XtGrabButton.3 \
		XtGrabKey.3 XtUngrabButton.3 \
		XtGrabKey.3 XtGrabPointer.3 \
		XtGrabKey.3 XtUngrabPointer.3

MLINKS+=	XtRegisterDrawable.3 XtUnregisterDrawable.3 \
		XtAppSetExitFlag.3 XtAppGetExitFlag.3 \
		XtAppLock.3 XtAppUnlock.3 \
		XtProcessLock.3 XtProcessUnlock.3 \
		XtOpenApplication.3 XtVaOpenApplication.3

PKGDIST=	${LIB}

CWARNFLAGS.clang+=	-Wno-tautological-compare

PKGCONFIG_SED_FLAGS+= \
	-e "s,@@XFILESEARCHPATHDEFAULT@@,${XFILESEARCHPATHDEFAULT},"

.include <bsd.x11.mk>
.include <bsd.lib.mk>
@


1.7
log
@define _CONST_X_STRING for libXt 1.2.0
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2015/07/19 07:55:08 mrg Exp $
d35 2
a36 1
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\"
d310 3
@


1.6
log
@updates for new libXaw and libXt.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2011/08/11 23:15:39 joerg Exp $
d33 1
a33 1
CPPFLAGS+=	-DHAVE_ASPRINTF
@


1.6.16.1
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d1 1
a1 1
#	$NetBSD$
d33 1
a33 1
CPPFLAGS+=	-DHAVE_ASPRINTF -D_CONST_X_STRING
@


1.5
log
@Various warning adjustments for clang
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2011/07/23 12:27:41 mrg Exp $
d33 1
@


1.4
log
@adjust for new XtAsprintf manual.  sort set list.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2008/10/04 20:53:13 cube Exp $
d306 2
@


1.3
log
@Install manual pages (the 267 of them) of libXt.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2008/09/13 04:32:31 cube Exp $
d196 2
a197 1
		XtMalloc.3 XtNewString.3
@


1.3.4.1
log
@file Makefile was added on branch haad-dm on 2008-10-19 22:41:11 +0000
@
text
@d1 306
@


1.3.4.2
log
@Sync with HEAD.
@
text
@a0 306
#	$NetBSD: Makefile,v 1.3 2008/10/04 20:53:13 cube Exp $

.include <bsd.own.mk>

LIB=	Xt
.PATH:	${X11SRCDIR.${LIB}}/include/X11
.PATH:	${X11SRCDIR.${LIB}}/src
.PATH:	${X11SRCDIR.${LIB}}/man
.PATH:	${X11SRCDIR.${LIB}}

SRCS=	ActionHook.c Alloc.c ArgList.c Callback.c ClickTime.c \
	Composite.c Constraint.c Convert.c Converters.c Core.c \
	Create.c Destroy.c Display.c Error.c Event.c EventUtil.c \
	Functions.c GCManager.c Geometry.c GetActKey.c GetResList.c \
	GetValues.c HookObj.c Hooks.c Initialize.c Intrinsic.c \
	Keyboard.c Manage.c NextEvent.c Object.c PassivGrab.c \
	Pointer.c Popup.c PopupCB.c RectObj.c ResConfig.c Resources.c \
	Selection.c SetSens.c SetValues.c SetWMCW.c Shell.c \
	StringDefs.c TMaction.c TMgrab.c TMkey.c TMparse.c TMprint.c \
	TMstate.c Threads.c VarCreate.c VarGet.c Varargs.c Vendor.c

INCS=	CallbackI.h Composite.h CompositeP.h ConstrainP.h Constraint.h \
	ConvertI.h Core.h CoreP.h CreateI.h EventI.h HookObjI.h InitialI.h \
	Intrinsic.h IntrinsicI.h IntrinsicP.h Object.h ObjectP.h \
	PassivGraI.h RectObj.h RectObjP.h ResConfigP.h ResourceI.h \
	SelectionI.h Shell.h ShellI.h ShellP.h StringDefs.h ThreadsI.h \
	TranslateI.h VarargsI.h Vendor.h VendorP.h Xtos.h
INCSDIR=${X11INCDIR}/X11

CPPFLAGS+=	${X11FLAGS.THREADLIB}
CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/X11
CPPFLAGS+=	-DUSE_POLL -DUSE_SNPRINTF -DLIBXT -I.

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\"
CPPFLAGS.Error.c=	-DERRORDB=\"${X11LIBDIR}/XtErrorDB\" \
			-DXTERROR_PREFIX=\"\" -DXTWARNING_PREFIX=\"\"
CPPFLAGS.TMkey.c=	-DXKB

LIBDPLIBS=\
	X11	${.CURDIR}/../libX11/dynamic \
	SM	${.CURDIR}/../libSM \
	ICE	${.CURDIR}/../libICE

.include "${NETBSDSRCDIR}/external/mit/xorg/tools/makestrs/Makefile.makestrs"

STRINGS_FILES=	StringDefs.c StringDefs.h Shell.h
STRINGS_TMPLS=	util/StrDefs.ct util/StrDefs.ht util/Shell.ht
STRINGS_LIST=	util/string.list

${STRINGS_FILES}: strings_files.stamp
strings_files.stamp: ${MAKESTRS} ${STRINGS_LIST} ${STRINGS_TMPLS}
	${_MKMSG_CREATE} ${STRINGS_FILES}
	rm -f ${.TARGET} ${STRINGS_FILES}
	rm -f util
	ln -s ${X11SRCDIR.Xt}/util util
	${MAKESTRS} -i . < ${STRINGS_LIST} > StringDefs.c
	touch ${.TARGET}
CLEANFILES+=	${STRINGS_FILES} util strings_files.stamp
DPSRCS+=	${STRINGS_FILES}

MAN=	XtAddActions.3 XtAddCallback.3 XtAddEventHandler.3 \
	XtAddExposureToRegion.3 XtAddGrab.3 XtAddInput.3 XtAllocateGC.3 \
	XtAppAddActionHook.3 XtAppAddActions.3 XtAppAddBlockHook.3 \
	XtAppAddConverter.3 XtAppAddInput.3 XtAppAddSignal.3 \
	XtAppAddTimeOut.3 XtAppAddWorkProc.3 XtAppCreateShell.3 \
	XtAppError.3 XtAppErrorMsg.3 XtAppGetErrorDatabase.3 \
	XtAppGetSelectionTimeout.3 XtAppInitialize.3 XtAppLock.3 \
	XtAppNextEvent.3 XtAppReleaseCacheRefs.3 XtAppSetExitFlag.3 \
	XtAppSetFallbackResources.3 XtAppSetTypeConverter.3 \
	XtBuildEventMask.3 XtCallAcceptFocus.3 XtCallActionProc.3 \
	XtCallCallbacks.3 XtClass.3 XtConfigureWidget.3 XtConvert.3 \
	XtConvertAndStore.3 XtCreateApplicationContext.3 \
	XtCreateApplicationShell.3 XtCreatePopupShell.3 \
	XtCreateSelectionRequest.3 XtCreateWidget.3 XtCreateWindow.3 \
	XtDisplay.3 XtDisplayInitialize.3 XtDisplayStringConversionWarning.3 \
	XtDisplayToApplicationContext.3 XtError.3 XtErrorMsg.3 XtFindFile.3 \
	XtGetActionKeysym.3 XtGetActionList.3 XtGetApplicationNameAndClass.3 \
	XtGetApplicationResources.3 XtGetClassExtension.3 XtGetDisplays.3 \
	XtGetErrorDatabase.3 XtGetGC.3 XtGetKeyboardFocusWidget.3 \
	XtGetKeysymTable.3 XtGetResourceList.3 XtGetSelectionParameters.3 \
	XtGetSelectionRequest.3 XtGetSelectionTimeout.3 XtGetSelectionValue.3 \
	XtGetSelectionValueIncremental.3 XtGetSubresources.3 XtGrabKey.3 \
	XtHooksOfDisplay.3 XtInitialize.3 XtInitializeWidgetClass.3 \
	XtInsertEventTypeHandler.3 XtLastEventProcessed.3 \
	XtMakeGeometryRequest.3 XtMalloc.3 XtManageChildren.3 XtMapWidget.3 \
	XtName.3 XtNameToWidget.3 XtNextEvent.3 XtOffset.3 \
	XtOpenApplication.3 XtOwnSelection.3 XtParent.3 \
	XtParseAcceleratorTable.3 XtParseTranslationTable.3 XtPopdown.3 \
	XtPopup.3 XtProcessLock.3 XtQueryGeometry.3 XtRealizeWidget.3 \
	XtRegisterDrawable.3 XtRegisterGrabAction.3 XtReservePropertyAtom.3 \
	XtResolvePathname.3 XtSessionGetToken.3 XtSetArg.3 \
	XtSetKeyTranslator.3 XtSetKeyboardFocus.3 XtSetLanguageProc.3 \
	XtSetMultiClickTime.3 XtSetSelectionParameters.3 XtSetSensitive.3 \
	XtSetValues.3 XtSetWMColormapWindows.3 XtStringConversionWarning.3 \
	XtToolkitThreadInitialize.3 XtTranslateCoords.3 XtVaCreateArgsList.3

MLINKS= 	XtAddCallback.3 XtAddCallbacks.3 \
		XtAddCallback.3 XtRemoveCallback.3 \
		XtAddCallback.3 XtRemoveCallbacks.3 \
		XtAddCallback.3 XtRemoveAllCallbacks.3

MLINKS+=	XtAddEventHandler.3 XtAddRawEventHandler.3 \
		XtAddEventHandler.3 XtRemoveEventHandler.3 \
		XtAddEventHandler.3 XtRemoveRawEventHandler.3 \
		XtAddEventHandler.3 XtInsertEventHandler.3 \
		XtAddEventHandler.3 XtInsertRawEventHandler.3

MLINKS+=	XtAddGrab.3 XtRemoveGrab.3 \
		XtAppAddConverter.3 XtAddConverter.3 \
		XtAppAddInput.3 XtRemoveInput.3 \
		XtAppAddTimeOut.3 XtRemoveTimeOut.3 \
		XtAppAddWorkProc.3 XtRemoveWorkProc.3 \
		XtAppCreateShell.3 XtVaAppCreateShell.3

MLINKS+=	XtAppError.3 XtAppSetErrorHandler.3 \
		XtAppError.3 XtAppSetWarningHandler.3 \
		XtAppError.3 XtAppWarning.3

MLINKS+=	XtAppErrorMsg.3 XtAppSetErrorMsgHandler.3 \
		XtAppErrorMsg.3 XtAppSetWarningMsgHandler.3 \
		XtAppErrorMsg.3 XtAppWarningMsg.3

MLINKS+=	XtAppGetErrorDatabase.3 XtAppGetErrorDatabaseText.3 \
		XtAppGetSelectionTimeout.3 XtAppSetSelectionTimeout.3

MLINKS+=	XtAppNextEvent.3 XtAppPending.3 \
		XtAppNextEvent.3 XtAppPeekEvent.3 \
		XtAppNextEvent.3 XtAppProcessEvent.3 \
		XtAppNextEvent.3 XtDispatchEvent.3 \
		XtAppNextEvent.3 XtAppMainLoop.3

MLINKS+=	XtNextEvent.3 XtPending.3 \
		XtNextEvent.3 XtPeekEvent.3 \
		XtNextEvent.3 XtProcessEvent.3 \
		XtNextEvent.3 XtMainLoop.3

MLINKS+=	XtCallCallbacks.3 XtCallCallbackList.3 \
		XtCallCallbacks.3 XtHasCallbacks.3

MLINKS+=	XtClass.3 XtSuperclass.3 \
		XtClass.3 XtIsSubclass.3 \
		XtClass.3 XtCheckSubclass.3 \
		XtClass.3 XtIsObject.3 \
		XtClass.3 XtIsRectObj.3 \
		XtClass.3 XtIsWidget.3 \
		XtClass.3 XtIsComposite.3 \
		XtClass.3 XtIsConstraint.3 \
		XtClass.3 XtIsShell.3 \
		XtClass.3 XtIsOverrideShell.3 \
		XtClass.3 XtIsWMShell.3 \
		XtClass.3 XtIsVendorShell.3 \
		XtClass.3 XtIsTransientShell.3 \
		XtClass.3 XtIsTopLevelShell.3 \
		XtClass.3 XtIsApplicationShell.3 \
		XtClass.3 XtIsSessionShell.3

MLINKS+=	XtConfigureWidget.3 XtMoveWidget.3 \
		XtConfigureWidget.3 XtResizeWidget.3

MLINKS+=	XtConvert.3 XtDirectConvert.3 \
		XtConvertAndStore.3 XtCallConverter.3

MLINKS+=	XtCreateApplicationContext.3 XtDestroyApplicationContext.3 \
		XtCreateApplicationContext.3 XtWidgetToApplicationContext.3 \
		XtCreateApplicationContext.3 XtToolkitInitialize.3

MLINKS+=	XtCreatePopupShell.3 XtVaCreatePopupShell.3

MLINKS+=	XtCreateWidget.3 XtVaCreateWidget.3 \
		XtCreateWidget.3 XtCreateManagedWidget.3 \
		XtCreateWidget.3 XtVaCreateManagedWidget.3 \
		XtCreateWidget.3 XtDestroyWidget.3

MLINKS+=	XtDisplay.3 XtDisplayOfObject.3 \
		XtDisplay.3 XtScreen.3 \
		XtDisplay.3 XtScreenOfObject.3 \
		XtDisplay.3 XtWindow.3 \
		XtDisplay.3 XtWindowOfObject.3

MLINKS+=	XtDisplayInitialize.3 XtOpenDisplay.3 \
		XtDisplayInitialize.3 XtCloseDisplay.3 \
		XtDisplayInitialize.3 XtDatabase.3 \
		XtDisplayInitialize.3 XtScreenDatabase.3

MLINKS+=	XtGetGC.3 XtReleaseGC.3 \
		XtGetResourceList.3 XtGetConstraintResourceList.3 \
		XtGetSelectionValue.3 XtGetSelectionValues.3 \
		XtGetSubresources.3 XtVaGetSubresources.3 \
		XtGetApplicationResources.3 XtVaGetApplicationResources.3 \
		XtMakeGeometryRequest.3 XtMakeResizeRequest.3

MLINKS+=	XtMalloc.3 XtCalloc.3 \
		XtMalloc.3 XtRealloc.3 \
		XtMalloc.3 XtFree.3 \
		XtMalloc.3 XtNew.3 \
		XtMalloc.3 XtNewString.3

MLINKS+=	XtManageChildren.3 XtManageChild.3 \
		XtManageChildren.3 XtUnmanageChildren.3 \
		XtManageChildren.3 XtUnmanageChild.3 \
		XtManageChildren.3 XtIsManaged.3 \
		XtManageChildren.3 XtChangeManagedSet.3

MLINKS+=	XtMapWidget.3 XtSetMappedWhenManaged.3 \
		XtMapWidget.3 XtUnmapWidget.3

MLINKS+=	XtNameToWidget.3 XtWindowToWidget.3

MLINKS+=	XtOffset.3 XtOffsetOf.3 \
		XtOffset.3 XtNumber.3

MLINKS+=	XtOwnSelection.3 XtOwnSelectionIncremental.3 \
		XtOwnSelection.3 XtDisownSelection.3

MLINKS+=	XtParseAcceleratorTable.3 XtInstallAccelerators.3 \
		XtParseAcceleratorTable.3 XtInstallAllAccelerators.3

MLINKS+=	XtParseTranslationTable.3 XtAugmentTranslations.3 \
		XtParseTranslationTable.3 XtOverrideTranslations.3 \
		XtParseTranslationTable.3 XtUninstallTranslations.3

MLINKS+=	XtPopdown.3 XtCallbackPopdown.3 \
		XtPopdown.3 MenuPopdown.3

MLINKS+=	XtPopup.3 XtPopupSpringLoaded.3 \
		XtPopup.3 XtCallbackNone.3 \
		XtPopup.3 XtCallbackNonexclusive.3 \
		XtPopup.3 XtCallbackExclusive.3 \
		XtPopup.3 MenuPopup.3

MLINKS+=	XtRealizeWidget.3 XtIsRealized.3 \
		XtRealizeWidget.3 XtUnrealizeWidget.3

MLINKS+=	XtSetArg.3 XtMergeArgLists.3

MLINKS+=	XtSetKeyTranslator.3 XtTranslateKeycode.3 \
		XtSetKeyTranslator.3 XtRegisterCaseConverter.3 \
		XtSetKeyTranslator.3 XtConvertCase.3

MLINKS+=	XtSetSensitive.3 XtIsSensitive.3

MLINKS+=	XtSetValues.3 XtVaSetValues.3 \
		XtSetValues.3 XtSetSubvalues.3 \
		XtSetValues.3 XtGetValues.3 \
		XtSetValues.3 XtVaGetValues.3 \
		XtSetValues.3 XtGetSubvalues.3 \
		XtSetValues.3 XtVaGetSubvalues.3 \
		XtSetValues.3 XtVaSetSubvalues.3

MLINKS+=	XtGetKeysymTable.3 XtKeysymToKeycodeList.3 \
		XtAppSetTypeConverter.3 XtSetTypeConverter.3 \
		XtAppAddActionHook.3 XtRemoveActionHook.3 \
		XtSetMultiClickTime.3 XtGetMultiClickTime.3

MLINKS+=	XtInsertEventTypeHandler.3 XtRemoveEventTypeHandler.3 \
		XtInsertEventTypeHandler.3 XtRegisterExtensionSelector.3 \
		XtInsertEventTypeHandler.3 XtSetEventDispatcher.3 \
		XtInsertEventTypeHandler.3 XtDispatchEventToWidget.3

MLINKS+=	XtLastEventProcessed.3 XtLastTimestampProcessed.3

MLINKS+=	XtAppAddSignal.3 XtNoticeSignal.3 \
		XtAppAddSignal.3 XtRemoveSignal.3

MLINKS+=	XtAddInput.3 XtAddTimeOut.3 \
		XtAddInput.3 XtAddWorkProc.3

MLINKS+=	XtAppAddBlockHook.3 XtRemoveBlockHook.3 \
		XtAppInitialize.3 XtVaAppInitialize.3 \
		XtSessionGetToken.3 XtSessionReturnToken.3

MLINKS+=	XtErrorMsg.3 XtSetErrorMsgHandler.3 \
		XtErrorMsg.3 XtSetWarningMsgHandler.3 \
		XtErrorMsg.3 XtWarningMsg.3

MLINKS+=	XtError.3 XtSetErrorHandler.3 \
		XtError.3 XtSetWarningHandler.3 \
		XtError.3 XtWarning.3

MLINKS+=	XtGetErrorDatabase.3 XtGetErrorDatabaseText.3 \
		XtGetSelectionValueIncremental.3 XtGetSelectionValuesIncremental.3 \
		XtGetSelectionTimeout.3 XtSetSelectionTimeout.3

MLINKS+=	XtCreateSelectionRequest.3 XtSendSelectionRequest.3 \
		XtCreateSelectionRequest.3 XtCancelSelectionRequest.3

MLINKS+=	XtReservePropertyAtom.3 XtReleasePropertyAtom.3

MLINKS+=	XtGrabKey.3 XtUngrabKey.3 \
		XtGrabKey.3 XtGrabKeyboard.3 \
		XtGrabKey.3 XtUngrabKeyboard.3 \
		XtGrabKey.3 XtGrabButton.3 \
		XtGrabKey.3 XtUngrabButton.3 \
		XtGrabKey.3 XtGrabPointer.3 \
		XtGrabKey.3 XtUngrabPointer.3

MLINKS+=	XtRegisterDrawable.3 XtUnregisterDrawable.3 \
		XtAppSetExitFlag.3 XtAppGetExitFlag.3 \
		XtAppLock.3 XtAppUnlock.3 \
		XtProcessLock.3 XtProcessUnlock.3 \
		XtOpenApplication.3 XtVaOpenApplication.3

PKGDIST=	${LIB}

.include <bsd.x11.mk>
.include <bsd.lib.mk>
@


1.2
log
@Install pkgconfig files.  Where applicable, remove .if 0 code that tried to
do the same thing.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $
d8 1
d61 242
@


1.2.2.1
log
@file Makefile was added on branch wrstuden-revivesa on 2008-09-18 05:18:38 +0000
@
text
@d1 63
@


1.2.2.2
log
@Sync with wrstuden-revivesa-base-2.
@
text
@a0 61
#	$NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $

.include <bsd.own.mk>

LIB=	Xt
.PATH:	${X11SRCDIR.${LIB}}/include/X11
.PATH:	${X11SRCDIR.${LIB}}/src
.PATH:	${X11SRCDIR.${LIB}}

SRCS=	ActionHook.c Alloc.c ArgList.c Callback.c ClickTime.c \
	Composite.c Constraint.c Convert.c Converters.c Core.c \
	Create.c Destroy.c Display.c Error.c Event.c EventUtil.c \
	Functions.c GCManager.c Geometry.c GetActKey.c GetResList.c \
	GetValues.c HookObj.c Hooks.c Initialize.c Intrinsic.c \
	Keyboard.c Manage.c NextEvent.c Object.c PassivGrab.c \
	Pointer.c Popup.c PopupCB.c RectObj.c ResConfig.c Resources.c \
	Selection.c SetSens.c SetValues.c SetWMCW.c Shell.c \
	StringDefs.c TMaction.c TMgrab.c TMkey.c TMparse.c TMprint.c \
	TMstate.c Threads.c VarCreate.c VarGet.c Varargs.c Vendor.c

INCS=	CallbackI.h Composite.h CompositeP.h ConstrainP.h Constraint.h \
	ConvertI.h Core.h CoreP.h CreateI.h EventI.h HookObjI.h InitialI.h \
	Intrinsic.h IntrinsicI.h IntrinsicP.h Object.h ObjectP.h \
	PassivGraI.h RectObj.h RectObjP.h ResConfigP.h ResourceI.h \
	SelectionI.h Shell.h ShellI.h ShellP.h StringDefs.h ThreadsI.h \
	TranslateI.h VarargsI.h Vendor.h VendorP.h Xtos.h
INCSDIR=${X11INCDIR}/X11

CPPFLAGS+=	${X11FLAGS.THREADLIB}
CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/X11
CPPFLAGS+=	-DUSE_POLL -DUSE_SNPRINTF -DLIBXT -I.

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\"
CPPFLAGS.Error.c=	-DERRORDB=\"${X11LIBDIR}/XtErrorDB\" \
			-DXTERROR_PREFIX=\"\" -DXTWARNING_PREFIX=\"\"
CPPFLAGS.TMkey.c=	-DXKB

LIBDPLIBS=\
	X11	${.CURDIR}/../libX11/dynamic \
	SM	${.CURDIR}/../libSM \
	ICE	${.CURDIR}/../libICE

.include "${NETBSDSRCDIR}/external/mit/xorg/tools/makestrs/Makefile.makestrs"

STRINGS_FILES=	StringDefs.c StringDefs.h Shell.h
STRINGS_TMPLS=	util/StrDefs.ct util/StrDefs.ht util/Shell.ht
STRINGS_LIST=	util/string.list

${STRINGS_FILES}: strings_files.stamp
strings_files.stamp: ${MAKESTRS} ${STRINGS_LIST} ${STRINGS_TMPLS}
	${_MKMSG_CREATE} ${STRINGS_FILES}
	rm -f ${.TARGET} ${STRINGS_FILES}
	rm -f util
	ln -s ${X11SRCDIR.Xt}/util util
	${MAKESTRS} -i . < ${STRINGS_LIST} > StringDefs.c
	touch ${.TARGET}
CLEANFILES+=	${STRINGS_FILES} util strings_files.stamp
DPSRCS+=	${STRINGS_FILES}

.include <bsd.x11.mk>
.include <bsd.lib.mk>
@


1.2.2.3
log
@Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2.2.2 2008/09/18 05:18:38 wrstuden Exp $
a59 2
PKGDIST=	${LIB}

@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2004/08/05 01:28:48 lukem Exp $
d60 2
@


1.1.1.1
log
@initial import of the crossbuild framework for modular Xorg.  this
is heavily based upon the work rtr@@ did on src/x11, but hacked to
work for modern modular Xorg source split.

the sources will live in xsrc/external/mit/<package>/dist.

documentation on using this will come when the above directories
are fully populated.  there are 192 of them so it may take some time
before that is completed.
@
text
@@
