XCOMM $Xorg: sunLib.tmpl,v 1.3 2000/08/17 19:41:48 cpqbld Exp $ XCOMM $XdotOrg: xc/config/cf/sunLib.tmpl,v 1.5 2004/08/16 16:36:13 krh Exp $ XCOMM $XFree86: xc/config/cf/sunLib.tmpl,v 3.12tsi Exp $ /* * SunOS shared library template */ #if OSMajorVersion <= 4 # if SunPost411FCSLd # define SharedXmuReqs $(LDPRELIBS) $(XTOOLLIB) $(XLIB) # define SharedXrenderReqs $(LDPRELIB) $(XLIB) # endif #ifndef SharedX11Rev #define SharedX11Rev 4.30 #endif #ifndef SharedOldXRev #define SharedOldXRev 4.20 #endif #ifndef SharedXtRev #define SharedXtRev 4.20 #endif #ifndef SharedXawRev #define SharedXawRev 6.10 #endif #ifndef SharedXmuRev #define SharedXmuRev 4.20 #endif #ifndef SharedXextRev #define SharedXextRev 4.50 #endif #ifndef SharedXiRev #define SharedXiRev 4.20 #endif #ifndef SharedXtstRev #define SharedXtstRev 1.20 #endif #ifndef SharedPexRev #define SharedPexRev 1.10 #endif #else /* else it's Solaris */ # if ThreadedX # if OSMinorVersion > 3 # define SharedThreadReqs /**/ # endif # endif # define SharedX11Reqs $(LDPRELIB) SharedThreadReqs $(EXTRA_LIBRARIES) -lc -ldl # define SharedXlibi18nReqs $(LDPRELIB) $(XLIBONLY) -lc # define SharedOldXReqs $(LDPRELIB) $(XLIBONLY) -lc # define SharedXtReqs $(LDPRELIB) $(XLIBONLY) $(SMLIB) $(ICELIB) -lc # define SharedXawReqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWREQS) $(XLIB) -lc # define SharedXaw7Reqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(XLIB) -lc # define SharedXaw6Reqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XLIB) -lc # define SharedXmuReqs $(LDPRELIB) $(XTOOLLIB) $(XLIB) -lnsl -lc # define SharedXmuuReqs $(LDPRELIB) $(XLIBONLY) -lc # define SharedXextReqs $(LDPRELIB) $(XLIBONLY) -lc # define SharedXiReqs $(LDPRELIB) $(XLIB) -lc # define SharedXtstReqs $(LDPRELIB) $(XLIB) -lc # define SharedFSReqs $(EXTRA_LIBRARIES) -lc # define SharedICEReqs $(EXTRA_LIBRARIES) -lc # define SharedSMReqs $(LDPRELIB) $(ICELIB) $(EXTRA_LIBRARIES) -lc # define SharedXineramaReqs $(LDPRELIB) $(XLIB) -lc # define SharedXpReqs $(LDPRELIB) $(XLIB) -lc # define SharedXpmReqs $(LDPRELIB) $(XLIBONLY) -lc # define SharedXResReqs $(LDPRELIB) $(XLIB) -lc # define SharedXrenderReqs $(LDPRELIB) $(XLIBONLY) -lc # define SharedXrandrReqs $(LDPRELIB) $(XRENDERLIB) $(XLIB) -lc # define SharedXssReqs $(LDPRELIB) $(XLIB) -lc # define SharedXvReqs $(LDPRELIB) $(XLIB) -lc # define SharedXvMCReqs $(LDPRELIB) $(XLIB) -lc # define SharedXfontReqs $(LDPRELIB) $(FREETYPE2LIB) GzipLibrary -lsocket MathLibrary -lc # define SharedXfontcacheReqs $(LDPRELIB) $(XLIB) # define SharedFontencReqs $(LDPRELIB) GzipLibrary -lc # define SharedXxf86dgaReqs $(LDPRELIB) $(XLIB) -lc # define SharedXxf86miscReqs $(LDPRELIB) $(XLIB) -lc # define SharedXxf86vmReqs $(LDPRELIB) $(XLIB) -lc # define SharedDPSReqs $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(XLIBONLY) $(EXTRA_LIBRARIES) -lc # define SharedDPSTKReqs $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(DPSLIB) $(XLIBONLY) -lc # define SharedPSResReqs -lc # define SharedGLReqs $(LDPRELIB) $(XLIB) -lc # define SharedOSMesaReqs $(LDPRELIB) $(XLIB) $(GLXLIB) MathLibrary -lc # define SharedxkbfileReqs $(LDPRELIB) $(XONLYLIB) -lc # define SharedxkbuiReqs $(LDPRELIB) $(XKBFILELIB) $(XONLYLIB) MathLibrary -lc # define SharedXauReqs -lc # define SharedXdmcpReqs -lsocket -lc # define FixupLibReferences() /**/ # define SharedPamReqs -ldl # define SharedPamUnixReqs $(LDPRELIBS) -lpam $(LDPOSTLIBS) -lnsl -lmp -lcmd SharedThreadReqs # define SharedPamSampleReqs $(LDPRELIBS) -lpam $(LDPOSTLIBS) SharedThreadReqs # define SharedPamDialAuthReqs $(LDPRELIBS) -lpam $(LDPOSTLIBS) SharedThreadReqs # define SharedPamRhostsAuthReqs $(LDPRELIBS) -lpam $(LDPOSTLIBS) -lsocket SharedThreadReqs # define SharedPamDceAuthReqs $(LDPRELIBS) -lpam $(LDPOSTLIBS) -ldce -lnsl -lsocket SharedThreadReqs # define SharedTtReqs -lnsl -lsocket -lintl -ldl -lc -lw # define SharedDtSvcReqs $(LDPRELIBS) $(TTLIB) $(XMLIB) $(XTOOLLIB) $(XPLIB) $(XLIB) $(LDPOSTLIBS) SharedThreadReqs -lgen -lc -lsocket -lnsl -ldl # define SharedDtMmdbReqs $(LDPRELIBS) $(DTSVCLIB) $(TTLIB) $(XMLIB) $(XTOOLLIB) $(XPLIB) $(XLIB) $(LDPOSTLIBS) SharedThreadReqs -lgen -lc -lsocket -lnsl -ldl # define SharedDtSearchReqs -lm -lc # define SharedDtWidgetReqs $(LDPRELIBS) $(DTSVCLIB) $(XMLIB) -lintl $(LDPOSTLIBS) -lw -lm -lc # define SharedDtHelpReqs $(LDPRELIBS) $(DTSVCLIB) $(XMLIB) $(XTOOLLIB) $(XPLIB) $(XLIB) $(LDPOSTLIBS) -lw -lgen -lm -lc # define SharedDtPrintReqs $(LDPRELIBS) $(DTSVCLIB) $(DTHELPLIB) $(XMLIB) -lintl $(LDPOSTLIBS) -lw -lm -lc # define SharedDtTermReqs SharedDtHelpReqs -ldl -lgen # define SharedDtMrmReqs $(LDPRELIBS) $(DTTERMLIB) $(DTPRINTLIB) $(DTHELPLIB) $(DTWIDGETLIB) $(MRESOURCELIB) $(XMLIB) $(XTOOLLIB) $(XPLIB) $(XLIB) $(LDPOSTLIBS) -lw -lsocket -lnsl -lc # define SharedDtMailReqs $(LDPRELIBS) -lw $(CXXLIB) -lm -ldl # define SharedCsaReqs $(LDPRELIBS) $(DTSVCLIB) $(XMLIB) SharedXmReqs # define DtClientExtraLibs -lintl /* The inbuf paramter to iconv(3) is "const char**", not "char **" */ ICONV_INBUF_DEFINE = -DICONV_INBUF_CONST=const # if HasCplusplus # if HasGcc2ForCplusplus UNSHARED_CXXLIB = -static -lC # elif HasSunCplusplus # if CplusplusCompilerMajorVersion > 3 # ifdef CplusplusWhatdir UNSHARED_CXXLIB = -Bstatic -L`CplusplusWhatdir CC`/../lib -lC -Bdynamic # else UNSHARED_CXXLIB = -Bstatic -L/opt/SUNWspro/SC4.0/lib -lC -Bdynamic # endif # else UNSHARED_CXXLIB = -Bstatic -lC -Bdynamic -lm -lc -Bstatic # endif # endif # endif # define IafSysLib /**/ # include #endif