XCOMM $XFree86: xc/config/cf/lnxLib.tmpl,v 3.21 2006/01/09 14:56:13 dawes Exp $

/*
 * Linux shared library template
 */

#if UseElfFormat

#ifndef FixupLibReferences
#define FixupLibReferences()						@@\
XMULIBONLY = -lXmu							@@\
XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
#endif

#ifndef XawClientLibs
#define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XPMLIB) $(XLIB)
#endif

#define SharedX11Reqs
#define SharedXlibi18nReqs $(LDPRELIB) $(XONLYLIB)
#define SharedOldXReqs	  $(LDPRELIB) $(XONLYLIB)
#define SharedXtReqs	  $(LDPRELIB) $(XONLYLIB) $(SMLIB) $(ICELIB)
#define SharedXaw6Reqs	  $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
#define SharedXawReqs	  $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(XLIB)
#define SharedXmuReqs	  $(LDPRELIB) $(XTOOLLIB) $(XLIB)
#define SharedXextReqs	  $(LDPRELIB) $(XONLYLIB)
#define SharedXiReqs	  $(LDPRELIB) $(XLIB)
#define SharedXrenderReqs $(LDPRELIB) $(XLIB)
#define SharedXtstReqs	  $(LDPRELIB) $(XLIB)
#define SharedSMReqs	  $(LDPRELIB) $(ICELIB)

#if GlxUseBuiltInDRIDriver
#define ExtraSharedGLReqs /**/
#else
#define ExtraSharedGLReqs -ldl
#endif
#define SharedGLReqs	  $(LDPRELIB) $(XLIB) ExtraSharedGLReqs

#define SharedXResReqs	$(LDPRELIB) $(XLIB)
#define SharedXfontcacheReqs	$(LDPRELIB) $(XLIB)
#define SharedXineramaReqs	$(LDPRELIB) $(XLIB)
#define SharedXssReqs	$(LDPRELIB) $(XLIB)
#define SharedXvMCReqs	$(LDPRELIB) $(XLIB)
#define SharedXxf86dgaReqs	$(LDPRELIB) $(XLIB)
#define SharedXxf86miscReqs	$(LDPRELIB) $(XLIB)
#define SharedXxf86vmReqs	$(LDPRELIB) $(XLIB)
#define SharedxkbfileReqs	$(LDPRELIB) $(XONLYLIB)
#define SharedxkbuiReqs $(LDPRELIB) $(XKBFILELIB) $(XONLYLIB)

#else	/* UseElfFormat */

#ifndef FixupLibReferences
#define FixupLibReferences()						@@\
XMULIB = -lXmu $(XLIB)
#endif

#endif	/* UseElfFormat */

#ifndef SharedXReqs
# define SharedXReqs $(XTOOLLIB) $(XPLIB) $(XLIB) $(LDPOSTLIBS)
#endif

#ifndef SharedXmReqs
# define SharedXmReqs $(LDPRELIBS) SharedXReqs -lc
#endif

#ifndef SharedTtReqs
# define SharedTtReqs $(LDPRELIBS) SharedXReqs $(CXXLIB)
#endif

#define NoMessageCatalog
