aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/Xt/Imakefile
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/Xt/Imakefile')
-rw-r--r--nx-X11/lib/Xt/Imakefile307
1 files changed, 307 insertions, 0 deletions
diff --git a/nx-X11/lib/Xt/Imakefile b/nx-X11/lib/Xt/Imakefile
new file mode 100644
index 000000000..6399e4618
--- /dev/null
+++ b/nx-X11/lib/Xt/Imakefile
@@ -0,0 +1,307 @@
+/**************************************************************************/
+/* */
+/* Copyright (c) 2001, 2011 NoMachine, http://www.nomachine.com/. */
+/* */
+/* NX-X11, NX protocol compression and NX extensions to this software */
+/* are copyright of NoMachine. Redistribution and use of the present */
+/* software is allowed according to terms specified in the file LICENSE */
+/* which comes in the source distribution. */
+/* */
+/* Check http://www.nomachine.com/licensing.html for applicability. */
+/* */
+/* NX and NoMachine are trademarks of Medialogic S.p.A. */
+/* */
+/* All rights reserved. */
+/* */
+/**************************************************************************/
+
+XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:46:12 cpqbld Exp $
+
+
+
+
+XCOMM $XFree86: xc/lib/Xt/Imakefile,v 3.18tsi Exp $
+
+#if NXLibraries
+
+/*
+ * This will make applications that use the Xt
+ * toolkit deal with the NX modified select().
+ */
+
+NX_DEFINES = -DNX_TRANS_SOCKET
+
+# -DNX_TRANS_TEST \
+# -DNX_TRANS_DEBUG
+
+#endif
+
+#define DoNormalLib NormalLibXt
+#define DoSharedLib SharedLibXt
+#define DoExtraLib SharedLibXt
+#define DoDebugLib DebugLibXt
+#define DoProfileLib ProfileLibXt
+#define HasSharedData YES
+#define LibName Xt
+#define SoRev SOXTREV
+#define IncSubdir X11
+
+#include <Threads.tmpl>
+
+#if ResourceConfigurationManagement
+RCMOBJS = ResConfig.o
+RCMSRCS = ResConfig.c
+#else
+RCM_DEFINES = -DX_NO_RESOURCE_CONFIGURATION_MANAGEMENT
+#endif
+
+#if XtPopdownConformance
+POPDOWN_DEFINES =
+#else
+POPDOWN_DEFINES = -DX_NO_XT_POPDOWN_CONFORMANCE
+#endif
+
+#ifndef MotifBC
+#define MotifBC NO
+#endif
+
+/* "YES" allows illegal XtGetValues requests with NULL ArgVal to
+ usually succeed, as R5 did. Some applications erroneously rely on
+ this behavior. Support for this will be removed in a future release. */
+#ifndef GetValuesBC
+#define GetValuesBC NO
+#endif
+
+#ifdef SharedXtReqs
+REQUIREDLIBS = SharedXtReqs
+#endif
+
+/* config options */
+
+XFILESEARCHPATHDEFAULT = XFileSearchPathDefault
+
+XTERRORPREFIX = XtErrorPrefix
+XTWARNINGPREFIX = XtWarningPrefix
+
+#if UnalignedReferencesAllowed
+ ALIGN_DEFINES = -DUNALIGNED
+#endif
+#if DoSharedLib && defined(SharedAllocateLocalDefines)
+#undef AllocateLocalDefines
+#define AllocateLocalDefines SharedAllocateLocalDefines
+#endif
+#if HasPoll
+ POLL_DEFINES = -DUSE_POLL
+#endif
+#if HasSnprintf
+ MISC_DEFINES = -DUSE_SNPRINTF -DLIBXT
+#endif
+
+#if NXLibraries
+ DEFINES = AllocateLocalDefines $(ALIGN_DEFINES) $(POLL_DEFINES) $(MISC_DEFINES) XtExtraDefines $(RCM_DEFINES) $(POPDOWN_DEFINES) $(NX_DEFINES)
+#else
+ DEFINES = AllocateLocalDefines $(ALIGN_DEFINES) $(POLL_DEFINES) $(MISC_DEFINES) XtExtraDefines $(RCM_DEFINES) $(POPDOWN_DEFINES)
+#endif
+
+ DB_DEFINES = -DERRORDB=\"$(LIBDIR)/XtErrorDB\" \
+ -DXTERROR_PREFIX=\"$(XTERRORPREFIX)\" \
+ -DXTWARNING_PREFIX=\"$(XTWARNINGPREFIX)\"
+
+ SRCH_DEFINES = -DXFILESEARCHPATHDEFAULT=\"$(XFILESEARCHPATHDEFAULT)\"
+#if Malloc0ReturnsNull
+ ALLOC_DEFINES = XtMalloc0ReturnsNullDefines
+#endif
+#if MotifBC
+ BC_DEFINES = -DMOTIFBC
+#endif
+#if GetValuesBC
+ GETVALUES_DEFINES = -DGETVALUES_BUG
+#endif
+#if NoRConst
+ RCONST_DEFINES = -DNORCONST
+#endif
+STRINGSABIOPTIONS = ToolkitStringsABIOptions
+
+ LINTLIBS = $(LINTXLIB)
+
+HEADERS = \
+ Composite.h \
+ CompositeP.h \
+ Constraint.h \
+ ConstrainP.h \
+ Core.h \
+ CoreP.h \
+ Intrinsic.h \
+ IntrinsicP.h \
+ Object.h \
+ ObjectP.h \
+ RectObj.h \
+ RectObjP.h \
+ Shell.h \
+ ShellP.h \
+ StringDefs.h \
+ Vendor.h \
+ VendorP.h \
+ \
+ CallbackI.h \
+ ConvertI.h \
+ CreateI.h \
+ EventI.h \
+ HookObjI.h \
+ InitialI.h \
+ IntrinsicI.h \
+ PassivGraI.h \
+ ResourceI.h \
+ SelectionI.h \
+ ShellI.h \
+ ThreadsI.h \
+ TranslateI.h \
+ VarargsI.h
+
+
+SRCS = \
+ $(MISCSRCS) \
+ 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 \
+ Resources.c \
+ Selection.c \
+ SetSens.c \
+ SetValues.c \
+ SetWMCW.c \
+ Shell.c \
+ StringDefs.c \
+ Threads.c \
+ TMaction.c \
+ TMgrab.c \
+ TMkey.c \
+ TMparse.c \
+ TMprint.c \
+ TMstate.c \
+ VarCreate.c \
+ VarGet.c \
+ Varargs.c \
+ Vendor.c \
+ sharedlib.c \
+ $(RCMSRCS)
+
+OBJS = \
+ $(MISCOBJS) \
+ ActionHook.o \
+ Alloc.o \
+ ArgList.o \
+ Callback.o \
+ ClickTime.o \
+ Composite.o \
+ Constraint.o \
+ Convert.o \
+ Converters.o \
+ Core.o \
+ Create.o \
+ Destroy.o \
+ Display.o \
+ Error.o \
+ Event.o \
+ EventUtil.o \
+ Functions.o \
+ GCManager.o \
+ Geometry.o \
+ GetActKey.o \
+ GetResList.o \
+ GetValues.o \
+ HookObj.o \
+ Hooks.o \
+ Initialize.o \
+ Intrinsic.o \
+ Keyboard.o \
+ Manage.o \
+ NextEvent.o \
+ Object.o \
+ PassivGrab.o \
+ Pointer.o \
+ Popup.o \
+ PopupCB.o \
+ RectObj.o \
+ Resources.o \
+ Selection.o \
+ SetSens.o \
+ SetValues.o \
+ SetWMCW.o \
+ Shell.o \
+ StringDefs.o \
+ Threads.o \
+ TMaction.o \
+ TMgrab.o \
+ TMkey.o \
+ TMparse.o \
+ TMprint.o \
+ TMstate.o \
+ VarCreate.o \
+ VarGet.o \
+ Varargs.o \
+ Vendor.o \
+ $(RCMOBJS)
+
+#if SharedDataSeparation
+UNSHAREDOBJS = StringDefs.o sharedlib.o
+#else
+UNSHAREDOBJS = sharedlib.o
+#endif
+
+#include <Library.tmpl>
+
+SpecialCLibObjectRule(Intrinsic,$(ICONFIGFILES),$(SRCH_DEFINES))
+SpecialCLibObjectRule(Error,$(ICONFIGFILES),$(DB_DEFINES))
+SpecialCLibObjectRule(Alloc,$(_NOOP_),$(ALLOC_DEFINES))
+SpecialCLibObjectRule(Converters,$(ICONFIGFILES),$(BC_DEFINES))
+SpecialCLibObjectRule(Resources,$(ICONFIGFILES),$(GETVALUES_DEFINES))
+SpecialCLibObjectRule(TMaction,$(_NOOP_),$(RCONST_DEFINES))
+#if BuildXKBlib
+SpecialCLibObjectRule(TMkey,$(_NOOP_),-DXKB)
+#endif
+#if DoSharedLib
+SpecialCObjectRule(sharedlib,$(_NOOP_),$(SHLIBDEF))
+#endif
+#if defined(ItsyCompilerBug)
+SpecialCLibObjectRule(PassivGrab,$(_NOOP_),-O0)
+#endif
+
+STRINGS_FILES = StringDefs.c StringDefs.h Shell.h
+STRINGS_TMPLS = util/StrDefs.ct util/StrDefs.ht util/Shell.ht
+STRING_LIST = util/string.list
+
+ToolkitMakeStrings($(STRINGS_FILES),$(STRING_LIST),$(STRINGSABIOPTIONS),$(STRINGS_TMPLS),StringDefs.c)
+
+DependTarget()