mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-24 15:04:13 +00:00
90 lines
2.9 KiB
Cheetah
90 lines
2.9 KiB
Cheetah
XCOMM $TOG: sunLib.tmpl /main/47 1997/12/12 14:53:33 kaleb $
|
|
|
|
/*
|
|
* SunOS shared library template
|
|
*/
|
|
|
|
#if OSMajorVersion <= 4
|
|
|
|
# if SunPost411FCSLd
|
|
# define SharedXmuReqs $(LDPRELIBS) $(XTOOLLIB) $(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 /**/
|
|
# define SharedX11Reqs /**/
|
|
# endif
|
|
# endif
|
|
# define SharedXmuReqs $(LDPRELIBS) $(XTOOLLIB) $(XLIB)
|
|
# 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 $(XTOOLLIB) -lnsl -lsocket -lintl -ldl -lc -lw $(CXXLIB)
|
|
# define SharedDtSvcReqs $(LDPRELIBS) $(TTLIB) $(XMLIB) $(XTOOLLIB) $(XPLIB) $(XLIB) $(LDPOSTLIBS) SharedThreadReqs -lgen -lc -lsocket -lnsl -ldl $(CXXLIB)
|
|
# 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 -ljpeg
|
|
# 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 $(CXXLIB)
|
|
# 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 =
|
|
# elif HasSunCplusplus
|
|
# if CplusplusCompilerMajorVersion > 3
|
|
UNSHARED_CXXLIB =
|
|
# else
|
|
UNSHARED_CXXLIB = -Bstatic -lC -Bdynamic -lm -lc -Bstatic
|
|
# endif
|
|
# endif
|
|
# endif
|
|
|
|
# define IafSysLib /**/
|
|
# include <sv4Lib.tmpl>
|
|
|
|
#endif
|