123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- 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) $(XLIB) $(LDPOSTLIBS)
- #endif
- #ifndef SharedXmReqs
- # define SharedXmReqs $(LDPRELIBS) SharedXReqs -lc
- #endif
- #ifndef SharedTtReqs
- # define SharedTtReqs $(LDPRELIBS) SharedXReqs $(CXXLIB)
- #endif
- #ifndef SharedDtSvcReqs
- # define SharedDtSvcReqs $(LDPRELIBS) SharedXReqs $(CXXLIB)
- #endif
- #ifndef SharedCsaReqs
- # define SharedCsaReqs -lXt $(TIRPCLIB)
- #endif
- #ifndef SharedDtHelpReqs
- # define SharedDtHelpReqs -ljpeg
- #endif
- #ifndef SharedDtSearchReqs
- # define SharedDtSearchReqs -lm
- #endif
|