aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/config/cf/ibmLib.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/config/cf/ibmLib.tmpl')
-rw-r--r--nx-X11/config/cf/ibmLib.tmpl96
1 files changed, 96 insertions, 0 deletions
diff --git a/nx-X11/config/cf/ibmLib.tmpl b/nx-X11/config/cf/ibmLib.tmpl
new file mode 100644
index 000000000..ff196aa5d
--- /dev/null
+++ b/nx-X11/config/cf/ibmLib.tmpl
@@ -0,0 +1,96 @@
+XCOMM $Xorg: ibmLib.tmpl,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
+XCOMM $XdotOrg: xc/config/cf/ibmLib.tmpl,v 1.6 2005/05/19 18:53:42 ajax Exp $
+
+/*
+ * AIX shared library template
+ */
+
+XCOMM $XFree86: xc/config/cf/ibmLib.tmpl,v 1.3tsi Exp $
+
+/*
+ * IBM used an unusual shared object file name in some libraries.
+ * Mimic this behavior to preserve compatibility with IBM's libraries.
+ */
+#ifndef IBMShr4Compatibility
+#define IBMShr4Compatibility YES
+#endif
+
+/*
+ * Imake thinks lines with colons are the result of a broken cpp
+ * inserting extra leading whitespace, so use ',' as a separator.
+ */
+#if IBMShr4Compatibility
+ SHR4OBJLIBS = X11,Xt,oldX,Xm,Mrm,Uil
+#endif
+
+#if ThreadedX
+#define SharedThreadReqs -lpthreads
+#define SharedX11Reqs -lpthreads
+#else
+#define SharedThreadReqs /**/
+#endif
+
+#define SharedXextReqs $(XONLYLIB)
+#define SharedXmuReqs $(XTOOLLIB) $(XLIB)
+#define SharedXmuuReqs $(XLIBONLY)
+#define SharedOldXReqs $(XLIBONLY)
+#define SharedXtReqs $(XLIBONLY) $(SMLIB) $(ICELIB) SharedThreadReqs
+#define SharedXawReqs $(XMULIB) $(XTOOLLIB) $(EXTRAXAWREQS) $(XLIB) $(XPMLIB)
+#define SharedXaw7Reqs $(XMULIB) $(XTOOLLIB) $(XLIB) $(XPMLIB)
+#define SharedXaw6Reqs $(XMULIB) $(XTOOLLIB) $(XLIB)
+#define SharedXiReqs $(XLIB)
+#define SharedXtstReqs $(XLIB)
+#define SharedXieReqs $(XONLYLIB)
+#define SharedSMReqs $(ICELIB)
+#define SharedXpReqs $(XLIB)
+#define SharedXpmReqs $(XLIB)
+#define SharedDPSReqs $(XTOOLLIB) $(XLIB)
+#define SharedDPSTKReqs $(DPSLIB) $(XTOOLLIB) $(XLIB)
+#define SharedXrenderReqs $(XLIB)
+#define SharedXrandrReqs $(XRENDERLIB) $(XLIB)
+#define SharedXcursorReqs $(XRENDERLIB) $(XLIB)
+#define SharedxkbfileReqs $(XLIBONLY)
+#define SharedxkbuiReqs $(XLIBONLY) $(XKBFILELIB)
+#define SharedFontencReqs $(BUILDLIBDIR)/libz.a
+#define SharedXfontcacheReqs $(XLIB)
+#define SharedXfontReqs stubs/libfntstubs.a $(FREETYPE2LIB)
+#define SharedXfixesReqs $(XONLYLIB)
+#define SharedXdamageReqs $(XONLYLIB)
+#define SharedXcompositeReqs $(XONLYLIB)
+#define SharedXevieReqs $(XONLYLIB) $(EXTENSIONLIB)
+
+#define SharedXReqs $(XTOOLLIB) $(XPLIB) $(XLIB) SharedThreadReqs
+#define SharedXmReqs $(LDPRELIBS) SharedXReqs
+#define SharedMrmReqs $(LDPRELIBS) $(XMLIB) SharedXReqs
+#define SharedUilReqs $(LDPRELIBS) $(MRESOURCELIB) $(XMLIB) SharedXReqs
+
+/* #define SharedPamReqs */
+#define SharedTtReqs $(LDPRELIBS) SharedXReqs $(CXXLIB)
+#define SharedDtSvcReqs $(LDPRELIBS) $(TTLIB) $(XMLIB) SharedXReqs $(CXXLIB)
+#define SharedDtMmdbReqs $(LDPRELIBS) $(DTSVCLIB) $(TTLIB) $(XMLIB) SharedXReqs $(CXXLIB)
+#define SharedDtSearchReqs $(LDPRELIBS) -lisode
+#define SharedDtWidgetReqs $(LDPRELIBS) $(DTSVCLIB) $(XMLIB) SharedXReqs
+#define SharedDtHelpReqs $(LDPRELIBS) $(DTSVCLIB) $(XMLIB) SharedXReqs -liconv
+#define SharedDtPrintReqs $(LDPRELIBS) $(DTSVCLIB) $(DTHELPLIB) $(XMLIB) SharedXReqs
+#define SharedDtTermReqs $(LDPRELIBS) $(DTHELPLIB) $(DTSVCLIB) $(XMLIB) SharedXReqs -liconv -lm
+#define SharedDtMrmReqs $(LDPRELIBS) $(DTTERMLIB) $(DTPRINTLIB) $(DTHELPLIB) $(DTWIDGETLIB) $(MRESOURCELIB) $(XMLIB) SharedXReqs
+#define SharedCsaReqs $(LDPRELIBS) $(DTSVCLIB) $(XMLIB) SharedXReqs
+
+#if !defined(UseInstalled) && !defined(UseInstalledX11) \
+ && !defined(UseImports) && !defined(ImportX11)
+ /* we want this to be defined only when building X */
+# ifndef FixupLibReferences
+# define FixupLibReferences() @@\
+DEPXTOOLLIB = _UseCat($(USRLIBDIR),$(TOOLKITSRC),/libXt.a)
+# endif
+#endif
+
+/* The inbuf paramter to iconv(3) is "const char**", not "char **" */
+ICONV_INBUF_DEFINE = -DICONV_INBUF_CONST
+
+ICONVSYSLIB = -liconv
+
+#if (OSMajorVersion > 4) || ((OSMajorVersion == 4) && (OSMinorVersion >= 2))
+DYNLIBSYSLIB = -ldl
+#endif
+