2012-03-10 18:21:40 +00:00
|
|
|
XCOMM $TOG: lnxLib.tmpl /main/7 1998/03/20 14:26:41 mgreess $
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Linux shared library template
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Linux ELF shared libraries are deficient in link semantics */
|
|
|
|
#if UseElfFormat
|
|
|
|
#ifndef FixupLibReferences
|
|
|
|
#define FixupLibReferences() @@\
|
|
|
|
XMULIBONLY = -lXmu @@\
|
|
|
|
XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
|
|
|
|
#endif
|
|
|
|
#ifndef XawClientLibs
|
|
|
|
#define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
|
|
|
|
#endif
|
|
|
|
#else
|
|
|
|
#ifndef FixupLibReferences
|
|
|
|
#define FixupLibReferences() @@\
|
|
|
|
XMULIB = -lXmu $(XLIB)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
2012-06-19 22:27:20 +00:00
|
|
|
#ifndef SharedDtSvcReqs
|
|
|
|
# define SharedDtSvcReqs $(LDPRELIBS) SharedXReqs $(CXXLIB)
|
|
|
|
#endif
|
|
|
|
|
2012-04-11 15:52:34 +00:00
|
|
|
#ifndef SharedCsaReqs
|
2013-08-28 19:16:39 +00:00
|
|
|
# define SharedCsaReqs -lXt $(TIRPCLIB)
|
2012-04-11 15:52:34 +00:00
|
|
|
#endif
|
|
|
|
|
2012-08-12 23:31:28 +00:00
|
|
|
#ifndef SharedDtHelpReqs
|
|
|
|
# define SharedDtHelpReqs -ljpeg
|
|
|
|
#endif
|
2014-03-11 03:32:10 +00:00
|
|
|
|
|
|
|
#ifndef SharedDtSearchReqs
|
|
|
|
# define SharedDtSearchReqs -lm
|
|
|
|
#endif
|