diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2006-11-25 16:16:48 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2006-11-25 16:16:48 +0000 |
commit | 3f58440c73fee49a1cbf3a9f47ba06592f33208b (patch) | |
tree | 1a39da9e217885b74c9c0f09e6431bb66a2c0a32 /util/cf/ibmLib.tmpl | |
parent | 7b467928c509058d60342a08c51c85693cdfa281 (diff) |
import from X.Org 7.2RC2
Diffstat (limited to 'util/cf/ibmLib.tmpl')
-rw-r--r-- | util/cf/ibmLib.tmpl | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/util/cf/ibmLib.tmpl b/util/cf/ibmLib.tmpl new file mode 100644 index 000000000..757ba66b9 --- /dev/null +++ b/util/cf/ibmLib.tmpl @@ -0,0 +1,96 @@ +XCOMM $Xorg: ibmLib.tmpl,v 1.3 2000/08/17 19:41:47 cpqbld Exp $ +XCOMM $XdotOrg: util/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 + |