From 3f58440c73fee49a1cbf3a9f47ba06592f33208b Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Sat, 25 Nov 2006 16:16:48 +0000 Subject: import from X.Org 7.2RC2 --- util/cf/sv4Lib.tmpl | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 util/cf/sv4Lib.tmpl (limited to 'util/cf/sv4Lib.tmpl') diff --git a/util/cf/sv4Lib.tmpl b/util/cf/sv4Lib.tmpl new file mode 100644 index 000000000..d209e83ff --- /dev/null +++ b/util/cf/sv4Lib.tmpl @@ -0,0 +1,89 @@ +XCOMM $Xorg: sv4Lib.tmpl,v 1.3 2000/08/17 19:41:48 cpqbld Exp $ + +/* + * SVR4 shared library template + */ + +XCOMM $XFree86: xc/config/cf/sv4Lib.tmpl,v 3.7 2003/05/29 21:56:57 herrb Exp $ + +/* SVR4 shared libraries are deficient in link semantics */ +XMULIBONLY = -lXmu +#ifndef FixupLibReferences +# define FixupLibReferences() @@\ +XMULIB = $(XMULIBONLY) -z nodefs +#endif +#ifndef XawClientLibs +# define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWCLIENTLIBS) $(XLIB) +#endif + +#if 0 +/* This causes problems on SVR4.0 */ +#ifndef SharedICEReqs +# define SharedICEReqs -lsocket +#endif +#endif + +#if ThreadedX +# ifndef SharedThreadReqs +# define SharedThreadReqs -lthread +# endif +# ifndef SharedX11Reqs +# define SharedX11Reqs -lthread +# endif +#else +# ifndef SharedThreadReqs +# define SharedThreadReqs +# endif +#endif + +#ifndef SharedXReqs +# define SharedXReqs $(XTOOLLIB) $(XPLIB) $(XLIB) SharedThreadReqs $(LDPOSTLIBS) +#endif + +#ifndef SharedXlibi18nReqs +# define SharedXlibi18nReqs $(LDPRELIB) $(XLIBONLY) +#endif + +#ifndef SharedXmReqs +# define SharedXmReqs $(LDPRELIBS) SharedXReqs -lgen -lsocket -lnsl -lw -lc +#endif + +#ifndef SharedMrmReqs +# define SharedMrmReqs $(LDPRELIBS) $(XMLIB) SharedXReqs -lgen -lsocket -lnsl -lw -lc +#endif + +#ifndef SharedUilReqs +# define SharedUilReqs $(LDPRELIBS) $(MRESOURCELIB) $(XMLIB) SharedXReqs -lgen -lsocket -lnsl -lw -lc +#endif + +#ifndef SharedDtSvcReqs +# define SharedDtSvcReqs $(LDPRELIBS) $(TTLIB) $(XMLIB) SharedXReqs +#endif + +#ifndef SharedDtMmdbReqs +# define SharedDtMmdbReqs $(LDPRELIBS) $(DTSVCLIB) $(TTLIB) $(XMLIB) SharedXReqs +#endif + +#ifndef SharedDtHelpReqs +# define SharedDtHelpReqs $(LDPRELIBS) $(DTSVCLIB) $(XMLIB) SharedXReqs +#endif + +#ifndef DtClientExtraLibs +# define DtClientExtraLibs -lresolv +#endif + +REGEXSYSLIB = -lgen +DYNLIBSYSLIB = -ldl + +#ifndef IafSysLib +# define IafSysLib -liaf +#endif +IAFSYSLIB = IafSysLib + +#ifndef SharedGLUReqs +# if HasGcc2ForCplusplus +# define SharedGLUReqs $(LDPRELIBS) $(XLIB) $(GLXLIB) $(CXXLIB) +# else +# define SharedGLUReqs $(LDPRELIBS) $(XLIB) $(GLXLIB) +# endif +#endif -- cgit v1.2.3