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
