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.5 2001/01/17 16:38:50 dawes 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) $(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 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
