admin/IntegTools/post_install/netbsd/configShlibs
admin/IntegTools/post_install/netbsd/configTT
+admin/IntegTools/post_install/sun/CDE-MIN.list
+admin/IntegTools/post_install/sun/CDE-MIN.lst
+admin/IntegTools/post_install/sun/CDE-RUN.list
+admin/IntegTools/post_install/sun/CDE-RUN.lst
+admin/IntegTools/post_install/sun/CDE-SHLIBS.list
+admin/IntegTools/post_install/sun/CDE-SHLIBS.lst
+admin/IntegTools/post_install/sun/CDE-TT.list
+admin/IntegTools/post_install/sun/CDE-TT.lst
+admin/IntegTools/post_install/sun/configMin
+admin/IntegTools/post_install/sun/configRun
+admin/IntegTools/post_install/sun/configShlibs
+admin/IntegTools/post_install/sun/configTT
+
admin/IntegTools/post_install/configDemos
admin/IntegTools/post_install/configFonts
admin/IntegTools/post_install/configHelp
admin/IntegTools/post_install/configShlibs
install.dt
+install.dt.dec
+install.dt.hp
+install.dt.ibm
+install.dt.sun
+install.dt.usl
+install.dt.uxp
dinstall.dt
dinstallCDE
installCDE
doc/C/man/man4/
doc/C/man/man5/
doc/C/man/man6/
+doc/de_DE.ISO8859-1/cde.dti/
+doc/de_DE.ISO8859-1/guides/infoUGd/TOC.sgm
+doc/de_DE.ISO8859-1/guides/sysAdminGuide/TOC.sgm
+doc/de_DE.ISO8859-1/guides/usersGuide/TOC.sgm
doc/de_DE.ISO8859-1/help-sdl/
+doc/es_ES.ISO8859-1/cde.dti/
+doc/es_ES.ISO8859-1/guides/infoUGd/TOC.sgm
+doc/es_ES.ISO8859-1/guides/sysAdminGuide/TOC.sgm
+doc/es_ES.ISO8859-1/guides/usersGuide/TOC.sgm
doc/es_ES.ISO8859-1/help-sdl/
+doc/fr_FR.ISO8859-1/cde.dti/
+doc/fr_FR.ISO8859-1/guides/infoUGd/TOC.sgm
+doc/fr_FR.ISO8859-1/guides/sysAdminGuide/TOC.sgm
+doc/fr_FR.ISO8859-1/guides/usersGuide/TOC.sgm
doc/fr_FR.ISO8859-1/help-sdl/
+doc/it_IT.ISO8859-1/cde.dti/
+doc/it_IT.ISO8859-1/guides/infoUGd/TOC.sgm
+doc/it_IT.ISO8859-1/guides/sysAdminGuide/TOC.sgm
+doc/it_IT.ISO8859-1/guides/usersGuide/TOC.sgm
doc/it_IT.ISO8859-1/help-sdl/
doc/ja_JP.dt-eucJP/m-guides/
doc/tmp/
programs/dtksh/ksh93/src/lib/libvdelta/MAM.time
# programs/dtlogin
+programs/dtlogin/config/0015.sun.env
programs/dtlogin/config/0060.dtsysenv
programs/dtlogin/config/Dtlogin
programs/dtlogin/config/Xaccess
programs/dtlogin/config/Xservers.nc
programs/dtlogin/config/Xsession
programs/dtlogin/config/Xsession.ive
+programs/dtlogin/config/Xsession.ow
+programs/dtlogin/config/Xsession.ow2
programs/dtlogin/config/Xsetup
programs/dtlogin/config/Xstartup
programs/dtlogin/config/current.session
programs/fontaliases/netbsd/C/dtinfo.pcf.gz
programs/fontaliases/netbsd/C/dtinfo.pcf.Z
programs/fontaliases/netbsd/C/fonts.dir
+programs/fontaliases/sun/C/dtinfo.bdf
+programs/fontaliases/sun/C/dtinfo.pcf
+programs/fontaliases/sun/C/dtinfo.pcf.gz
+programs/fontaliases/sun/C/dtinfo.pcf.Z
+programs/fontaliases/sun/C/fonts.dir
+programs/fontaliases/sun/ja/dtinfo.bdf
+programs/fontaliases/sun/ja/dtinfo.pcf
+programs/fontaliases/sun/ja/dtinfo.pcf.gz
+programs/fontaliases/sun/ja/dtinfo.pcf.Z
+programs/fontaliases/sun/ja/fonts.dir
# programs/ksh93
programs/dtksh/ksh93/man/man1/sh.1
programs/localized/C/backdrops/desc.C
programs/localized/C/config/Xresources
programs/localized/C/config/Xresources.nls
+programs/localized/C/config/Xresources.ow
+programs/localized/C/config/Xresources.ow.nls
programs/localized/C/config/current.session
programs/localized/C/config/current.session.nls
programs/localized/C/config/current.session.tmsg
programs/localized/de_DE.ISO8859-1/backdrops/desc.de_DE.ISO8859-1
programs/localized/de_DE.ISO8859-1/config/Xresources
programs/localized/de_DE.ISO8859-1/config/Xresources.nls
+programs/localized/de_DE.ISO8859-1/config/Xresources.ow
+programs/localized/de_DE.ISO8859-1/config/Xresources.ow.nls
programs/localized/de_DE.ISO8859-1/config/current.session
programs/localized/de_DE.ISO8859-1/config/current.session.nls
programs/localized/de_DE.ISO8859-1/config/current.session.tmsg
programs/localized/es_ES.ISO8859-1/backdrops/desc.es_ES.ISO8859-1
programs/localized/es_ES.ISO8859-1/config/Xresources
programs/localized/es_ES.ISO8859-1/config/Xresources.nls
+programs/localized/es_ES.ISO8859-1/config/Xresources.ow
+programs/localized/es_ES.ISO8859-1/config/Xresources.ow.nls
programs/localized/es_ES.ISO8859-1/config/current.session
programs/localized/es_ES.ISO8859-1/config/current.session.nls
programs/localized/es_ES.ISO8859-1/config/current.session.tmsg
programs/localized/fr_FR.ISO8859-1/backdrops/desc.fr_FR.ISO8859-1
programs/localized/fr_FR.ISO8859-1/config/Xresources
programs/localized/fr_FR.ISO8859-1/config/Xresources.nls
+programs/localized/fr_FR.ISO8859-1/config/Xresources.ow
+programs/localized/fr_FR.ISO8859-1/config/Xresources.ow.nls
programs/localized/fr_FR.ISO8859-1/config/current.session
programs/localized/fr_FR.ISO8859-1/config/current.session.nls
programs/localized/fr_FR.ISO8859-1/config/current.session.tmsg
programs/localized/it_IT.ISO8859-1/backdrops/desc.it_IT.ISO8859-1
programs/localized/it_IT.ISO8859-1/config/Xresources
programs/localized/it_IT.ISO8859-1/config/Xresources.nls
+programs/localized/it_IT.ISO8859-1/config/Xresources.ow
+programs/localized/it_IT.ISO8859-1/config/Xresources.ow.nls
programs/localized/it_IT.ISO8859-1/config/current.session
programs/localized/it_IT.ISO8859-1/config/current.session.nls
programs/localized/it_IT.ISO8859-1/config/current.session.tmsg
OLDPWD=`pwd`
cd /
- if [ "$PLATFORM" = "sun" -o "$PLATFORM" = "usl" -o "$PLATFORM" = "uxp" ]
+ if [ "$PLATFORM" = "usl" -o "$PLATFORM" = "uxp" ]
then
/usr/sbin/inetd -s
+ elif [ "$PLATFORM" = "sun" ]
+ then
+ /usr/sbin/svcadm refresh svc:/network/inetd:default
+ /usr/sbin/svcadm restart svc:/network/inetd:default
elif [ "$PLATFORM" = "aix" ]
then
startsrc -s inetd >>$LOGFILE 2>&1
if [ "$PLATFORM" = "aix" ];
then
USER=`/bin/whoami`
- elif [ "$PLATFORM" = "sun" -o "$PLATFORM" = "usl" -o "$PLATFORM" = "uxp" ];
+ elif [ "$PLATFORM" = "usl" -o "$PLATFORM" = "uxp" ];
then
USER=`/usr/ucb/whoami`
else
if [ $PLATFORM = "aix" ];
then
USER=`/bin/whoami`
-elif [ $PLATFORM = "sun" -o $PLATFORM = "usl" -o $PLATFORM = "uxp" ];
+elif [ $PLATFORM = "usl" -o $PLATFORM = "uxp" ];
then
USER=`/usr/ucb/whoami`
else
FixEtcInetdDotConf
- FixEtcPamDotConf
-
HASH
HASH create the /var/dt/tmp directory for the dtspcd
HASH
UnfixEtcInetdDotConf
- UnfixEtcPamDotConf
-
RemoveMinFiles
VerifyInstalledFiles
HASH
HASH ConfigurePrintersDir
HASH
- env LANG=C /usr/dt/bin/dtprintinfo -populate
+ env LANG=C /usr/dt/bin/dtprintinfo -populate 2>/dev/null
HASH
HASH Configure Xsession.d
* library building stuff
*/
-#if defined(SunArchitecture) && CplusplusCompilerMajorVersion > 3
+#if defined(SunArchitecture) && CplusplusCompilerMajorVersion > 5
# define makelibT(libname) @@\
makelib(libname) @@\
@@\
echo STR(*** Making lib libname Templates ***) ; \ @@\
$(MAKE) Concat3(libname/lib,libname,T.a) ; \ @@\
)
-#else /* not defined(SunArchitecture) && CplusplusCompilerMajorVersion > 3 */
+#else /* not defined(SunArchitecture) && CplusplusCompilerMajorVersion > 5 */
# define makelibT(libname) @@\
makelib(libname)
#endif
$(LD) -r -o $@ objlist
-#if defined(SunArchitecture) && CplusplusCompilerMajorVersion > 3
+#if defined(SunArchitecture) && CplusplusCompilerMajorVersion > 5
#define SimpleLibraryT(libname,objlist,libdir) @@\
SimpleLibrary(libname,objlist,libdir) @@\
@@\
@echo STR(*** Making NotSoSimpleLibrary libname.a) @@\
$(LD) -r -o $@ objlist
-#if defined(SunArchitecture) && CplusplusCompilerMajorVersion > 3
+#if defined(SunArchitecture) && CplusplusCompilerMajorVersion > 5
#define NotSoSimpleLibraryT(libname,objlist,libdir,otherdeps) @@\
NotSoSimpleLibrary(libname,objlist,libdir,otherdeps) @@\
@@\
/* check for existence of Dtinfo Motif Documents */
#if defined(LinuxArchitecture)
MOTIF_DOC = $(shell if test -f $(MDOCSRC)/C/guides/bookcase.bc; then echo -D_MOTIFDOC_; fi)
+#elif defined(SunArchitecture)
+ MOTIF_DOC :sh = if test -f ../imports/motif/doc/C/guides/bookcase.bc; then echo -D_MOTIFDOC_; else echo; fi
#elif defined(BSDArchitecture)
MOTIF_DOC != if test -f $(MDOCSRC)/C/guides/bookcase.bc; then echo -D_MOTIFDOC_; else echo; fi
#else
#endif
#ifndef UseNSGMLS
-# ifdef SunArchitecture
-# define UseNSGMLS NO
-# else
-# define UseNSGMLS YES
-# endif
+# define UseNSGMLS YES
#endif
+
#ifndef SGMLParser
# if UseNSGMLS
# define SGMLDir $(NSGMLSSRC)
# endif
# if defined(SunArchitecture)
-# define HasSunCplusplus YES
+# ifndef HasSunC
+# define HasSunC NO
+# endif
+# ifndef HasSunCplusplus
+# define HasSunCplusplus HasSunC
+# endif
+# ifndef HasGcc2
+# if HasSunC
+# define HasGcc2 NO
+# else
+# define HasGcc2 YES
+# endif
+# endif
+# ifndef HasGcc2ForCplusplus
+# define HasGcc2ForCplusplus HasGcc2
+# endif
# endif
# if defined(UXPArchitecture) || defined(USLArchitecture) \
# define MotifProjectRoot /usr/local
# elif defined(NetBSDArchitecture)
# define MotifProjectRoot /usr/pkg
+# elif defined(SunArchitecture)
+# define MotifProjectRoot /usr/X11
# endif
#endif
/*
* Compiler setup. This sun.cf file knows what options to use with
- * certain compilers, including Sun C, CenterLine C, and gcc. It
- * also understands how to set some of the options for various C++
- * compilers, including Sun C++ and CenterLine C++.
+ * certain compilers, including Sun C and gcc. It also understands
+ * how to set some of the options for various C++ compilers, including
+ * Sun C++ and g++.
*
* === C Compiler Setup ==========================================
*
- * For SunPro C, define HasSunC to YES in site.def.
- * For CenterLine C, define HasCenterLineC to YES in site.def
- * For gcc or gcc2, define HasGcc or HasGcc2 to YES in site.def
- * For other compilers, define HasSunC to NO in site.def, then
+ * For SunPro C, define HasSunC to YES in host.def.
+ * For Gnu gcc, define HasGcc2 to YES in host.def
+ * For other compilers, define HasSunC to NO in host.def, then
* provide appropriate values for the various compiler related
* configuration varibles used here.
*
* If you don't tell us which C compiler you have, we assume you have
- * the SunPro C compiler under Solaris 2.x, and the bundled /bin/cc
+ * the Gcc C compiler under Solaris 5.x.
* under SunOS 4.1.x
*
* === C++ Compiler Setup ==========================================
*
- * For SunPro C++, define HasSunCplusplus to YES in site.def
- * For CenterLine C++, define HasCenterLineCplusplus to YES in site.def
- * For Gnu g++ 2.6.x, define HasGcc2ForCplusplus to YES in site.def
- * For other compilers, define HasCplusplus to YES in site.def, and
+ * For SunPro C++, define HasSunCplusplus to YES in host.def
+ * For Gnu g++ 4.x, define HasGcc2ForCplusplus to YES in host.def
+ * For other compilers, define HasCplusplus to YES in host.def, and
* check to see if you need to provide values for CplusplusOptions
* and/or DefaultCplusplusOptions.
*
* In any case, you may also need to set CplusplusDependIncludes.
*
* If you say you have the SunPro C++ compiler, we assume you have
- * version 3.0.x of the compiler. If you have version 4.0.x instead,
- * define CplusplusCompilerMajorVersion as 4 in site.def.
+ * version 5.0.x of the compiler. If you have version 4.0.x instead,
+ * define CplusplusCompilerMajorVersion as 4 in host.def.
*
*/
#ifndef HasSunC
-# if (HasCenterLineC || HasGcc || HasGcc2 || OSMajorVersion < 5)
+# if (HasGcc || HasGcc2 || OSMajorVersion < 5)
# define HasSunC NO
# else
# define HasSunC YES
XCOMM SunPro C++ CplusplusCompilerMajorVersion./**/CplusplusCompilerMinorVersion
#endif
-#if HasCenterLineC
-# ifndef CcCmd
-# define CcCmd clcc
+#if HasGcc2
+# ifndef CCompilerMajorVersion
+# define CCompilerMajorVersion DefaultGnuCCompilerMajorVersion
+# endif
+# ifndef CCompilerMinorVersion
+# define CCompilerMinorVersion DefaultGnuCCompilerMinorVersion
# endif
+XCOMM Gnu C CCompilerMajorVersion./**/CCompilerMinorVersion
#endif
-#if HasCenterLineCplusplus
+#if HasGcc2ForCplusplus
# ifndef HasCplusplus
# define HasCplusplus YES
# endif
-# ifndef DefaultCplusplusOptions
-# define DefaultCplusplusOptions -Xa
+# ifndef CplusplusCompilerMajorVersion
+# ifdef DefaultGnuCplusplusCompilerMajorVersion
+# define CplusplusCompilerMajorVersion DefaultGnuCplusplusCompilerMajorVersion
+# else
+# define CplusplusCompilerMajorVersion 4
+# endif
# endif
-# ifndef CplusplusOptions
-# define CplusplusOptions -Xa
+# ifndef CplusplusCompilerMinorVersion
+# ifdef DefaultGnuCplusplusCompilerMinorVersion
+# define CplusplusCompilerMinorVersion DefaultGnuCplusplusCompilerMinorVersion
+# else
+# define CplusplusCompilerMinorVersion 6
+# endif
# endif
+XCOMM Gnu C++ CplusplusCompilerMajorVersion./**/CplusplusCompilerMinorVersion
+#endif
+
+
+#if OSMajorVersion > 4
+#define MkdirHierCmd mkdir -p
+#endif
+
+#ifndef OptimizedCDebugFlags
+# define OptimizedCDebugFlags -O2
#endif
#if OSMajorVersion < 4 || (OSMajorVersion == 4 && OSMinorVersion < 1)
#define ConnectionFlags -DTCPCONN -DUNIXCONN -DLOCALCONN
#if HasSunC
/*
- * Assume /opt/SUNWspro/bin/ contains symlinks to the appropriate tools
+ * Assume /opt/solarisstudio/bin/ contains symlinks to the appropriate tools
*/
#ifndef CcCmd
-# define CcCmd /opt/SUNWspro/bin/cc
+# define CcCmd /opt/solarisstudio/bin/cc
#endif
#ifndef CplusplusCmd
-# define CplusplusCmd /opt/SUNWspro/bin/CC
+# define CplusplusCmd /opt/solarisstudio/bin/CC
#endif
#ifndef CplusplusFilt
-# define CplusplusFilt /opt/SUNWspro/bin/c++filt
+# define CplusplusFilt /opt/solarisstudio/bin/c++filt
+#endif
+#ifndef CplusplusLibC
+#define CplusplusLibC -L/opt/solarisstudio/lib -lCrun
#endif
#ifndef CplusplusDependIncludes
#if CplusplusCompilerMajorVersion > 3
-# define CplusplusDependIncludes -I/opt/SUNWspro/SC4.0/include/CC
+# define CplusplusDependIncludes -I/opt/solarisstudio/prod/include/CC -I/opt/solarisstudio/prod/include/CC/Cstd
#elif CplusplusCompilerMajorVersion > 2
# define CplusplusDependIncludes -I/opt/SUNWspro/SC3.0/include/CC
#else
#endif
#endif
#endif
-
# if HasSunC && (CCompilerMajorVersion < 3)
# define BootstrapCFlags -DSVR4
# else
# endif
# endif /* OSMinorVersion > 1 */
# ifndef UseExportLists
-# define UseExportLists YES
+# define UseExportLists NO
# endif
# define HasVFork NO
# define InstKmemFlags -g sys -m 2711
* Set flags for position independent code before including sv4Lib.rules
* if the compiler in use doesn't use standard SVR4 flags
*/
-# if HasSunC || HasCenterLineC
+# if HasSunC
# define PositionIndependentCFlags -Kpic
# define LargePositionIndependentCFlags -KPIC
# endif
-# if HasSunCplusplus || HasCenterLineCplusplus
+# if HasSunCplusplus
# define PositionIndependentCplusplusFlags -pic
# define LargePositionIndependentCplusplusFlags -PIC
# endif
# endif
# endif
# if HasGcc2
-# ifndef OptimizedCDebugFlags
-# ifdef i386Architecture
-# define OptimizedCDebugFlags -m486 DefaultGcc2i386Opt
-# else
-# define OptimizedCDebugFlags -O2
-# endif
+# define SharedLibraryLoadFlags -shared
+# define ExtraLoadFlags -Wl,-rpath,$(USRLIBDIRPATH)
+# ifdef i386Architecture
+# define CcCmd gcc
# endif
# else
# define SharedLibraryCcCmd cc
# endif
# endif
-/* Set compiler-dependent options for CenterLine C */
+# define PexCCOptions DefaultCCOptions
-# if HasCenterLineC
-# ifndef DefaultCCOptions
-# define DefaultCCOptions -Xt -w1 -DANSICPP -U__HIGHC__
-# endif
-# ifndef NeedConstPrototypes
-# define NeedConstPrototypes YES
-# endif
-# ifndef NeedNestedPrototypes
-# define NeedNestedPrototypes YES
-# endif
-# ifndef NeedVarargsPrototypes
-# define NeedVarargsPrototypes YES
-# endif
-# endif
+#endif /* HasGcc || HasGcc2 (else) */
+#if HasGcc2
+CXXDEPENDINCLUDE :sh = CcCmd -v -x c++ /dev/null -fsyntax-only \
+ 2>&1 | sed -n 's/^ \(\/.*[cg]++.*\)/-I\1/p'
+#define CplusplusDependIncludes $(CXXDEPENDINCLUDE)
+#endif
-# define PexCCOptions DefaultCCOptions
+#if HasGcc2ForCplusplus
+#define CplusplusCmd g++
+#ifndef CplusplusLibC
+#define CplusplusLibC -L/usr/gnu/lib -lstdc++
+#endif
+#endif /* HasGcc2ForCplusplus */
-#endif /* HasGcc || HasGcc2 (else) */
#if OSMajorVersion < 5
# define SharedAllocateLocalDefines -DINCLUDE_ALLOCA_H
#define SharedXdmcpRev 6
#endif
-#define MotifDefines \
- -DNO_ISDIR -DNO_REGCOMP -DNO_ALLOCA -DBOGUS_MB_MAX -DNO_CONST
+#define DependFileName .depend
+#if HasSunC
+#define DependDefines -D__BUILTIN_VA_ARG_INCR
+#endif
+
+#define LdPreLib -L/usr/X11/lib -L$(BUILDLIBDIR)
#define PamUnixDefines -DPAM_NIS
#define TtLargePICTable YES
#define DtSvcDefines -DMULTIBYTE -DNO_REGCOMP
#define DtWidgetDefines DtSearchDefines
#define DtPrintDefines DtSearchDefines
+/* For DtHelp TIFF processing routines. */
+#if defined(AMD64Architecture) || defined(i386Architecture)
+#define LSBBitOrder YES
+#endif
+
#define baseDtMailDefines \
-DSunOS=OSMajorVersion\#\#OSMinorVersion -DMMAP_NORESERVE -DSPRO_V2
#ifndef i386Architecture
#define TtClientExtraLibs ExtraLibraries -ldl -lintl
-#define ExportListGenSource elistgen.sun
+#ifndef TopMotifInclude
+# define TopMotifInclude /usr/X11/include
+#endif
+
#define ShlibExportListOpt(filename) -M filename
+#define TtClientLibs $(TTLIB) $(XTOOLLIB) $(XLIB)
+#define TtClientDepLibs $(DEPTTLIB) $(DEPXTOOLLIB) $(DEPXLIB)
+
#define CdeProjectDefines \
- -DMULTIBYTE -DNLS16 -DMESSAGE_CAT -D_XOPEN_VERSION=4 \
- -D_XOPEN_SOURCE -D__EXTENSIONS__ \
+ -DMULTIBYTE -DNLS16 -DMESSAGE_CAT -D__EXTENSIONS__ \
-DOSMAJORVERSION=OSMajorVersion -DOSMINORVERSION=OSMinorVersion
# 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 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
+# 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
+# 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
# if HasCplusplus
# if HasGcc2ForCplusplus
-UNSHARED_CXXLIB = -static -lC
+UNSHARED_CXXLIB =
# elif HasSunCplusplus
# if CplusplusCompilerMajorVersion > 3
-UNSHARED_CXXLIB = -lC
+UNSHARED_CXXLIB =
# else
UNSHARED_CXXLIB = -Bstatic -lC -Bdynamic -lm -lc -Bstatic
# endif
#endif /* InstallSharedLibraryData */
#ifndef LinkWithExports
-# if UseExportLists
-# define LinkWithExports(libname,rev,solist,down,up) \
+# if defined(SunArchitecture)
+# if HasGcc2
+# define LinkWithExports(libname,rev,solist,down,up) \
+ (cd down; $(CC) -o up/$@~ $(SHLIBLDFLAGS) -Wl,-soname,$@ solist $(REQUIREDLIBS))
+# else
+# define LinkWithExports(libname,rev,solist,down,up) \
+ (cd down; $(CCENVSETUP) $(CXX) -o up/$@~ $(SHLIBLDFLAGS) -h $@ solist $(REQUIREDLIBS))
+# endif
+# else
+# if UseExportLists
+# define LinkWithExports(libname,rev,solist,down,up) \
(cd down; $(CCENVSETUP) $(LD) -o up/$@~ $(SHLIBLDFLAGS) -h $@ solist $(REQUIREDLIBS)) @@\
if [ -f Concat(lib,libname.elist) ]; then \ @@\
$(RM) down/$@.exports $@.list; \ @@\
(cd down; $(CCENVSETUP) $(LD) -o up/$@~ $(SHLIBLDFLAGS) -h $@ ShlibExportListOpt($@.exports) solist $(REQUIREDLIBS)); \ @@\
$(RM) down/$@.exports $@.list; \ @@\
fi;
-# else
-# define LinkWithExports(libname,rev,solist,down,up) \
+# else
+# define LinkWithExports(libname,rev,solist,down,up) \
(cd down; $(CCENVSETUP) $(LD) -o up/$@~ $(SHLIBLDFLAGS) -h $@ solist $(REQUIREDLIBS))
+# endif
# endif
#endif
#define DefaultCCOptions -Xa -Dasm=__asm
#endif
#endif
-#ifndef DefaultCDebugFlags
+#if !defined(DefaultCDebugFlags) && !defined(OptimizedCDebugFlags)
#if HasGcc2
#ifdef i386Architecture
-#define DefaultCDebugFlags -m486 DefaultGcc2i386Opt
+#define DefaultCDebugFlags -O2
#else
#define DefaultCDebugFlags -O2
#endif
DEPLIBS =
+DEPEND_DEFINES = $(DEPENDDEFINES)
INCLUDES = -I$(TOP)/include $(TOP_X_INCLUDES)/X11
CPP_PROGRAM = CppCmd
CPP_DEFINES = -DCPP_PROGRAM="\"$(CPP_PROGRAM)\""
{
char buf[PATH_MAX];
char cmd[PATH_MAX];
- static char* sunpro_cc = "/opt/SUNWspro/bin/cc";
- static char* sunpro_CC = "/opt/SUNWspro/bin/CC";
+ static char* sunpro_cc = "/opt/solarisstudio/bin/cc";
+ static char* sunpro_CC = "/opt/solarisstudio/bin/CC";
+ static char* gnu_cc1 = "/usr/bin/gcc";
+ static char* gnu_cc2 = "/usr/gnu/bin/gcc";
+ static char* gnu_CC1 = "/usr/bin/g++";
+ static char* gnu_CC2 = "/usr/gnu/bin/g++";
int cmajor, cminor;
char* vptr;
struct stat sb;
pclose (ccproc);
}
}
+ cmd[0] = '\0';
+ if (lstat (gnu_cc1, &sb) == 0) {
+ strncpy (cmd, gnu_cc1, PATH_MAX);
+ }
+ else if (lstat (gnu_cc2, &sb) == 0) {
+ strncpy (cmd, gnu_cc2, PATH_MAX);
+ }
+ if (cmd[0] != '\0') {
+ strncat (cmd, " --version 2>&1", 15);
+ if ((ccproc = popen (cmd, "r")) != NULL) {
+ if (fgets (buf, PATH_MAX, ccproc) != NULL) {
+ vptr = strrchr (buf, 'G');
+ for (; !isdigit(*vptr); vptr++);
+ ret = sscanf (vptr, "%d.%d", &cmajor, &cminor);
+ fprintf (inFile,
+ "#define DefaultGnuCCompilerMajorVersion %d\n",
+ cmajor);
+ fprintf (inFile,
+ "#define DefaultGnuCCompilerMinorVersion %d\n",
+ cminor);
+ }
+ while (fgets (buf, PATH_MAX, ccproc) != NULL) {};
+ pclose (ccproc);
+ }
+ }
+ cmd[0] = '\0';
+ if (lstat (gnu_CC1, &sb) == 0) {
+ strncpy (cmd, gnu_CC1, PATH_MAX);
+ }
+ else if (lstat (gnu_CC2, &sb) == 0) {
+ strncpy (cmd, gnu_CC2, PATH_MAX);
+ }
+ if (cmd[0] != '\0') {
+ strncat (cmd, " --version 2>&1", 15);
+ if ((ccproc = popen (cmd, "r")) != NULL) {
+ if (fgets (buf, PATH_MAX, ccproc) != NULL) {
+ vptr = strrchr (buf, 'G');
+ for (; !isdigit(*vptr); vptr++);
+ ret = sscanf (vptr, "%d.%d", &cmajor, &cminor);
+ fprintf (inFile,
+ "#define DefaultGnuCplusplusCompilerMajorVersion %d\n",
+ cmajor);
+ fprintf (inFile,
+ "#define DefaultGnuCplusplusCompilerMinorVersion %d\n",
+ cminor);
+ }
+ while (fgets (buf, PATH_MAX, ccproc) != NULL) {};
+ pclose (ccproc);
+ }
+ }
(void) ret;
}
#endif
static char* gcc_path[] = {
#ifdef linux
"/usr/bin/cc", /* for Linux PostIncDir */
+#endif
+#ifdef sun
+ "/usr/bin/gcc",
+ "/usr/gnu/bin/gcc",
#endif
"/usr/local/bin/gcc",
"/opt/gnu/bin/gcc"
-XCOMM $TOG: Imakefile /main/27 1997/04/30 15:38:09 kaleb $
+XCOMM $tog: Imakefile /main/27 1997/04/30 15:38:09 kaleb $
SRCS = include.c main.c parse.c pr.c cppsetup.c ifparser.c
OBJS = include.o main.o parse.o pr.o cppsetup.o ifparser.o
OSUF = .Osuf
OSUF_DEFINES = -DOBJSUFFIX=\"$(OSUF)\"
MAIN_DEFINES = $(INC_DEFINES) $(SIGNAL_DEFINES) $(OSUF_DEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
INCLUDES = -I$(IMAKESRC) -I$(TOP)/include $(TOP_X_INCLUDES)/X11
DEPLIBS =
#include "ifparser.h"
#include <ctype.h>
-#include <stdlib.h>
#include <string.h>
#include <limits.h>
* ParseIfExpression parse a string for #if
*/
+#include <stdlib.h>
#include <stdio.h>
#define const /**/
lineno = filep->f_line;
for(bol = p--; ++p < eof; ) {
- if (*p == '/' && *(p+1) == '*') { /* consume comments */
+ if (*p == '/' && (p+1) < eof && *(p+1) == '*') {
+ /* consume C comments */
*p++ = ' ', *p++ = ' ';
while (*p) {
if (*p == '*' && *(p+1) == '/') {
}
continue;
}
-#ifdef WIN32
- else if (*p == '/' && *(p+1) == '/') { /* consume comments */
- *p++ = ' ', *p++ = ' ';
- while (*p && *p != '\n')
- *p++ = ' ';
- lineno++;
- continue;
+ else if (*p == '/' && (p+1) < eof && *(p+1) == '/') {
+ /* consume C++ comments */
+ *p++ = ' ';
+ *p++ = ' ';
+ while (p < eof && *p) {
+ if (*p == '\\' && (p+1) < eof &&
+ *(p+1) == '\n') {
+ *(p++) = ' ';
+ lineno++;
+ }
+ else if (*p == '?' && (p+3) < eof &&
+ *(p+1) == '?' &&
+ *(p+2) == '/' &&
+ *(p+3) == '\n') {
+ *(p++) = ' ';
+ *(p++) = ' ';
+ *(p++) = ' ';
+ lineno++;
+ }
+ else if (*p == '\n')
+ break; /* to process end of line */
+ *(p++) = ' ';
+ }
+ --p;
}
-#endif
else if (*p == '\\') {
if (*(p+1) == '\n') {
*p = ' ';
struct inclist *file, *file_red;
char *include;
boolean dot;
+ boolean failOK;
{
register struct inclist *newfile;
register struct filepointer *content;
PROGRAMS = xmkmf $(MDEP_PROG) mergelib ProgramTargetName(makestrs) $(EXPORTLISTGEN) $(CMKDIRHIER)
DEPLIBS =
+DEPEND_DEFINES = $(DEPENDDEFINES)
+
#ifndef Win32Architecture
EXTRA_LIBRARIES =
#endif
static void WriteSourceLine (te, abi, fudge)
TableEnt* te;
int abi;
+ int fudge;
{
char* c;
install_target = /usr/dt/config/xfonts/C/fonts.dir
}
#
-programs/fontaliases/sun/C/dtinfo.pcf
+programs/fontaliases/sun/C/dtinfo.pcf.Z
{ sun
- install_target = /usr/dt/config/xfonts/C/dtinfo.pcf
+ install_target = /usr/dt/config/xfonts/C/dtinfo.pcf.Z
}
programs/fontaliases/sun/ja/fonts.alias
#
install_target = /usr/dt/config/xfonts/ja/fonts.dir
}
#
-programs/fontaliases/sun/ja/dtinfo.pcf
+programs/fontaliases/sun/ja/dtinfo.pcf.Z
{ sun
- install_target = /usr/dt/config/xfonts/C/dtinfo.pcf
+ install_target = /usr/dt/config/xfonts/C/dtinfo.pcf.Z
}
#
#programs/fontaliases/sun/ko/fonts.dir
install_target = /usr/dt/dthelp/dtdocbook/SGML/iso-tech.gml
}
#
-#>>---------------------------
-# XXXXX - TEMPORARY symlinks to SGML files
-# SGML files: dtdocbook
-# These should go away once Sun can compile nsgmls
-#-----------------------------
-#
-#
-./dtinfo.af
-{ sun
- install_target = /usr/dt/dthelp/dtdocbook/SGML/-%%Common_Desktop_Environment%%ENTITIES_DtInfo_Architectural_Forms%%EN
- type = sym_link
-}
-#
-./docbook.dtd
-{ sun
- install_target = /usr/dt/dthelp/dtdocbook/SGML/-%%HaL_and_O'Reilly%%DTD_DocBook%%EN
- type = sym_link
-}
-#
-./iso-lat1.gml
-{ sun
- install_target = /usr/dt/dthelp/dtdocbook/SGML/ISO_8879-1986%%ENTITIES_Added_Latin_1%%EN
- type = sym_link
-}
-#
-./iso-lat2.gml
-{ sun
- install_target = /usr/dt/dthelp/dtdocbook/SGML/ISO_8879-1986%%ENTITIES_Added_Latin_2%%EN
- type = sym_link
-}
-#
-./iso-box.gml
-{ sun
- install_target = /usr/dt/dthelp/dtdocbook/SGML/ISO_8879-1986%%ENTITIES_Box_and_Line_Drawing%%EN
- type = sym_link
-}
-#
-./iso-dia.gml
-{ sun
- install_target = /usr/dt/dthelp/dtdocbook/SGML/ISO_8879-1986%%ENTITIES_Diacritical_Marks%%EN
- type = sym_link
-}
-#
-./iso-tech.gml
-{ sun
- install_target = /usr/dt/dthelp/dtdocbook/SGML/ISO_8879-1986%%ENTITIES_General_Technical%%EN
- type = sym_link
-}
-#
-./iso-grk1.gml
-{ sun
- install_target = /usr/dt/dthelp/dtdocbook/SGML/ISO_8879-1986%%ENTITIES_Greek_Letters%%EN
- type = sym_link
-}
-#
-./iso-grk3.gml
-{ sun
- install_target = /usr/dt/dthelp/dtdocbook/SGML/ISO_8879-1986%%ENTITIES_Greek_Symbols%%EN
- type = sym_link
-}
-#
-./iso-num.gml
-{ sun
- install_target = /usr/dt/dthelp/dtdocbook/SGML/ISO_8879-1986%%ENTITIES_Numeric_and_Special_Graphic%%EN
- type = sym_link
-}
-#
-./iso-pub.gml
-{ sun
- install_target = /usr/dt/dthelp/dtdocbook/SGML/ISO_8879-1986%%ENTITIES_Publishing%%EN
- type = sym_link
-}
-#
#>>-------------------------
# pixmaps and helptag files
#---------------------------
}
#
#>>-----------------------------
-# XXXXX - TEMPORARY symlinks to SGML files
-# These should go away once Sun can compile nsgmls
-#<<-----------------------------
-#
-#
-/usr/dt/infolib/C/SGML/dtinfoBook.dtd
-{ sun
- install_target = /usr/dt/infolib/C/SGML/-%%Common_Desktop_Environment%%DTD_DtInfo_Bookcase_Description%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/dtinfoStyle.dtd
-{ sun
- install_target = /usr/dt/infolib/C/SGML/-%%Common_Desktop_Environment%%DTD_DtInfo_Style_Sheet%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/dtinfoTOC.dtd
-{ sun
- install_target = /usr/dt/infolib/C/SGML/-%%Common_Desktop_Environment%%DTD_DtInfo_Table_of_Contents%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/dtinfo.af
-{ sun
- install_target = /usr/dt/infolib/C/SGML/-%%Common_Desktop_Environment%%ENTITIES_DtInfo_Architectural_Forms%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-catalog
-{ sun
- install_target = /usr/dt/infolib/C/SGML/-%%Common_Desktop_Environment%%ENTITIES_ISO_Catalog%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/proxy.ss
-{ sun
- install_target = /usr/dt/infolib/C/SGML/-%%Common_Desktop_Environment%%ENTITIES_Dtinfo_SS_Localization%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/docbook.dtd
-{ sun
- install_target = /usr/dt/infolib/C/SGML/-%%HaL_and_O'Reilly%%DTD_DocBook%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-lat1.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879\:1986%%ENTITIES_Added_Latin_1%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-lat2.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879\:1986%%ENTITIES_Added_Latin_2%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-amsa.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879\:1986%%ENTITIES_Added_Math_Symbols\:_Arrow_Relations%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-amsb.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879\:1986%%ENTITIES_Added_Math_Symbols\:_Binary_Operators%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-amsc.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879\:1986%%ENTITIES_Added_Math_Symbols\:_Delimiters%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-amsn.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879\:1986%%ENTITIES_Added_Math_Symbols\:_Negated_Relations%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-amso.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879\:1986%%ENTITIES_Added_Math_Symbols\:_Ordinary%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-amsr.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879\:1986%%ENTITIES_Added_Math_Symbols\:_Relations%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-grk4.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879\:1986%%ENTITIES_Alternative_Greek_Symbols%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-box.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879\:1986%%ENTITIES_Box_and_Line_Drawing%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-dia.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879\:1986%%ENTITIES_Diacritical_Marks%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-tech.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879\:1986%%ENTITIES_General_Technical%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-grk1.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879\:1986%%ENTITIES_Greek_Letters%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-grk3.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879\:1986%%ENTITIES_Greek_Symbols%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-grk2.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879\:1986%%ENTITIES_Monotoniko_Greek%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-cyr2.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879\:1986%%ENTITIES_Non-Russian_Cyrillic%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-num.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879\:1986%%ENTITIES_Numeric_and_Special_Graphic%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-pub.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879\:1986%%ENTITIES_Publishing%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-cyr1.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879\:1986%%ENTITIES_Russian_Cyrillic%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-mfrk.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_9573-13\:1991%%ENTITIES_Math_Alphabets\:_Fraktur_%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-mopf.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_9573-13\:1991%%ENTITIES_Math_Alphabets\:_Open_Face_%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-mscr.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_9573-13\:1991%%ENTITIES_Math_Alphabets\:_Script_%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-lat1.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879-1986%%ENTITIES_Added_Latin_1%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-lat2.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879-1986%%ENTITIES_Added_Latin_2%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-amsa.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879-1986%%ENTITIES_Added_Math_Symbols\:_Arrow_Relations%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-amsb.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879-1986%%ENTITIES_Added_Math_Symbols\:_Binary_Operators%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-amsc.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879-1986%%ENTITIES_Added_Math_Symbols\:_Delimiters%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-amsn.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879-1986%%ENTITIES_Added_Math_Symbols\:_Negated_Relations%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-amso.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879-1986%%ENTITIES_Added_Math_Symbols\:_Ordinary%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-amsr.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879-1986%%ENTITIES_Added_Math_Symbols\:_Relations%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-grk4.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879-1986%%ENTITIES_Alternative_Greek_Symbols%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-box.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879-1986%%ENTITIES_Box_and_Line_Drawing%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-dia.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879-1986%%ENTITIES_Diacritical_Marks%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-tech.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879-1986%%ENTITIES_General_Technical%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-grk1.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879-1986%%ENTITIES_Greek_Letters%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-grk3.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879-1986%%ENTITIES_Greek_Symbols%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-grk2.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879-1986%%ENTITIES_Monotoniko_Greek%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-cyr2.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879-1986%%ENTITIES_Non-Russian_Cyrillic%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-num.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879-1986%%ENTITIES_Numeric_and_Special_Graphic%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-pub.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879-1986%%ENTITIES_Publishing%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-cyr1.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_8879-1986%%ENTITIES_Russian_Cyrillic%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-mfrk.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_9573-13-1991%%ENTITIES_Math_Alphabets\:_Fraktur_%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-mopf.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_9573-13-1991%%ENTITIES_Math_Alphabets\:_Open_Face_%%EN
- type = sym_link
-}
-#
-/usr/dt/infolib/C/SGML/iso-mscr.gml
-{ sun
- install_target = /usr/dt/infolib/C/SGML/ISO_9573-13-1991%%ENTITIES_Math_Alphabets\:_Script_%%EN
- type = sym_link
-}
-#
-#>>-----------------------------
# dtinfo spec files
#<<-----------------------------
#
install_target = /usr/dt/share/backdrops/Sprinkles.pm
}
#
+#
+programs/backdrops/SunLogo.pm
+{ sun
+ install_target = /usr/dt/share/backdrops/SunLogo.pm
+}
+#
programs/backdrops/Toronto.bm
{ default
install_target = /usr/dt/share/backdrops/Toronto.bm
mode = 0555
}
#
-# XXXXX - TEMPORARY until Sun can compile nsgmls
-#
-programs/dtdocbook/sgmls/sgmls
-{ sun
- install_target = /usr/dt/infolib/etc/sgmls
- mode = 0555
-}
-#
#>>-----------------------------
#
# MMDB
XCOMM <<-----------------------------
XCOMM
--
-{ sun
- type = directory
- install_target = /usr/dt/lib/security
- mode = 0555
- status = ------
-}
-XCOMM
-lib/pam/libpam/libpam.so.2.1
-{ sun
- install_target = /usr/dt/lib/libpam.so.2.1
- mode = 0755
- owner = root
-}
-XCOMM
-./libpam.so.2.1
-{ sun
- install_target = /usr/dt/lib/libpam.so.1
- type = sym_link
-}
-XCOMM
-lib/pam/pam_modules/dial_auth/libpam_dial_auth.so.2.1
-{ sun
- install_target = /usr/dt/lib/security/pam_dial_auth.so.2.1
- mode = 0555
- owner = root
-}
-XCOMM
-./pam_dial_auth.so.2.1
-{ sun
- install_target = /usr/dt/lib/security/pam_dial_auth.so.1
- type = sym_link
-}
-XCOMM
-lib/pam/pam_modules/rhosts_auth/libpam_rhosts_auth.so.2.1
-{ sun
- install_target = /usr/dt/lib/security/pam_rhosts_auth.so.2.1
- mode = 0555
- owner = root
-}
-XCOMM
-./pam_rhosts_auth.so.2.1
-{ sun
- install_target = /usr/dt/lib/security/pam_rhosts_auth.so.1
- type = sym_link
-}
-XCOMM
-lib/pam/pam_modules/unix/libpam_unix.so.2.1
-{ sun
- install_target = /usr/dt/lib/security/pam_unix.so.2.1
- mode = 0555
- owner = root
-}
-XCOMM
-./pam_unix.so.2.1
-{ sun
- install_target = /usr/dt/lib/security/pam_unix.so.1
- type = sym_link
-}
-XCOMM
-./libXm.so.2.1
-{ sun
- install_target = /usr/dt/lib/libXm.so.1.2
- type = sym_link
-}
-XCOMM
-./libXm.so.2.1
-{ sun
- install_target = /usr/dt/lib/libXm.so.3
- type = sym_link
-}
-XCOMM
-./libMrm.so.2.1
-{ sun
- install_target = /usr/dt/lib/libMrm.so.1.2
- type = sym_link
-}
-XCOMM
-./libMrm.so.2.1
-{ sun
- install_target = /usr/dt/lib/libMrm.so.3
- type = sym_link
-}
-XCOMM
-./libUil.so.2.1
-{ sun
- install_target = /usr/dt/lib/libUil.so.1.2
- type = sym_link
-}
-XCOMM
-./libUil.so.2.1
-{ sun
- install_target = /usr/dt/lib/libUil.so.3
- type = sym_link
-}
XCOMM
lib/DtHelp/libDtHelp.so.2.1
{ sun
#define IHaveSubdirs
#define PassCDebugFlags /**/
-#if defined(LinuxArchitecture) || defined(BSDArchitecture)
+#if defined(LinuxArchitecture) || defined(BSDArchitecture) || \
+ defined(SunArchitecture)
SUBDIRS = il
DONES = il/DONE
#else
#endif
INCLUDES = -I. -I./il -I./jpeg
-
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = -DDTLIB $(LOCAL_DEFINES) \
-DCDE_INSTALLATION_TOP='"$(CDE_INSTALLATION_TOP)"' \
-DCDE_CONFIGURATION_TOP='"$(CDE_CONFIGURATION_TOP)"' \
jpeg/jdinput.o jpeg/jerror.o jpeg/jutils.o
SRCS = $(SRCS1) $(SRCS2) $(CVSRCS) $(LCXSRCS)
-#if defined(LinuxArchitecture) || defined(BSDArchitecture)
+#if defined(LinuxArchitecture) || defined(BSDArchitecture) || \
+ defined(SunArchitecture)
OBJS = $(OBJS1) $(OBJS2) $(CVOBJS) $(LCXOBJS) $(IL_OBJS)
#else
OBJS = $(OBJS1) $(OBJS2) $(CVOBJS) $(LCXOBJS) $(IL_OBJS) $(JPEG_OBJS)
! So the pattern string must be 23, not 32. Do not go by
! the order of 'uname -rv' or 'uname -vr', as that is not used.
!!!
+SunOS.?.version.<.5120: "5\\.12.*"
+SunOS.?.version.<.5110: "5\\.11.*"
+SunOS.?.version.<.5100: "5\\.10.*"
+SunOS.?.version.<.590: "5\\.9.*"
+SunOS.?.version.<.580: "5\\.8.*"
+SunOS.?.version.<.570: "5\\.7.*"
+SunOS.?.version.<.560: "5\\.6.*"
SunOS.?.version.<.550: "5\\.5.*"
SunOS.?.version.<.540: "5\\.4.*"
SunOS.?.version.<.530: "5\\.3.*"
#endif
INCLUDES = -I. -I..
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = -DDTLIB $(LOCAL_DEFINES) \
-DCDE_INSTALLATION_TOP='"$(CDE_INSTALLATION_TOP)"' \
-DCDE_CONFIGURATION_TOP='"$(CDE_CONFIGURATION_TOP)"' \
REQUIREDLIBS = SharedDtMrmReqs
#endif
+DEPEND_DEFINES = $(DEPENDDEFINES)
INCLUDES = -I. -I$(DTHELPSRC) -I$(DTTERMSRC)/Term -I$(DTTERMSRC)/TermPrim
#ifndef DtPrintDefines
# define DtPrintDefines -DMULTIBYTE -DI18N_MSG
#endif
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = DtPrintDefines
INCLUDES = -I.
EXTRA_DEFINES = -DBYTE_SWAP
#endif
+#if defined(SunArchitecture)
+EXTRA_DEFINES = -DBYTE_SWAP
+#endif
+
MakeSubdirs($(SUBDIRS))
ForceSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
EXTRA_DEFINES = -DBYTE_SWAP -D_XOPEN_SOURCE=700
#endif
+#if defined(SunArchitecture)
+EXTRA_DEFINES = -DBYTE_SWAP -D_XOPEN_SOURCE=700
+#endif
+
#define DoNormalLib NormalLibDtSearch
#define DoSharedLib SharedLibDtSearch
#define DoDebugLib DebugLibDtSearch
# define __SVR4_I386_ABI_L1__
#endif
#include <limits.h> /* pickup WORD_BIT, LONG_BIT */
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
# undef __SVR4_I386_ABI_L1__
# ifndef WORD_BIT
# define WORD_BIT 32
#ifndef DtSvcDefines
# define DtSvcDefines -DMULTIBYTE
#endif
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = DtSvcDefines \
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" \
-DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
#ifndef DtSvcDefines
# define DtSvcDefines -DMULTIBYTE
#endif
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = DtSvcDefines \
-DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\"
#ifndef DtSvcDefines
# define DtSvcDefines -DMULTIBYTE
#endif
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = DtSvcDefines \
-DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\"
#ifdef SharedDtSvcReqs
#ifdef SunArchitecture
-REQUIREDLIBS = SharedDtSvcReqs -lC -lCrun
+REQUIREDLIBS = SharedDtSvcReqs
+#ifndef HasGcc2
SHLIBLDFLAGS = -G
+#endif
#else
REQUIREDLIBS = SharedDtSvcReqs
#endif
#ifndef __DYNARRAY_H_
#define __DYNARRAY_H_
-#if !defined(linux) && !defined(CSRG_BASED)
+#if !defined(linux) && !defined(CSRG_BASED) && !defined(sun)
#include <generic.h>
#endif
#if defined(USL) || defined(__uxp__) || defined(__osf__) || defined(sun) || defined(linux) || defined(CSRG_BASED)
#include <Threads.tmpl>
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES =
INCLUDES = -I. -I../TermPrim
#include <Threads.tmpl>
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = $(ARCHITECTURE_DEFINES)
INCLUDES = -I.
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
# include <stdarg.h>
#else
# include <varargs.h>
#include <Threads.tmpl>
+DEPEND_DEFINES = $(DEPENDDEFINES)
INCLUDES = -I. -I../TermPrim -I../Term
SRCS = \
#ifndef DtWidgetDefines
# define DtWidgetDefines -DI18N_MSG -DMULTIBYTE
#endif
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = DtWidgetDefines
#if defined(LinuxArchitecture)
INCLUDES = -I. -I/usr/include/freetype2
#endif
#ifdef SunArchitecture
- EXTRA_DEFINES = -xstrconst -v -DSunOS=$(OSMAJORVERSION)$(OSMINORVERSION)
+ EXTRA_DEFINES = -v -DSunOS=$(OSMAJORVERSION)$(OSMINORVERSION)
+#ifndef HasGcc2
SHLIBLDFLAGS = -G -z text -z defs
#endif
+#endif
#ifdef HPArchitecture
EXTRA_DEFINES = -DHPUX
XCOMM $XConsortium: Imakefile /main/14 1996/05/08 09:27:35 drk $
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
+DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
EXTRA_LOAD_FLAGS = ExtraLoadFlags $(UNSHARED_CXXLIB)
#include <Threads.tmpl>
XCOMM $XConsortium: Imakefile /main/14 1996/05/08 09:28:02 drk $
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
+DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
EXTRA_LOAD_FLAGS = ExtraLoadFlags $(UNSHARED_CXXLIB)
#include <Threads.tmpl>
XCOMM $XConsortium: Imakefile /main/15 1996/09/30 13:50:43 drk $
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
+DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
EXTRA_LOAD_FLAGS = ExtraLoadFlags $(UNSHARED_CXXLIB)
#include <Threads.tmpl>
void install_signal_handler();
SVCXPRT *transp;
struct sockaddr_in saddr;
-#if defined(DEC) || defined(sun) || defined(HPUX)
+#if defined(DEC) || defined(HPUX)
int asize = sizeof(struct sockaddr);
#else
-# if defined(linux) || defined(CSRG_BASED)
+# if defined(linux) || defined(CSRG_BASED) || defined(sun)
socklen_t asize;
# else
size_t asize = sizeof(struct sockaddr);
XCOMM $XConsortium: Imakefile /main/15 1996/10/09 14:02:13 drk $
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
+DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
EXTRA_LOAD_FLAGS = ExtraLoadFlags $(UNSHARED_CXXLIB)
#include <Threads.tmpl>
XCOMM $XConsortium: Imakefile /main/11 1996/05/08 09:28:48 drk $
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
+DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
EXTRA_LOAD_FLAGS = ExtraLoadFlags $(UNSHARED_CXXLIB)
#include <Threads.tmpl>
XCOMM $XConsortium: Imakefile /main/14 1996/10/09 14:02:22 drk $
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
+DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
EXTRA_LOAD_FLAGS = ExtraLoadFlags $(UNSHARED_CXXLIB)
#include <Threads.tmpl>
#ifdef SharedTtReqs
#ifdef SunArchitecture
-REQUIREDLIBS = SharedTtReqs -lC -lCrun
+REQUIREDLIBS = SharedTtReqs
+#ifndef HasGcc2
SHLIBLDFLAGS = -G
+#endif
#else
REQUIREDLIBS = SharedTtReqs
#endif
#endif
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
+DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
#include <Threads.tmpl>
#define LibCreate NO
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(ISAM_INCLUDES)
+DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(ISAM_INCLUDES) $(DEPENDDEFINES)
#include <Threads.tmpl>
#define LibCreate NO
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(ISAM_INCLUDES)
+DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(ISAM_INCLUDES) $(DEPENDDEFINES)
#include <Threads.tmpl>
# undef OPT_UNIX_SOCKET_RPC
# define OPT_TLI
-# if defined(PROF) /* can't use dlopen if profiling. */
-# undef OPT_DLOPEN_X11
-# undef OPT_DLOPEN_CE
-# else
-# define OPT_DLOPEN_X11
-# define OPT_DLOPEN_CE
-# endif
+# undef OPT_DLOPEN_X11
+# undef OPT_DLOPEN_CE
# undef OPT_ADDMSG_DIRECT
# define OPT_SECURE_RPC
# undef OPT_CLASSING_ENGINE
# undef OPT_DEFINE_SIG_PF
# define OPT_TAR_HAS_EXCLUDE_OPTION
-# define OPT_BUG_SUNOS_5
-
# define OPT_HAS_REALPATH
# undef OPT_AUTOMOUNT_PATH_FIX
#endif
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
+DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
#include <Threads.tmpl>
#define LibCreate NO
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
+DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
#include <Threads.tmpl>
if ( _tt_xt . fn == (_Tt_xfn_ptr)0) { \
return(0); \
}
+#define DLINK_FNV(fn)\
+ _tt_xt . fn = (void*)(_Tt_xfn_ptr)dlsym(xt_handle, #fn); \
+ if ( _tt_xt . fn == (_Tt_xfn_ptr)0) { \
+ return(0); \
+ }
#else /* __STDC__ */
#define DLINK_FN(fn)\
_tt_xt . fn = (_Tt_xfn_ptr)dlsym(xt_handle, "fn"); \
DLINK_FN(XtAppAddTimeOut)
DLINK_FN(XtRemoveTimeOut)
DLINK_FN(XtAppProcessEvent)
- DLINK_FN(applicationShellWidgetClass)
+ DLINK_FNV(applicationShellWidgetClass)
return(1);
}
#endif
#include <stdlib.h>
#include <ctype.h>
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <wctype.h>
#endif
#include "util/tt_string.h"
#include "../tooltalk.tmpl"
+DEPEND_DEFINES = $(DEPENDDEFINES)
INCLUDES = -I.
SRCS = isaddindex.c isamaddindex.c isopen.c isamopen.c \
* Generic control function
*/
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <stdarg.h>
#else
#include <varargs.h>
typedef int (* intfunc)();
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
int
iscntl(int isfd, int func, ...)
#else
va_list pvar;
int ret;
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
va_start(pvar, func);
#else
va_start(pvar);
#define LibInstall NO
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
+DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
#include <Threads.tmpl>
#endif /* OPT_BUG_SUNOS_4 */
#if defined(OPT_BUG_SUNOS_5)
- typedef (*Hack_getucred)(const struct authdes_cred *,
+ typedef void (*Hack_getucred)(const struct authdes_cred *,
uid_t *,
gid_t *,
short *,
--- /dev/null
+/* XPM */
+static char * SunLogo[] = {
+/* width height ncolors cpp [x_hot y_hot] */
+"48 48 3 1 0 0",
+/* colors */
+" s #727288889f9f m white c #bbbbccccdddd",
+". s #9191a8a8bfbf m black c #9191a8a8bfbf",
+"+ s #bbbbccccdddd m black c #727288889f9f",
+/* pixels */
+" ... .+++. .+++. .+++++. ... .+++. .+++. .+++++.",
+". .+++. .+++. .+++.+++. .+++. .+++. .+++.+++",
+". .++. .+++. .+++. .++. .++. .+++. .+++. .++",
+". .+++.+++. .+++. .+++. .+++.+++. .+++. .+++",
+" ... .+++++. .+++. .+++. ... .+++++. .+++. .+++.",
+".+++. .+++. .+++. .+++. .+++. .+++. .+++. .+++. ",
+"+++++. ... .+++. .+++. .+++++. ... .+++. .+++. .",
+"++.+++. .+++. .+++. .+++.+++. .+++. .+++. .+",
+"+. .+++. .+++. .+++. .++. .+++. .+++. .+++. .+",
+"++. .+++. .+. .+++. . .+++. .+++. .+. .+++. . .+",
+"+++. .+++. . .+++. .+. .+++. .+++. . .+++. .+. .",
+".+++. .+++. .+++. .+++. .+++. .+++. .+++. .+++. ",
+" .+++. .+++. .+. . .+++. .+++. .+++. .+. . .+++.",
+". .+++. .+++. . .+. .+++. .+++. .+++. . .+. .+++",
+"+. .+++. .+++. .+++. .+++. .+++. .+++. .+++. .++",
+"++. .+++. .+. . .+++. .+++. .+++. .+. . .+++. .+",
+"+++. .+++. . .+. .+++. .+++. .+++. . .+. .+++. .",
+".+++. .+++. .+++. .+++. .+++. .+++. .+++. .+++. ",
+" .+++. .+. .+++. . .+++. .+++. .+. .+++. . .+++.",
+". .+++. . .+++. .+. .+++. .+++. . .+++. .+. .+++",
+"+. .++. .+++. .+++. .+++. .++. .+++. .+++. .++",
+"++.+++. .+++. .+++. .+++.+++. .+++. .+++. .+",
+"+++++. .+++. .+++. ... .+++++. .+++. .+++. ... .",
+".+++. .+++. .+++. .+++. .+++. .+++. .+++. .+++. ",
+" ... .+++. .+++. .+++++. ... .+++. .+++. .+++++.",
+". .+++. .+++. .+++.+++. .+++. .+++. .+++.+++",
+". .++. .+++. .+++. .++. .++. .+++. .+++. .++",
+". .+++.+++. .+++. .+++. .+++.+++. .+++. .+++",
+" ... .+++++. .+++. .+++. ... .+++++. .+++. .+++.",
+".+++. .+++. .+++. .+++. .+++. .+++. .+++. .+++. ",
+"+++++. ... .+++. .+++. .+++++. ... .+++. .+++. .",
+"++.+++. .+++. .+++. .+++.+++. .+++. .+++. .+",
+"+. .+++. .+++. .+++. .++. .+++. .+++. .+++. .+",
+"++. .+++. .+. .+++. . .+++. .+++. .+. .+++. . .+",
+"+++. .+++. . .+++. .+. .+++. .+++. . .+++. .+. .",
+".+++. .+++. .+++. .+++. .+++. .+++. .+++. .+++. ",
+" .+++. .+++. .+. . .+++. .+++. .+++. .+. . .+++.",
+". .+++. .+++. . .+. .+++. .+++. .+++. . .+. .+++",
+"+. .+++. .+++. .+++. .+++. .+++. .+++. .+++. .++",
+"++. .+++. .+. . .+++. .+++. .+++. .+. . .+++. .+",
+"+++. .+++. . .+. .+++. .+++. .+++. . .+. .+++. .",
+".+++. .+++. .+++. .+++. .+++. .+++. .+++. .+++. ",
+" .+++. .+. .+++. . .+++. .+++. .+. .+++. . .+++.",
+". .+++. . .+++. .+. .+++. .+++. . .+++. .+. .+++",
+"+. .++. .+++. .+++. .+++. .++. .+++. .+++. .++",
+"++.+++. .+++. .+++. .+++.+++. .+++. .+++. .+",
+"+++++. .+++. .+++. ... .+++++. .+++. .+++. ... .",
+".+++. .+++. .+++. .+++. .+++. .+++. .+++. .+++. "};
XCOMM $TOG: Imakefile /main/9 1998/04/06 13:11:38 mgreess $
+ DEPEND_DEFINES = $(DEPENDDEFINES)
INCLUDES = -I.
DEPLIBS = $(DEPDTSVCLIB) $(DEPTTLIB) $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXLIB)
/*
* -xF and -M cause reordering of executable
*/
-LOCAL_LDFLAGS = -M Mapfile
-EXTRA_DEFINES = -D_POSIX_SOURCE=1 -Xa -xF
+LOCAL_LDFLAGS =
+EXTRA_DEFINES = -D_POSIX_SOURCE=1
clean::
touch .make.state
#include "../ab.tmpl"
#include "../ab.rules"
- INCLUDES = -I. -I$(ABINCLUDES)
- DEFINES =
+ INCLUDES = -I. -I$(ABINCLUDES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
+ DEFINES =
SOURCES.h.shipped =
#include "../ab.tmpl"
#include "../ab.rules"
- INCLUDES = -I. -I$(ABINCLUDES)
- DEFINES =
+ INCLUDES = -I. -I$(ABINCLUDES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
+ DEFINES =
SOURCES.h.shipped=
#define LibInstall NO
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
+DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
#include "../ab.tmpl"
#include "../ab.rules"
XCOMM $TOG: Imakefile /main/11 1997/09/05 11:28:15 samborn $
+ DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\"
INCLUDES = -I.
#endif
#if defined (SunArchitecture)
-SYS_LIBRARIES = -lintl -lsunmath -lm -ldl
+SYS_LIBRARIES = -lintl -lm -ldl
#endif
#if defined (USLArchitecture)
OSMAJORVERSION = OSMajorVersion
OSMINORVERSION = OSMinorVersion
+ DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = -DREL="$(OSMAJORVERSION)$(OSMINORVERSION)" \
-DRELMAJOR="$(OSMAJORVERSION)" -DRELMINOR="$(OSMINORVERSION)" \
$(ICONV_INBUF_DEFINE)
OSMAJORVERSION = OSMajorVersion
OSMINORVERSION = OSMinorVersion
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = -DRFC_MIME -DLINE_COUNT -DV2 -DOW_I18N \
-DREL="$(OSMAJORVERSION)$(OSMINORVERSION)" \
-DRELMAJOR="$(OSMAJORVERSION)" -DRELMINOR="$(OSMINORVERSION)"
getdate.o props.o resource.o \
timeops.o util.o
+YaccFileNoFlags(getdate)
+
#include <Library.tmpl>
DependTarget()
* It should be set when necessary to the real library macro name.
*/
+ DEPEND_DEFINES = $(DEPENDDEFINES)
INCLUDES = -I.
#if defined (SunArchitecture)
DEPLIBS = $(DEPDTWIDGETLIB) $(DEPDTSVCLIB) \
#endif
#if defined (SunArchitecture)
-SYS_LIBRARIES = -lm -ldl -lC
+SYS_LIBRARIES = -lm -ldl
#endif /* SunArchitecture */
#if defined (USLArchitecture)
TCL_LIBRARY = $(prefix)/tcl$(VERSION)
#endif
+DEPEND_DEFINES = $(DEPENDDEFINES)
+
#if defined(SunArchitecture)
EXTRA_DEFINES = -DTCL_LIBRARY=\"${TCL_LIBRARY}\" \
-DNO_UNION_WAIT -DHAVE_UNISTD_H -DNEED_MATHERR \
DEPLIBS = $(DEPTTLIB) $(DEPXTOOLLIB) $(DEPXLIB)
LOCAL_LIBRARIES = $(TTLIB) $(XTOOLLIB) $(XLIB)
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = -DMSGLOG_CLIENT_ONLY
INCLUDES = -I.
DependSubdirs($(SUBDIRS))
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = -DMULTIBYTE -DSHAPE -D_ILS_MACROS -DSUN_PERF \
-DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" \
XCOMM $XConsortium: Imakefile /main/7 1996/09/14 15:17:43 drk $
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = -DSHAPE
DEPLIBS = DepDtClientLibs
#endif
#if defined(SunArchitecture)
-SYS_LIBRARIES = -lm -ldl -lgen -lC
+SYS_LIBRARIES = -lm -ldl -lgen
#endif
#if defined(USLArchitecture)
PROGRAMS = dthelpdemo
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = -D_BMS
INCLUDES = -I.
XCOMM $XConsortium: Imakefile /main/7 1996/09/14 15:26:44 drk $
PROGRAMS = dthelpview
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = -D_BMS
INCLUDES = -I.
#include "case.c"
if (m_token == ENDFILE) exit(FALSE) ;
}
- return 0;
}
ret = mbtowc(string, " ", 1);
}
}
- return ;
}
(void) ret;
+ return;
}
/* Called at end of parameter attribute list rule */
char mbyte[32]; /* bigger than the biggest multibyte char */
ret = wctomb(mbyte, c);
+ (void) ret;
fprintf(stderr, "\n'%s' (%d)", mbyte, c);
fprintf(m_errfile, "\n'%s' (%d)", mbyte, c);
m_error("Unexpected character");
}
} /* End while */
- (void) ret;
} /* End scan */
#include "scanutil.c"
#endif
#if defined (SunArchitecture)
-SYS_LIBRARIES = -lm -ldl -lgen -lC
+SYS_LIBRARIES = -lm -ldl -lgen
#endif /* SunArchitecture */
all:: $(OBJS)
SYS_LIBRARIES = $(XLIB) DtClientSysLibs
#if defined (SunArchitecture)
-SYS_LIBRARIES = $(XLIB) -lm -ldl -lgen -lC
+SYS_LIBRARIES = $(XLIB) -lm -ldl -lgen
#endif /* SunArchitecture */
all:: $(HELPTAGSRC)/dthelp_ctag1
#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(__uxp__)
snprintf(buffer, 32, "%5x:%5x",
(unsigned int) ((unsigned long) block >> 16),
- (unsigned int) block, msg) ;
+ (unsigned int) block) ;
#else
snprintf(buffer, 32, " %9p", block) ;
#endif
#include "case.c"
if (m_token == ENDFILE) exit(FALSE) ;
}
- return 0;
}
ret = mbtowc(string, " ", 1);
}
}
- return ;
}
(void) ret;
+ return;
}
/* Called at end of parameter attribute list rule */
char mbyte[32]; /* bigger than the biggest multibyte char */
ret = wctomb(mbyte, c);
+ (void) ret;
fprintf(stderr, "\n'%s' (%d)", mbyte, c);
fprintf(m_errfile, "\n'%s' (%d)", mbyte, c);
m_error("Unexpected character");
}
} /* End while */
- (void) ret;
} /* End scan */
#include "scanutil.c"
#endif
#if defined (SunArchitecture)
-SYS_LIBRARIES = -lm -ldl -lgen -lC
+SYS_LIBRARIES = -lm -ldl -lgen
#endif /* SunArchitecture */
all:: $(OBJS)
SYS_LIBRARIES = $(XLIB) DtClientSysLibs
#if defined (SunArchitecture)
-SYS_LIBRARIES = $(XLIB) -lm -ldl -lgen -lC
+SYS_LIBRARIES = $(XLIB) -lm -ldl -lgen
#endif /* SunArchitecture */
all:: $(HELPTAGSRC)/dthelp_htag1
#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(__uxp__)
snprintf(buffer, 32, "%5x:%5x",
(unsigned int) ((unsigned long) block >> 16),
- (unsigned int) block, msg) ;
+ (unsigned int) block) ;
#else
snprintf(buffer, 32, " %9p", block) ;
#endif
#include "case.c"
if (m_token == ENDFILE) exit(FALSE) ;
}
- return 0;
}
ret = mbtowc(string, " ", 1);
}
}
- return ;
}
(void) ret;
+ return;
}
/* Called at end of parameter attribute list rule */
char mbyte[32]; /* bigger than the biggest multibyte char */
ret = wctomb(mbyte, c);
+ (void) ret;
fprintf(stderr, "\n'%s' (%d)", mbyte, c);
fprintf(m_errfile, "\n'%s' (%d)", mbyte, c);
m_error("Unexpected character");
}
} /* End while */
- (void) ret;
} /* End scan */
#include "scanutil.c"
#endif
#if defined (SunArchitecture)
-SYS_LIBRARIES = -lm -ldl -lgen -lC
+SYS_LIBRARIES = -lm -ldl -lgen
#endif /* SunArchitecture */
all:: $(OBJS)
SYS_LIBRARIES = $(XLIB) DtClientSysLibs
#if defined (SunArchitecture)
-SYS_LIBRARIES = $(XLIB) -lm -ldl -lgen -lC
+SYS_LIBRARIES = $(XLIB) -lm -ldl -lgen
#endif /* SunArchitecture */
all:: $(HTAG2SRC)/dthelp_htag2
#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(__uxp__)
snprintf(buffer, 32, "%5x:%5x",
(unsigned int) ((unsigned long) block >> 16),
- (unsigned int) block, msg) ;
+ (unsigned int) block) ;
#else
snprintf(buffer, 32, " %9p", block) ;
#endif
* It should be set when necessary to the real library macro name.
*/
- DEFINES = -D__TOOLTALK
- INCLUDES = -I.
+DEPEND_DEFINES = $(DEPENDDEFINES)
+DEFINES = -D__TOOLTALK
+INCLUDES = -I.
+
#if defined (SunArchitecture)
DEPLIBS = $(DEPDTWIDGETLIB) $(DEPDTSVCLIB) $(DEPTTLIB) \
$(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXLIB)
class hardCopyRendererException : public Exception
{
public:
- DECLARE_EXCEPTION(hardCopyRendererException, Exception);
+ DECLARE_EXCEPTION(hardCopyRendererException, Exception)
};
#define CASTHCREXCEPT
expansionFactor *= base;
}
- x += int((pow(base, digits)-1) / (base-1)) - 1;
+ x += int((pow((double)base, digits)-1) / (base-1)) - 1;
return x;
}
throw(CASTHCREXCEPT hardCopyRendererException());
}
- int digits = int(log((base-1)*x + base) / log(base));
+ int digits = int(log((double)(base-1)*x + base) / log((double)base));
if ( digits > 50 ) {
MESSAGE(cerr, "alphabetic autonumber value too large");
//debug(cerr, digits);
//debug(cerr, (pow(base, digits)-1) / (25) -1);
- x -= int((pow(base, digits)-1) / (base-1)) - 1;
+ x -= int((pow((double)base, digits)-1) / (base-1)) - 1;
char* letters =
(a_case == UPPER ) ? f_upperCaseLetters : f_lowerCaseLetters;
#ifdef SharedDtMmdbReqs
#ifdef SunArchitecture
-REQUIREDLIBS = SharedDtMmdbReqs -L/opt/SUNWspro/SC4.0/lib -Bstatic -lC -Bdynamic
+REQUIREDLIBS = SharedDtMmdbReqs
+#ifndef HasGcc2
SHLIBLDFLAGS = -G
+#endif
#else
REQUIREDLIBS = SharedDtMmdbReqs
#endif
!defined(__uxp__) && \
!defined(USL) && \
!defined(linux) && \
- !defined(CSRG_BASED)
+ !defined(CSRG_BASED) && \
+ !defined(sun)
volatile
#endif
AttributeList *attrs = 0;
!defined(__uxp__) && \
!defined(USL) && \
!defined(linux) && \
- !defined(CSRG_BASED)
+ !defined(CSRG_BASED) && \
+ !defined(sun)
volatile
#endif
AttributeList *olias_attrs = 0;
{
// calculate children trees and then have feature value do the operation
-#if !defined(SC3) && !defined(_IBMR2) && !defined(__uxp__) && !defined(__osf__) && !defined(USL) && !defined(linux) && !defined(CSRG_BASED)
+#if !defined(SC3) && !defined(_IBMR2) && !defined(__uxp__) && \
+ !defined(__osf__) && !defined(USL) && !defined(linux) && \
+ !defined(CSRG_BASED) && !defined(sun)
volatile
#endif
FeatureValue *left = 0;
-#if !defined(SC3) && !defined(_IBMR2) && !defined(__uxp__) && !defined(__osf__) && !defined(USL) && !defined(linux) && !defined(CSRG_BASED)
+#if !defined(SC3) && !defined(_IBMR2) && !defined(__uxp__) && \
+ !defined(__osf__) && !defined(USL) && !defined(linux) && \
+ !defined(CSRG_BASED) && !defined(sun)
volatile
#endif
FeatureValue *right = 0;
-#if !defined(SC3) && !defined(_IBMR2) && !defined(__uxp__) && !defined(__osf__) && !defined(USL) && !defined(linux) && !defined(CSRG_BASED)
+#if !defined(SC3) && !defined(_IBMR2) && !defined(__uxp__) && \
+ !defined(__osf__) && !defined(USL) && !defined(linux) && \
+ !defined(CSRG_BASED) && !defined(sun)
volatile
#endif
FeatureValue *result = 0;
class StyleSheetException : public Exception
{
public:
- DECLARE_EXCEPTION(StyleSheetException, Exception);
+ DECLARE_EXCEPTION(StyleSheetException, Exception)
virtual ~StyleSheetException();
};
class StyleSheetSyntaxError : public StyleSheetException
{
public:
- DECLARE_EXCEPTION(StyleSheetSyntaxError, StyleSheetException);
+ DECLARE_EXCEPTION(StyleSheetSyntaxError, StyleSheetException)
};
class badEvaluationException : public StyleSheetException
{
public:
- DECLARE_EXCEPTION(badEvaluationException, StyleSheetException);
+ DECLARE_EXCEPTION(badEvaluationException, StyleSheetException)
virtual ~badEvaluationException();
};
class badCastException : public StyleSheetException
{
public:
- DECLARE_EXCEPTION(badCastException, StyleSheetException);
+ DECLARE_EXCEPTION(badCastException, StyleSheetException)
};
class undefinedVariableException : public badEvaluationException
{
public:
- DECLARE_EXCEPTION(undefinedVariableException, badEvaluationException);
+ DECLARE_EXCEPTION(undefinedVariableException, badEvaluationException)
undefinedVariableException(const Symbol &v)
: badEvaluationException(),
class undefinedAttributeException : public badEvaluationException
{
public:
- DECLARE_EXCEPTION(undefinedAttributeException, badEvaluationException);
+ DECLARE_EXCEPTION(undefinedAttributeException, badEvaluationException)
undefinedAttributeException(const Symbol &a)
: badEvaluationException(),
class docParserException : public Exception
{
public:
- DECLARE_EXCEPTION(docParserException, Exception);
+ DECLARE_EXCEPTION(docParserException, Exception)
};
class unknownTagException : public docParserException
{
public:
- DECLARE_EXCEPTION(unknownTagException, docParserException);
+ DECLARE_EXCEPTION(unknownTagException, docParserException)
};
class docParserUnexpectedCharacter : public docParserException
{
public:
- DECLARE_EXCEPTION(docParserUnexpectedCharacter, docParserException);
+ DECLARE_EXCEPTION(docParserUnexpectedCharacter, docParserException)
};
class docParserUnexpectedTag : public docParserException
{
public:
- DECLARE_EXCEPTION(docParserUnexpectedTag, docParserException);
+ DECLARE_EXCEPTION(docParserUnexpectedTag, docParserException)
};
class docParserUnexpectedData : public docParserException
{
public:
- DECLARE_EXCEPTION(docParserUnexpectedData, docParserException);
+ DECLARE_EXCEPTION(docParserUnexpectedData, docParserException)
};
class docParserUnexpectedEof : public docParserException
{
public:
- DECLARE_EXCEPTION(docParserUnexpectedEof, docParserException);
+ DECLARE_EXCEPTION(docParserUnexpectedEof, docParserException)
};
#include <stdlib.h>
-#if !defined(__osf__) && !defined(USL) && !defined(linux) && !defined(CSRG_BASED)
+#if !defined(__osf__) && !defined(USL) && !defined(linux) && \
+ !defined(CSRG_BASED) && !defined(sun)
#include <osfcn.h>
#endif
#include <stdlib.h>
-#if !defined(__osf__) && !defined(USL) && !defined(linux) && !defined(CSRG_BASED)
+#if !defined(__osf__) && !defined(USL) && !defined(linux) && \
+ !defined(CSRG_BASED) && !defined(sun)
#include <osfcn.h>
#endif
#define LargePICTable YES
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
XCOMM In DtMmdb we compile as C_API sources.
DEFINES = -DC_API
-INCLUDES = -I.. $(EXCEPTIONS_INCLUDES) -I../misc
+INCLUDES = $(CXXDEPENDINCLUDES) -I.. $(EXCEPTIONS_INCLUDES) -I../misc
SRCS = base.C info_base.C info_lib.C smart_ptr.C transaction.C utility.C
OBJS = $(SRCS:.C=.o)
#define LargePICTable YES
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
XCOMM In DtMmdb we compile as C_API sources.
DEFINES = -DC_API
-INCLUDES = -I.. $(EXCEPTIONS_INCLUDES)
+INCLUDES = $(CXXDEPENDINCLUDES) -I.. $(EXCEPTIONS_INCLUDES)
SRCS = mmdb_btree.C
OBJS = $(SRCS:.C=.o)
#define LibCreate NO
#define LargePICTable YES
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = -DMEMMOVE
INCLUDES = -I../ -I.
* If your system's vsnprintf returns a char *, not an int,
* change the 0 to a 1.
*/
-#if !defined(_AIX) && !defined(__osf__) && !defined(linux) && !defined(CSRG_BASED)
+#if !defined(_AIX) && !defined(__osf__) && !defined(linux) && \
+ !defined(CSRG_BASED) && !defined(sun)
#define VSPRINTF_CHARSTAR
#endif
#define LargePICTable YES
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
XCOMM In DtMmdb we compile as C_API sources.
DEFINES = -DC_API
-INCLUDES = -I.. $(EXCEPTIONS_INCLUDES)
+INCLUDES = $(CXXDEPENDINCLUDES) -I.. $(EXCEPTIONS_INCLUDES)
NORMAL_SRCS = abs_agent.C zip.C huffman.C trie.C code.C lzss.C
PARSER_SRCS = sgml.C ps.C
#include <stdlib.h>
-#if defined(__osf__) || defined(linux) || defined(CSRG_BASED)
+#if defined(__osf__) || defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <unistd.h>
#else
#if !defined(__uxp__) && !defined(USL)
#include <stdlib.h>
-#if defined(__osf__) || defined(linux) || defined(CSRG_BASED)
+#if defined(__osf__) || defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <unistd.h>
#else
#if !defined(__uxp__) && !defined(USL)
#define LargePICTable YES
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
XCOMM In DtMmdb we compile as C_API sources.
DEFINES = -DC_API
-INCLUDES = -I.. $(EXCEPTIONS_INCLUDES)
+INCLUDES = $(CXXDEPENDINCLUDES) -I.. $(EXCEPTIONS_INCLUDES)
SRCS = disk_bucket.C bucket_array.C disk_hash.C
OBJS = $(SRCS:.C=.o)
//debug(cerr, b.bnum());
//debug(cerr, k_vector -> count());
- int k = int((long)(*k_vector)[b.bnum()]);
- int r = int((long)(*r_vector)[b.bnum()]);
+ int kv = int((long)(*k_vector)[b.bnum()]);
+ int rv = int((long)(*r_vector)[b.bnum()]);
///////////////////////////////////////////
// cache all keys in the bycket except w.
if ( x ) {
hash_vector -> insert(
(voidPtr)(size_t)ind,
- x -> slot_num(k, r, p, hash_vector -> count())
+ x -> slot_num(kv, rv, p, hash_vector -> count())
);
}
////////////////////////////////////////
hash_vector -> insert(
(voidPtr)(size_t)slot_num,
- w.slot_num(k, r, p, hash_vector -> count())
+ w.slot_num(kv, rv, p, hash_vector -> count())
);
}
b = &bucket_vector -> get_bucket(hash);
- int k = int((long)(*k_vector)[b -> bnum()]);
- int r = int((long)(*r_vector)[b -> bnum()]);
+ int kv = int((long)(*k_vector)[b -> bnum()]);
+ int rv = int((long)(*r_vector)[b -> bnum()]);
slot_num =
- int((long)(*hash_vector)[w.slot_num(k, r, p, hash_vector -> count())]);
+ int((long)(*hash_vector)[w.slot_num(kv, rv, p, hash_vector -> count())]);
//debug(cerr, slot_num);
#define LargePICTable YES
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
XCOMM In DtMmdb we compile as C_API sources.
DEFINES = -DC_API
-INCLUDES = -I.. $(EXCEPTIONS_INCLUDES)
+INCLUDES = $(CXXDEPENDINCLUDES) -I.. $(EXCEPTIONS_INCLUDES)
SRCS = set.C bset.C slist.C dlist_cell.C dlist.C heap.C \
void_ptr_array.C void_ptr_stack.C \
class ccException : public Exception
{
public:
- DECLARE_EXCEPTION(ccException, Exception);
+ DECLARE_EXCEPTION(ccException, Exception)
virtual ~ccException() {};
char* msg;
public:
- DECLARE_EXCEPTION(ccStringException, ccException);
+ DECLARE_EXCEPTION(ccStringException, ccException)
ccStringException(char const* m) : msg((char*)m) {};
~ccStringException() {};
int mindex;
public:
- DECLARE_EXCEPTION(ccBoundaryException, ccException);
+ DECLARE_EXCEPTION(ccBoundaryException, ccException)
ccBoundaryException(int l, int h, int i) :
low(l), high(h), mindex(i) {};
inline void
Destructable::destruct()
{
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
delete this;
#else
// Have to call this here since some compilers don't allow
void
Exceptions::error (const char *message, error_type_t error_type)
{
- unsigned int bufferlen = 100;
+ const unsigned int bufferlen = 100;
char buffer[3][bufferlen];
static char *lines[3] = { buffer[0], buffer[1], buffer[2] };
int len, count = 0;
#define LargePICTable YES
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
-#if defined(SunArchitecture) && CplusplusCompilerMajorVersion > 3
+#if defined(SunArchitecture) && CplusplusCompilerMajorVersion > 5
EXCEPTION_DEFINES = -DHAS_TERMINATE
#endif
#define LargePICTable YES
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
XCOMM In DtMmdb we compile as C_API sources.
DEFINES = -DC_API
-INCLUDES = -I.. $(EXCEPTIONS_INCLUDES)
+INCLUDES = $(CXXDEPENDINCLUDES) -I.. $(EXCEPTIONS_INCLUDES)
SRCS = data_t.C imp_bucket.C imp_die.C
OBJS = $(SRCS:.C=.o)
{
char c; buf.get(c);
flag = (data_t::flag_type)c;
+ char* cp;
unsigned int sz;
break;
}
- buf.get(*(char*)&dt);
+ cp = (char*)&dt;
+ buf.get(*(long*)cp);
return true;
}
#define LargePICTable YES
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
XCOMM In DtMmdb we compile as C_API sources.
DEFINES = -DC_API -DPORTABLE_DB
-INCLUDES = -I.. $(EXCEPTIONS_INCLUDES)
+INCLUDES = $(CXXDEPENDINCLUDES) -I.. $(EXCEPTIONS_INCLUDES)
SRCS = buckets.C mphf_funcs.C mphf_hash_table.C \
params.C pattern.C sorter.C
#define LargePICTable YES
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
XCOMM In DtMmdb we compile as C_API sources.
DEFINES = -DC_API -DPORTABLE_DB
-INCLUDES = -I.. $(EXCEPTIONS_INCLUDES)
+INCLUDES = $(CXXDEPENDINCLUDES) -I.. $(EXCEPTIONS_INCLUDES)
SRCS = btree_index.C dyn_disk_index.C dyn_index.C \
dyn_memory_index.C fast_mphf.C hash.C \
MESSAGE(cerr, "in dyn_index insert()");
debug(cerr, intKey);
debug(cerr, id);
-debug(cerr, pos);
+debug(cerr, p);
*/
if ( v_idx_agent_ptr -> member( intKey ) == true ) {
) {
//MESSAGE(cerr, "in hash table");
- int pos = int(long(intKey -> dt));
-//debug(cerr, pos);
+ int p = int(long(intKey -> dt));
+//debug(cerr, p);
delete intKey;
//MESSAGE(cerr, "dyn_index::get_loc_list() done");
- return (*v_inv_lists_hd) -> get_list(pos);
+ return (*v_inv_lists_hd) -> get_list(p);
} else {
//MESSAGE(cerr, "not in hash table");
Boolean init_map_tbls();
// load the MPHF from files
+ using pstring::asciiIn;
virtual io_status asciiIn(istream&);
// compute a hash value for a key.
#define LargePICTable YES
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
XCOMM In DtMmdb we compile as C_API sources.
DEFINES = -DC_API -DCOMPACTED_DISK_REP -DPORTABLE_DB
-INCLUDES = -I.. $(EXCEPTIONS_INCLUDES)
+INCLUDES = $(CXXDEPENDINCLUDES) -I.. $(EXCEPTIONS_INCLUDES)
SRCS = managers.C misc.C query_mgr.C template_mgr.C
OBJS = $(SRCS:.C=.o)
return atoi(u.idnumber);
abort();
}
-#elif defined(SVR4)
+#elif defined(SVR4) && !defined(sun)
static unsigned int
gethostid()
{
#define LargePICTable YES
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
XCOMM In DtMmdb we compile as C_API sources.
DEFINES = -DC_API -DPORTABLE_DB
-INCLUDES = -I.. $(EXCEPTIONS_INCLUDES)
+INCLUDES = $(CXXDEPENDINCLUDES) -I.. $(EXCEPTIONS_INCLUDES)
SRCS = composite.C compressed_pstring.C cset.C \
dl_list.C dl_list_cell.C handler.C \
*/
// print function
- virtual io_status asciiIn(istream&) ;
+ using pstring::asciiIn;
+ virtual io_status asciiIn(istream&);
protected:
chunks_index *v_str_index;
#define LargePICTable YES
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
#ifdef DtinfoClient
DEFINES= -DC_API -DNO_DB_LOCK -DCDE_NEXT
#else
DEFINES= -DC_API -DNO_DB_LOCK $(BYTE_ORDER_DEFINES)
#endif
-INCLUDES = -I.. $(EXCEPTIONS_INCLUDES) $(COMMON_CLASS_INCLUDES) -I../misc
+INCLUDES = $(CXXDEPENDINCLUDES) -I.. $(EXCEPTIONS_INCLUDES) $(COMMON_CLASS_INCLUDES) -I../misc
BASE_SRCS = \
asciiIn_filters.C collectionIterator.C \
#define LargePICTable YES
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
XCOMM In DtMmdb we compile as C_API sources.
DEFINES = -DC_API -DPORTABLE_DB
-INCLUDES = -I.. $(EXCEPTIONS_INCLUDES) -I../misc
+INCLUDES = $(CXXDEPENDINCLUDES) -I.. $(EXCEPTIONS_INCLUDES) -I../misc
NORMAL_SRCS = desc.C store_desc.C object_dict.C \
stored_object_desc.C index_desc.C inv_desc.C \
//extern FILE *yyin;
extern int schemaparse();
-extern int schemarestart(FILE*);
+extern void schemarestart(FILE*);
extern FILE *schemain;
object_dict::object_dict() :
#include <stdlib.h>
-#if defined(__osf__) || defined(linux) || defined(CSRG_BASED)
+#if defined(__osf__) || defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <unistd.h>
#else
#if !defined(__uxp__) && !defined(USL)
#define LargePICTable YES
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
XCOMM In DtMmdb we compile as C_API sources.
DEFINES = -DC_API -DPORTABLE_DB
-INCLUDES = -I.. $(EXCEPTIONS_INCLUDES)
+INCLUDES = $(CXXDEPENDINCLUDES) -I.. $(EXCEPTIONS_INCLUDES)
SRCS = abs_storage.C chunks_index.C heap_comp_funcs.C \
lru.C page.C page_cache.C \
#define LargePICTable YES
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
XCOMM In DtMmdb we compile as C_API sources.
DEFINES = -DC_API -DPORTABLE_DB
-INCLUDES = -I.. $(EXCEPTIONS_INCLUDES) -I../misc
+INCLUDES = $(CXXDEPENDINCLUDES) -I.. $(EXCEPTIONS_INCLUDES) -I../misc
BASE_SRCS = \
funcs.C ostring.C pm_random.C atoi_pearson.C \
#include <sys/types.h>
#include <unistd.h>
-#if !defined(hpux) && !defined(__osf__) && !defined(USL) && !defined(linux) && !defined(CSRG_BASED)
+#if !defined(hpux) && !defined(__osf__) && !defined(USL) && \
+ !defined(linux) && !defined(CSRG_BASED) && !defined(sun)
#include <sysent.h>
#endif
#define _funcs_h 1
#if !defined(USL) && !defined(__osf__) && !defined(linux) && \
- !defined(CSRG_BASED)
+ !defined(CSRG_BASED) && !defined(sun)
#include <libc.h>
#endif
#if defined(hpux) || defined(sgi) || defined(USL) ||defined(__osf__) || \
- defined(linux) || defined(CSRG_BASED)
+ defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <unistd.h>
#else
#include <sysent.h>
class mmdbException : public Exception
{
public:
- DECLARE_EXCEPTION(mmdbException, Exception);
+ DECLARE_EXCEPTION(mmdbException, Exception)
virtual ~mmdbException() {};
char* msg;
public:
- DECLARE_EXCEPTION(stringException, mmdbException);
+ DECLARE_EXCEPTION(stringException, mmdbException)
stringException(char const* m) : msg((char*)m) {};
~stringException() {};
protected:
public:
- DECLARE_EXCEPTION(formatException, stringException);
+ DECLARE_EXCEPTION(formatException, stringException)
formatException(char const* m) : stringException(m) {};
~formatException() {};
int v_code;
public:
- DECLARE_EXCEPTION(intException, mmdbException);
+ DECLARE_EXCEPTION(intException, mmdbException)
intException(int c) : v_code(c) {};
~intException() {};
{
public:
- DECLARE_EXCEPTION(systemException, intException);
+ DECLARE_EXCEPTION(systemException, intException)
systemException(int c) : intException(c) {};
~systemException() {};
protected:
public:
- DECLARE_EXCEPTION(streamException, intException);
+ DECLARE_EXCEPTION(streamException, intException)
streamException(int c) : intException(c) {};
~streamException() {};
long mindex;
public:
- DECLARE_EXCEPTION(boundaryException, mmdbException);
+ DECLARE_EXCEPTION(boundaryException, mmdbException)
boundaryException(long l, long h, long i) :
low(l), high(h), mindex(i) {};
class beginTransException: public mmdbException
{
public:
- DECLARE_EXCEPTION(beginTransException, mmdbException);
+ DECLARE_EXCEPTION(beginTransException, mmdbException)
beginTransException() {};
~beginTransException() {};
};
class commitTransException: public mmdbException
{
public:
- DECLARE_EXCEPTION(commitTransException, mmdbException);
+ DECLARE_EXCEPTION(commitTransException, mmdbException)
commitTransException() {};
~commitTransException() {};
};
class rollbackTransException: public mmdbException
{
public:
- DECLARE_EXCEPTION(rollbackTransException, mmdbException);
+ DECLARE_EXCEPTION(rollbackTransException, mmdbException)
rollbackTransException() {};
~rollbackTransException() {};
};
const char* f_name;
public:
- DECLARE_EXCEPTION(demoException, mmdbException);
+ DECLARE_EXCEPTION(demoException, mmdbException)
demoException(const char* p, const char* n) : f_path(p), f_name(n) {};
virtual ~demoException() {};
/* $XConsortium: streambuf.C /main/8 1996/08/21 15:55:14 drk $ */
#include "utility/c_streambuf.h"
-#if defined(USL) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
+#if defined(USL) || defined(__osf__) || defined(linux) || \
+ defined(CSRG_BASED) || defined(sun)
#include <stdlib.h>
#else
#include <libc.h>
NormalCplusplusObjectRule()
+DEPEND_DEFINES = $(DEPENDDEFINES)
INCLUDES = -I.
#ifdef AIXArchitecture
XCOMM $XConsortium: Imakefile /main/8 1996/08/21 15:41:09 drk $
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
CXXEXTRA_DEFINES = -DEXPAND_TEMPLATES
MAKEFILEDEPS=Classlist.mk
NormalCplusplusObjectRule()
#ifdef DoLicenseManagement
-INCLUDES=$(BROWSER_INCLUDES) $(MMDB_INCLUDES) $(LICENSE_L_INCLUDES)
+INCLUDES=$(CXXDEPENDINCLUDES) $(BROWSER_INCLUDES) $(MMDB_INCLUDES) $(LICENSE_L_INCLUDES)
EXTRA_DEFINES=-DLICENSE_MANAGEMENT
#else
XCOMM Should remove LICENSE_L_INCLUDES from this list in this case
-INCLUDES=$(BROWSER_INCLUDES) $(COMMON_CLASS_INCLUDES)
+INCLUDES=$(CXXDEPENDINCLUDES) $(BROWSER_INCLUDES) $(COMMON_CLASS_INCLUDES)
#endif
#include "Classlist.mk"
#include "UAS.hh"
#include <X11/Intrinsic.h>
-class OutlineListView;
class OutlineListView;
class WTopLevelShell;
class ScopeMenu;
* DtHelpDialog widget action list - required by the DisplayArea
*/
static XtActionsRec DrawnBActions[] =
- {
- {(char*)"DeSelectAll" , _DtHelpDeSelectAll },
- {(char*)"SelectAll" , _DtHelpSelectAll },
- {(char*)"ActivateLink" , _DtHelpActivateLink },
- {(char*)"CopyToClipboard", _DtHelpCopyAction },
- {(char*)"PageUpOrDown" , _DtHelpPageUpOrDown },
- {(char*)"PageLeftOrRight", _DtHelpPageLeftOrRight},
- {(char*)"NextLink" , _DtHelpNextLink }
- };
+ {
+ {(char*)"DeSelectAll" , (DeSelectAll_ptr)_DtHelpDeSelectAll },
+ {(char*)"SelectAll" , (SelectAll_ptr)_DtHelpSelectAll },
+ {(char*)"ActivateLink" , (ActivateLink_ptr)_DtHelpActivateLink },
+ {(char*)"CopyToClipboard", (CopyAction_ptr)_DtHelpCopyAction },
+ {(char*)"PageUpOrDown" , (PageUpOrDown_ptr)_DtHelpPageUpOrDown },
+ {(char*)"PageLeftOrRight", (PageLeftOrRight_ptr)_DtHelpPageLeftOrRight },
+ {(char*)"NextLink" , (NextLink_ptr)_DtHelpNextLink }
+ };
//------- Functions --------------------------------------------
#include "UAS.hh"
+typedef void _DtHelpDeSelectAll_t(_WidgetRec*,_XEvent*,char**,unsigned*);
+typedef _DtHelpDeSelectAll_t * DeSelectAll_ptr;
+typedef void _DtHelpSelectAll_t(_WidgetRec*,_XEvent*,char**,unsigned*);
+typedef _DtHelpSelectAll_t * SelectAll_ptr;
+typedef void _DtHelpActivateLink_t(_WidgetRec*,_XEvent*,char**,unsigned*);
+typedef _DtHelpActivateLink_t * ActivateLink_ptr;
+typedef void _DtHelpCopyAction_t(_WidgetRec*,_XEvent*,char**,unsigned*);
+typedef _DtHelpCopyAction_t * CopyAction_ptr;
+typedef void _DtHelpPageUpOrDown_t(_WidgetRec*,_XEvent*,char**,unsigned*);
+typedef _DtHelpPageUpOrDown_t * PageUpOrDown_ptr;
+typedef void _DtHelpPageLeftOrRight_t(_WidgetRec*,_XEvent*,char**,unsigned*);
+typedef _DtHelpPageLeftOrRight_t * PageLeftOrRight_ptr;
+typedef void _DtHelpNextLink_t(_WidgetRec*,_XEvent*,char**,unsigned*);
+typedef _DtHelpNextLink_t * NextLink_ptr;
+
class NodeViewInfo;
class NodeHandle;
class Manager;
extern AppPrintData * l_AppPrintData;
+extern "C"
+{
+ typedef void (*resize_cb_ptr)();
+ typedef void (*hypertext_cb_ptr)();
+}
+
#ifdef CV_HYPER_DEBUG
void
#else
FALSE, // traversal flag
1, // rows
1, // columns
- (void(*)()) hypertext_cb, // hypertext cb
- (void(*)())resize_cb, // resize cb
+ (hypertext_cb_ptr) hypertext_cb, // hypertext cb
+ (resize_cb_ptr) resize_cb, // resize cb
0, // exec ok routine
this, // client_data
defaultList // default font list
// /////////////////////////////////////////////////////////////////
void
-#if defined(SC3) || defined(__osf__) || defined(USL)
+#if defined(SC3) || defined(__osf__) || defined(USL) || defined(__SunOS)
FolioObject::add_dependent (FolioObject *dependent, notify_handler_t handler,
#else
FolioObject::add_dependent (void *dependent, notify_handler_t handler,
u_int notify_type, void *dependent_data)
{
// Adds to begining because that's easiest.
-#if defined(SC3) || defined(__osf__) || defined(USL)
+#if defined(SC3) || defined(__osf__) || defined(USL) || defined(__SunOS)
f_dependents = new Dependent (&f_dependents, f_dependents,
dependent, NULL, handler,
notify_type, dependent_data);
// by mistake like this. We'll just have to cast it to a FolioObject
// when the call through it is made and hope the compiler doesn't
// expect it to point to an actual FolioObject (or whatever, eg: WWL).
-#if defined(SC3) || defined(__osf__) || defined(USL)
+#if defined(SC3) || defined(__osf__) || defined(USL) || defined(__SunOS)
ON_DEBUG(printf ("@@@ adding to depend_on_list of %p\n", dependent));
dependent->f_depend_on_list =
new DependOnList (dependent->f_depend_on_list, f_dependents);
// /////////////////////////////////////////////////////////////////
void
-#if defined(SC3) || defined(__osf__) || defined(USL)
+#if defined(SC3) || defined(__osf__) || defined(USL) || defined(__SunOS)
FolioObject::remove_dependent (FolioObject *dependent,
#else
FolioObject::remove_dependent (void *dependent,
// That means that each handler added must be removed!
for (d = &f_dependents; *d != NULL; d = &((*d)->f_next))
{
-#if defined(SC3) || defined(__osf__) || defined(USL)
+#if defined(SC3) || defined(__osf__) || defined(USL) || defined(__SunOS)
if ((*d)->f_dependent == dependent &&
#else
if ((*d)->f_dependent == (FolioObject*)dependent &&
// f_folio_object will be NULL if the Dependent object was
// created in add_dependent! DJB 11/10/92
assert ((*d)->f_folio_object != NULL);
-#if defined(SC3) || defined(__osf__) || defined(USL)
+#if defined(SC3) || defined(__osf__) || defined(USL) || defined(__SunOS)
remove_depend_on (dependent, *d);
#else
remove_depend_on ((FolioObject*)dependent, *d);
// by deleting that handle!!!
void
-#if defined(SC3) || defined(__osf__) || defined(USL)
+#if defined(SC3) || defined(__osf__) || defined(USL) || defined(__SunOS)
FolioObject::observe (FolioObject *real_this, FolioObject *target,
#else
FolioObject::observe (void *real_this, FolioObject *target,
// ---
// OK, instead we will have to pass in the "real" this pointer which
// may be different from the this pointer visible in this routine.
-#if defined(SC3) || defined(__osf__) || defined(USL)
+#if defined(SC3) || defined(__osf__) || defined(USL) || defined(__SunOS)
target->f_dependents =
new Dependent (&target->f_dependents, target->f_dependents,
real_this, this,
#define AddDependentd(CB, TYPE, DATA) \
add_dependent (this, (notify_handler_t)CB, TYPE, DATA)
-#if defined(SC3) || defined(__osf__) || defined(USL)
+#if defined(SC3) || defined(__osf__) || defined(USL) || defined(__SunOS)
void add_dependent (FolioObject *dependent, notify_handler_t handler,
u_int notify_type, void *dependent_data = NULL);
#else
#define RemoveDependentd(CB, TYPE, DATA) \
remove_dependent(this, (notify_handler_t)CB, TYPE, DATA)
-#if defined(SC3) || defined(__osf__) || defined(USL)
+#if defined(SC3) || defined(__osf__) || defined(USL) || defined(__SunOS)
void remove_dependent (FolioObject *dependent, notify_handler_t handler,
u_int notify_type, void *dependent_data = NULL);
#else
#define Observed(TARG, TYPE, CB, DATA) \
observe (this, TARG, (notify_handler_t) CB, TYPE, DATA)
-#if defined(SC3) || defined(__osf__) || defined(USL)
+#if defined(SC3) || defined(__osf__) || defined(USL) || defined(__SunOS)
void observe (FolioObject *real_this, FolioObject *target,
notify_handler_t callback, u_int notify_type,
void *client_data = NULL);
// NOTE: remove 3rd param after testing
: List (10, 10, List::GROW_ADD) { };
int find (FolioObject &);
+ using List::remove;
void remove (FolioObject &);
};
XCOMM $XConsortium: Imakefile /main/6 1996/08/21 15:41:35 drk $
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
CXXEXTRA_DEFINES = -DEXPAND_TEMPLATES
MAKEFILEDEPS=Classlist.mk
NormalCplusplusObjectRule()
#if defined(UseWideChars) && defined(SunArchitecture) && (OSMajorVersion == 4)
-INCLUDES=$(BROWSER_INCLUDES) $(MMDB_INCLUDES) -I/VOB/olias/library/Xwchar/src -I/VOB/olias/library/binstall/include
+INCLUDES=$(CXXDEPENDINCLUDES) $(BROWSER_INCLUDES) $(MMDB_INCLUDES) -I/VOB/olias/library/Xwchar/src -I/VOB/olias/library/binstall/include
#else
-INCLUDES=$(BROWSER_INCLUDES) $(COMMON_CLASS_INCLUDES) -I/VOB/olias/library/binstall/include
+INCLUDES=$(CXXDEPENDINCLUDES) $(BROWSER_INCLUDES) $(COMMON_CLASS_INCLUDES) -I/VOB/olias/library/binstall/include
#endif
#include "Classlist.mk"
XCOMM $XConsortium: Imakefile /main/5 1996/08/21 15:41:55 drk $
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
CXXEXTRA_DEFINES = -DEXPAND_TEMPLATES
MAKEFILEDEPS=Classlist.mk
NormalCplusplusObjectRule()
-INCLUDES=$(BROWSER_INCLUDES) $(MMDB_INCLUDES)
+INCLUDES=$(CXXDEPENDINCLUDES) $(BROWSER_INCLUDES) $(MMDB_INCLUDES)
#ifdef DoLicenseManagement
EXTRA_DEFINES=-DLICENSE_MANAGEMENT
XCOMM $TOG: Imakefile /main/48 1998/08/10 15:52:48 mgreess $
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
CXXEXTRA_DEFINES = -DEXPAND_TEMPLATES
PROGRAM_NAME=dtinfo
SYS_LIBRARIES=-lm
#endif
-INCLUDES = -I. $(BROWSER_INCLUDES) $(MMDB_INCLUDES)
+INCLUDES = $(CXXDEPENDINCLUDES) -I. $(BROWSER_INCLUDES) $(MMDB_INCLUDES)
OLIASNORMALLIBS= \
Agents/libAgents.a \
OliasSearch/libOliasSearch.a \
Widgets/libWidgets.a \
cgm/libcgm.a
-#if defined(SunArchitecture) && CplusplusCompilerMajorVersion > 3
+#if defined(SunArchitecture) && CplusplusCompilerMajorVersion > 5
OLIASTLIBS= \
Agents/libAgentsT.a \
Basic/libBasicT.a \
OTHEROBJS=Support/InputNotifier.o
-#if defined(SunArchitecture) && (CplusplusCompilerMajorVersion > 3)
+#if defined(SunArchitecture) && (CplusplusCompilerMajorVersion > 5)
MMDBTEMPLATES=$(OLIAS)/mmdb/libMMDBTemplates.a
UAS_TEMPLATES=UAS/Base/libBaseT.a \
UAS/DtSR/libDtSRT.a \
$(MMDB_DIR)/dti_cc/CC_String.o $(MMDB_DIR)/dti_cc/CC_Tokenizer.o \
$(MMDB_DIR)/dti_cc/CC_Stack.o $(MMDB_DIR)/dti_cc/CC_Slist.o
-#if defined(HPArchitecture) || !defined(CplusplusCompilerMajorVersion) || (CplusplusCompilerMajorVersion != 4)
+#if defined(HPArchitecture) || !defined(CplusplusCompilerMajorVersion) || (CplusplusCompilerMajorVersion < 4)
EXTRA_HARDCOPY_OBJS = $(MMDB_DIR)/HardCopy/TemplatesAutoNumber.o
#endif
$(MMDB_DIR)/HardCopy/autoNumber.o $(MMDB_DIR)/HardCopy/autoNumberFP.o \
$(EXTRA_HARDCOPY_OBJS)
-#if defined(HPArchitecture) || !defined(CplusplusCompilerMajorVersion) || (CplusplusCompilerMajorVersion != 4)
+#if defined(HPArchitecture) || !defined(CplusplusCompilerMajorVersion) || (CplusplusCompilerMajorVersion < 4)
EXTRA_STYLESHEET_OBJS = $(MMDB_DIR)/StyleSheet/SSTemplates.o
#endif
includes:: Prelude.h dfiles messages
-#if defined(HPArchitecture) ||defined (AIXArchitecture) || defined(UXPArchitecture) || (defined(SunArchitecture) && CplusplusCompilerMajorVersion < 4) || defined(AlphaArchitecture) || defined(USLArchitecture) || defined(BSDArchitecture)
+#if defined(HPArchitecture) ||defined (AIXArchitecture) || \
+ defined(UXPArchitecture) || defined(AlphaArchitecture) || \
+ (defined(SunArchitecture) && CplusplusCompilerMajorVersion < 6) || \
+ defined(USLArchitecture) || defined(BSDArchitecture)
# ifndef Dont_Use_Templates_Repository
# define Dont_Use_Templates_Repository
UAS_INCLUDES=-I./UAS/Base
SpecialCPlusPlusExpandRule(Templates..c,,-ptf -DMakeOperatorNewPublic)
#elif defined(DoLicenseManagement)
SpecialCPlusPlusObjectRule(Templates.o,,-ptf $(LICENSE_L_INCLUDES))
-#elif defined(LinuxArchitecture) || defined(BSDArchitecture)
+#elif defined(LinuxArchitecture) || defined(BSDArchitecture) || \
+ defined(SunArchitecture)
SpecialCPlusPlusObjectRule(Templates.o,,$(SUBDIR_TEMPL_INCLUDES))
SpecialCPlusPlusExpandRule(Templates..c,,-DMakeOperatorNewPublic)
#else
makelibT(Managers)
makelib(Other)
makelibT(Agents)
-#if defined(SunArchitecture) && CplusplusCompilerMajorVersion > 3
+#if defined(SunArchitecture) && CplusplusCompilerMajorVersion > 5
makelibsubsubdir(UAS,Base)
makelibsubsubdir(UAS,DtSR)
makelibsubsubdir(UAS,MMDB)
makelibT(OnlineRender)
makelibT(OliasSearch)
makelib(cgm)
-#if defined(SunArchitecture) && CplusplusCompilerMajorVersion > 3
+#if defined(SunArchitecture) && CplusplusCompilerMajorVersion > 5
makelibTsubsubdir(UAS,Base)
makelibTsubsubdir(UAS,DtSR)
makelibTsubsubdir(UAS,MMDB)
XCOMM $XConsortium: Imakefile /main/9 1996/08/21 15:42:26 drk $
XCOMM NodeMgr.o and PrintMgr.o need STYLE_SHEET_INCLUDES.
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES) $(STYLE_SHEET_INCLUDES)
+DEPEND_DEFINES = $(DEPENDDEFINES) $(STYLE_SHEET_INCLUDES)
CXXEXTRA_DEFINES = -DEXPAND_TEMPLATES
DEFINES=-DCDE_NEXT $(BYTE_ORDER_DEFINES)
NormalCplusplusObjectRule()
-INCLUDES=$(BROWSER_INCLUDES) $(COMMON_CLASS_INCLUDES)
+INCLUDES=$(CXXDEPENDINCLUDES) $(BROWSER_INCLUDES) $(COMMON_CLASS_INCLUDES)
#include "Classlist.mk"
XCOMM $XConsortium: Imakefile /main/6 1996/08/21 15:42:50 drk $
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
CXXEXTRA_DEFINES = -DEXPAND_TEMPLATES
NormalCplusplusObjectRule()
LIBNAME=Marks
-INCLUDES=-I.. $(EXCEPTIONS_INCLUDES) $(MMDB_INCLUDES) $(UAS_INCLUDES)
+INCLUDES=$(CXXDEPENDINCLUDES) -I.. $(EXCEPTIONS_INCLUDES) $(MMDB_INCLUDES) $(UAS_INCLUDES)
DEFINES=$(BYTE_ORDER_DEFINES)
#include "Classlist.mk"
XCOMM $XConsortium: Imakefile /main/4 1996/08/21 15:42:57 drk $
+DEPEND_DEFINES = $(DEPENDDEFINES)
CXXEXTRA_DEFINES = -DEXPAND_TEMPLATES
MAKEFILEDEPS=Classlist.mk
NormalCplusplusObjectRule()
-INCLUDES=$(BROWSER_INCLUDES)
+INCLUDES=$(CXXDEPENDINCLUDES) $(BROWSER_INCLUDES)
#include "Classlist.mk"
XCOMM $XConsortium: Imakefile /main/8 1996/08/21 15:43:09 drk $
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
CXXEXTRA_DEFINES = -DEXPAND_TEMPLATES
LIBNAME=OnlineRender
NormalCplusplusObjectRule()
-INCLUDES=$(BROWSER_INCLUDES) $(MMDB_INCLUDES) $(STYLE_SHEET_INCLUDES) \
+INCLUDES=$(CXXDEPENDINCLUDES) $(BROWSER_INCLUDES) $(MMDB_INCLUDES) $(STYLE_SHEET_INCLUDES) \
$(COMMON_CLASS_INCLUDES)
DEFINES=-DCDE_NEXT
XCOMM $XConsortium: Imakefile /main/8 1996/08/21 15:43:18 drk $
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
CDEBUGFLAGS=-g
NormalCplusplusObjectRule()
-INCLUDES = $(BROWSER_INCLUDES)
+INCLUDES = $(CXXDEPENDINCLUDES) $(BROWSER_INCLUDES)
#include "Classlist.mk"
static XtActionsRec DrawnBActions[] =
- {
- {(char*)"DeSelectAll" , _DtHelpDeSelectAll },
- {(char*)"SelectAll" , _DtHelpSelectAll },
- {(char*)"ActivateLink" , _DtHelpActivateLink },
- {(char*)"CopyToClipboard", _DtHelpCopyAction },
- {(char*)"PageUpOrDown" , _DtHelpPageUpOrDown },
- {(char*)"PageLeftOrRight", _DtHelpPageLeftOrRight},
- {(char*)"NextLink" , _DtHelpNextLink }
- };
+ {
+ {(char*)"DeSelectAll" , (DeSelectAll_ptr)_DtHelpDeSelectAll },
+ {(char*)"SelectAll" , (SelectAll_ptr)_DtHelpSelectAll },
+ {(char*)"ActivateLink" , (ActivateLink_ptr)_DtHelpActivateLink },
+ {(char*)"CopyToClipboard", (CopyAction_ptr)_DtHelpCopyAction },
+ {(char*)"PageUpOrDown" , (PageUpOrDown_ptr)_DtHelpPageUpOrDown },
+ {(char*)"PageLeftOrRight", (PageLeftOrRight_ptr)_DtHelpPageLeftOrRight },
+ {(char*)"NextLink" , (NextLink_ptr)_DtHelpNextLink }
+ };
bool debugging = get_boolean_app_resource("debug");
if (!debugging)
{
- signal (SIGABRT, /*DWC IBM (SIG_PF)*/ core_dump_handler);
- signal (SIGBUS, /*(SIG_PF)*/ core_dump_handler);
- signal (SIGSEGV, /*(SIG_PF)*/ core_dump_handler);
- signal (SIGINT, interrupt_handler);
+ signal (SIGABRT,
+ /*DWC IBM (SIG_PF)*/ (core_dump_handler_ptr)core_dump_handler);
+ signal (SIGBUS, /*(SIG_PF)*/ (core_dump_handler_ptr)core_dump_handler);
+ signal (SIGSEGV, /*(SIG_PF)*/ (core_dump_handler_ptr)core_dump_handler);
+ signal (SIGINT, (interrupt_handler_ptr)interrupt_handler);
}
/* Reference the scale widget so Veritas Replay Xt lib can link. */
XSynchronize(f_display, True);
#endif
XSync(f_display, False);
- XSetErrorHandler(xevent_error_aborter);
+ XSetErrorHandler((xevent_error_aborter_ptr)xevent_error_aborter);
#if 0
XtAppSetFallbackResources(f_application_context, fallbacks);
parentCvtArg, XtNumber (parentCvtArg), XtCacheNone, NULL);
#endif /* XmVersion < 1002 */
- XtAddConverter (XtRString, XtRGravity, XmuCvtStringToGravity, NULL, 0);
+ XtAddConverter (XtRString, XtRGravity,
+ (XmuCvtStringToGravity_ptr)XmuCvtStringToGravity, NULL, 0);
#if XmVersion >= 1002
XmRepTypeInstallTearOffModelConverter();
}
#if defined(SVR4) || defined(hpux) || defined(_IBMR2)
- signal (SIGINT, interrupt_handler);
+ signal (SIGINT, (interrupt_handler_ptr)interrupt_handler);
#endif
}
Boolean silent;
} VideoShell;
+typedef void _DtHelpDeSelectAll_t(_WidgetRec*,_XEvent*,char**,unsigned*);
+typedef _DtHelpDeSelectAll_t * DeSelectAll_ptr;
+typedef void _DtHelpSelectAll_t(_WidgetRec*,_XEvent*,char**,unsigned*);
+typedef _DtHelpSelectAll_t * SelectAll_ptr;
+typedef void _DtHelpActivateLink_t(_WidgetRec*,_XEvent*,char**,unsigned*);
+typedef _DtHelpActivateLink_t * ActivateLink_ptr;
+typedef void _DtHelpCopyAction_t(_WidgetRec*,_XEvent*,char**,unsigned*);
+typedef _DtHelpCopyAction_t * CopyAction_ptr;
+typedef void _DtHelpPageUpOrDown_t(_WidgetRec*,_XEvent*,char**,unsigned*);
+typedef _DtHelpPageUpOrDown_t * PageUpOrDown_ptr;
+typedef void _DtHelpPageLeftOrRight_t(_WidgetRec*,_XEvent*,char**,unsigned*);
+typedef _DtHelpPageLeftOrRight_t * PageLeftOrRight_ptr;
+typedef void _DtHelpNextLink_t(_WidgetRec*,_XEvent*,char**,unsigned*);
+typedef _DtHelpNextLink_t * NextLink_ptr;
+typedef void XmuCvtStringToGravity_t(XrmValue*,unsigned*,XrmValue*,XrmValue*);
+typedef XmuCvtStringToGravity_t * XmuCvtStringToGravity_ptr;
+
+extern "C"
+{
+ typedef void core_dump_handler_t(int signal_number);
+ typedef core_dump_handler_t * core_dump_handler_ptr;
+ typedef void interrupt_handler_t(int signal_number);
+ typedef interrupt_handler_t * interrupt_handler_ptr;
+ typedef int xevent_error_aborter_t(Display *display,XErrorEvent* error_event);
+ typedef xevent_error_aborter_t * xevent_error_aborter_ptr;
+}
+
class WindowGeometry;
class WindowSystem : public WWL, public FolioObject
XCOMM $XConsortium: Imakefile /main/6 1996/08/21 15:43:25 drk $
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
MAKEFILEDEPS=Classlist.mk
NormalCplusplusObjectRule()
-INCLUDES=$(BROWSER_INCLUDES)
+INCLUDES=$(CXXDEPENDINCLUDES) $(BROWSER_INCLUDES)
#include "Classlist.mk"
make_libfiles($(LIBNAME), $(CLASSES))
-#if defined(LinuxArchitecture) || defined(BSDArchitecture)
+#if defined(SunArchitecture) && CplusplusCompilerMajorVersion > 3
+SimpleLibraryT($(LIBNAME), $(OBJS), $(LIBDIR))
+#elif defined(LinuxArchitecture) || defined(BSDArchitecture)
SimpleLibrary($(LIBNAME), $(OBJS), $(LIBDIR))
#else
SimpleLibrary($(LIBNAME), $(OBJS), $(LIBDIR))
#include <ctype.h>
#include <stdio.h>
#include <unistd.h>
-#if !defined(hpux) && !defined(__osf__) && !defined(USL) && !defined(linux) && !defined(CSRG_BASED)
+#if !defined(hpux) && !defined(__osf__) && !defined(USL) && \
+ !defined(linux) && !defined(CSRG_BASED) && !defined(sun)
#include <sysent.h>
#endif
#include <sys/types.h>
XCOMM $XConsortium: Imakefile /main/7 1996/08/21 15:43:32 drk $
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
CXXEXTRA_DEFINES = -DEXPAND_TEMPLATES
MAKEFILEDEPS=Classlist.mk
NormalCplusplusObjectRule()
-INCLUDES=$(BROWSER_INCLUDES) $(COMMON_CLASS_INCLUDES)
+INCLUDES=$(CXXDEPENDINCLUDES) $(BROWSER_INCLUDES) $(COMMON_CLASS_INCLUDES)
#include "Classlist.mk"
XCOMM $XConsortium: Imakefile /main/5 1996/08/21 15:43:45 drk $
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
CXXEXTRA_DEFINES = -DEXPAND_TEMPLATES
MAKEFILEDEPS=Classlist.mk
NormalCplusplusObjectRule()
-INCLUDES=-I.. $(EXCEPTIONS_INCLUDES) $(UAS_INCLUDES)
+INCLUDES=$(CXXDEPENDINCLUDES) -I.. $(EXCEPTIONS_INCLUDES) $(UAS_INCLUDES)
#include "Classlist.mk"
};
template <class T>
-#if defined(__uxp__) || defined(_IBMR2) || defined(__osf__) || defined(USL) || defined(linux) || defined(CSRG_BASED)
+#if defined(__uxp__) || defined(_IBMR2) || defined(__osf__) || \
+ defined(USL) || defined(linux) || defined(CSRG_BASED) || defined(sun)
class xList : public List_base
#else
class xList : private List_base
#ifdef SC3
friend class List_Iterator<T>;
#else
-#if !defined(_IBMR2) && !defined(__osf__) && !defined(USL) && !defined(linux) && !defined(CSRG_BASED)
+#if !defined(_IBMR2) && !defined(__osf__) && !defined(USL) && \
+ !defined(linux) && !defined(CSRG_BASED) && !defined(sun)
template <class T> friend class List_Iterator;
#endif
#endif
template <class T>
-#if defined(_IBMR2) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
+#if defined(_IBMR2) || defined(__osf__) || defined(linux) || \
+ defined(CSRG_BASED) || defined(sun)
class List_Iterator : public List_Iterator_base
#else
class List_Iterator : private List_Iterator_base
XCOMM $XConsortium: Imakefile /main/7 1996/08/21 15:44:17 drk $
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
CXXEXTRA_DEFINES = -DEXPAND_TEMPLATES
MAKEFILEDEPS=Classlist.mk
NormalCplusplusObjectRule()
-INCLUDES=-I. -I.. -I../.. -I../Support $(EXCEPTIONS_INCLUDES) $(COMMON_CLASS_INCLUDES)
+INCLUDES = $(CXXDEPENDINCLUDES) -I. -I.. -I../.. -I../Support $(EXCEPTIONS_INCLUDES) $(COMMON_CLASS_INCLUDES)
make_libfiles($(LIBNAME),)
protected:
UAS_String fMessage;
public:
- DECLARE_EXCEPTION(UAS_Exception, Exception);
+ DECLARE_EXCEPTION(UAS_Exception, Exception)
UAS_Exception(const UAS_String&m): fMessage(m) {}
virtual ~UAS_Exception() {}
const UAS_String & message () const { return fMessage; }
class UAS_OQLParser_Exception : public UAS_Exception
{
public:
- DECLARE_EXCEPTION(UAS_OQLParser_Exception, Exception);
+ DECLARE_EXCEPTION(UAS_OQLParser_Exception, Exception)
UAS_OQLParser_Exception(const UAS_String &m) : UAS_Exception(m) {};
virtual ~UAS_OQLParser_Exception() {};
class UAS_Search_Feature_Unavailable : public UAS_OQLParser_Exception
{
public:
- DECLARE_EXCEPTION(UAS_Search_Feature_Unavailable, Exception);
+ DECLARE_EXCEPTION(UAS_Search_Feature_Unavailable, Exception)
UAS_Search_Feature_Unavailable(const UAS_String &m) :
UAS_OQLParser_Exception(m) {};
XCOMM $XConsortium: Imakefile /main/8 1996/08/21 15:44:56 drk $
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
CXXEXTRA_DEFINES = -DEXPAND_TEMPLATES
MAKEFILEDEPS=Classlist.mk
NormalCplusplusObjectRule()
-INCLUDES=-I../.. $(EXCEPTIONS_INCLUDES) $(UAS_INCLUDES) $(DTSEARCH_INCLUDES) $(UTIL_CLASSES_INCLUDES) $(COMMON_CLASS_INCLUDES)
+INCLUDES = $(CXXDEPENDINCLUDES) -I../.. $(EXCEPTIONS_INCLUDES) $(UAS_INCLUDES) $(DTSEARCH_INCLUDES) $(UTIL_CLASSES_INCLUDES) $(COMMON_CLASS_INCLUDES)
#include "Classlist.mk"
XCOMM $XConsortium: Imakefile /main/9 1996/08/21 15:45:19 drk $
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
CXXEXTRA_DEFINES = -DEXPAND_TEMPLATES
MAKEFILEDEPS=Classlist.mk
SEARCHENG_DEFINES=$(FULCRUM_DEFINES)
#endif
-INCLUDES=-I. -I../Base -I../.. $(EXCEPTIONS_INCLUDES) $(COMMON_CLASS_INCLUDES) $(SEARCHENG_INCLUDES) $(SEARCHENG_DEFINES)
+INCLUDES = $(CXXDEPENDINCLUDES) -I. -I../Base -I../.. $(EXCEPTIONS_INCLUDES) $(COMMON_CLASS_INCLUDES) $(SEARCHENG_INCLUDES) $(SEARCHENG_DEFINES)
make_libfiles($(LIBNAME),)
XCOMM $XConsortium: Imakefile /main/6 1996/08/21 15:45:28 drk $
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
LIBNAME= Widgets
LIBDIR = ../lib
NormalCplusplusObjectRule()
NormalLibraryObjectRule()
-INCLUDES=$(CDEINCLUDES) $(WWL_INCLUDES) $(EXCEPTIONS_INCLUDES)
+INCLUDES=$(CXXDEPENDINCLUDES) $(CDEINCLUDES) $(WWL_INCLUDES) $(EXCEPTIONS_INCLUDES)
-#if defined(LinuxArchitecture) || defined(BSDArchitecture)
+#if defined(SunArchitecture) && CplusplusCompilerMajorVersion > 3
+SimpleLibraryT($(LIBNAME), $(OBJS), $(LIBDIR))
+#elif defined(LinuxArchitecture) || defined(BSDArchitecture)
SimpleLibrary($(LIBNAME), $(OBJS), $(LIBDIR))
#else
SimpleLibrary($(LIBNAME), $(OBJS), $(LIBDIR))
#define WArgList_h
// Allow setting of resources by name in arg list
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#define CASTRNAM (char*)
#define CASTVAL (void*)(size_t)
#else
inline char* GetString () const { return XmTextGetString (widget); }
inline XmTextPosition GetTopCharacter () const { return XmTextGetTopCharacter (widget); }
inline void Insert (XmTextPosition position, char* value) const { XmTextInsert (widget, position, value); }
-inline Boolean Paste (Widget widget) const { return XmTextPaste (widget); }
+inline Boolean Paste (Widget twidget) const { return XmTextPaste (twidget); }
inline Boolean PosToXY (XmTextPosition position, Position* x, Position* y) const { return XmTextPosToXY (widget, position, x, y); }
inline Boolean Remove () const { return XmTextRemove (widget); }
inline void Replace (XmTextPosition from, XmTextPosition to, char* s) const { XmTextReplace (widget, from, to, s); }
inline Boolean GetSelectionPosition (XmTextPosition* left, XmTextPosition* right) const { return XmTextFieldGetSelectionPosition (widget, left, right); }
inline char* GetString () const { return XmTextFieldGetString (widget); }
inline void Insert (XmTextPosition position, char* value) const { XmTextFieldInsert (widget, position, value); }
-inline Boolean Paste (Widget widget) const { return XmTextFieldPaste (widget); }
+inline Boolean Paste (Widget twidget) const { return XmTextFieldPaste (twidget); }
inline Boolean PosToXY (XmTextPosition position, Position* x, Position* y) const { return XmTextFieldPosToXY (widget, position, x, y); }
inline Boolean Remove () const { return XmTextFieldRemove (widget); }
inline void Replace (XmTextPosition from, XmTextPosition to, char* s) const { XmTextFieldReplace (widget, from, to, s); }
// /__ \/ F-91405 ORSAY Cedex +33 (1) 69 41 66 29
#include <X11/Intrinsic.h>
-#if !defined(linux) && !defined(CSRG_BASED)
+#if !defined(linux) && !defined(CSRG_BASED) && !defined(sun)
#include <generic.h>
#else
#define name2(__n1,__n2) __paste2(__n1,__n2)
typedef void (* XtProc)();
#endif
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#define CASTRNAM (char*)
#define CASTVAL (void*)(size_t)
#else
#include <stdlib.h>
-#if !defined(__osf__) && !defined(USL) && !defined(linux) && !defined(CSRG_BASED)
+#if !defined(__osf__) && !defined(USL) && !defined(linux) && \
+ !defined(CSRG_BASED) && !defined(sun)
#include <osfcn.h>
#endif
const char *msg(void) const { return f_msg; };
int error_no(void) const { return f_errno; };
- DECLARE_EXCEPTION(PosixError, Exception);
+ DECLARE_EXCEPTION(PosixError, Exception)
private:
char f_msg[MAXMSG+1];
XCOMM $TOG: Imakefile /main/27 1997/09/05 11:29:30 samborn $
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
CXXEXTRA_INCLUDES = -DEXPAND_TEMPLATES
NormalCplusplusObjectRule()
ROGUE_LIBS=$(RW_LIBDIR) $(RW_LIB)
#endif
-INCLUDES=$(MMDB_INCLUDES) $(EXCEPTIONS_INCLUDES) \
+INCLUDES=$(CXXDEPENDINCLUDES) $(MMDB_INCLUDES) $(EXCEPTIONS_INCLUDES) \
$(MISC_INCLUDES) $(GLOBAL_INCLUDES) $(DBUG_INCLUDES) \
$(COMMON_CLASS_INCLUDES) $(LIC_INCLUDES)
$(MMDB_DIR)/dti_cc/CC_String.o $(MMDB_DIR)/dti_cc/CC_Tokenizer.o \
$(MMDB_DIR)/dti_cc/CC_Stack.o $(MMDB_DIR)/dti_cc/CC_Slist.o
-#if defined(HPArchitecture) || !defined(CplusplusCompilerMajorVersion) || (CplusplusCompilerMajorVersion != 4)
+#if defined(HPArchitecture) || !defined(CplusplusCompilerMajorVersion) || (CplusplusCompilerMajorVersion < 4)
EXTRA_HARDCOPY_OBJS = $(MMDB_DIR)/HardCopy/TemplatesAutoNumber.o
#endif
$(MMDB_DIR)/HardCopy/autoNumber.o $(MMDB_DIR)/HardCopy/autoNumberFP.o \
$(EXTRA_HARDCOPY_OBJS)
-#if defined(HPArchitecture) || !defined(CplusplusCompilerMajorVersion) || (CplusplusCompilerMajorVersion != 4)
+#if defined(HPArchitecture) || !defined(CplusplusCompilerMajorVersion) || (CplusplusCompilerMajorVersion < 4)
EXTRA_STYLESHEET_OBJS = $(MMDB_DIR)/StyleSheet/SSTemplates.o
#endif
XCOMM #######################################
XCOMM Template handling
XCOMM #######################################
-#if defined(SunArchitecture) && CplusplusCompilerMajorVersion > 3
+#if defined(SunArchitecture) && CplusplusCompilerMajorVersion > 5
all::$(CMD_OBJS)
SimpleLibraryT(OLAFParse,$(OBJS),$(LIBDIR))
SimpleCPlusPlusProgram(NodeParser, NodeParser.o libOLAFParse.a libOLAFParseT.a,$(Libs))
SimpleCPlusPlusProgram(NCFGen, NCFGen.o libOLAFParse.a libOLAFParseT.a,$(Libs) $(DTSVCLIB) $(TTLIB))
SimpleCPlusPlusProgram(MixedGen, MixedGen.o RemoteId.o libOLAFParse.a libOLAFParseT.a,$(Libs) $(DTSVCLIB) $(TTLIB))
SimpleCPlusPlusProgram(StyleUpdate, StyleUpdate.o libOLAFParse.a libOLAFParseT.a,$(Libs) $(DTSVCLIB) $(TTLIB))
-#elif defined(LinuxArchitecture) || defined(BSDArchitecture)
+#elif defined(LinuxArchitecture) || defined(BSDArchitecture) || \
+ defined(SunArchitecture)
TEMPLATE_OBJS = TKTemplate.o
RealLibrary(OLAFParse,$(OBJS),$(LIBDIR))
SimpleCPlusPlusProgram(NodeParser, NodeParser.o $(TEMPLATE_OBJS) libOLAFParse.a,$(Libs))
#include <stdlib.h>
-#if !defined(__osf__) && !defined(USL) && !defined(linux) && !defined(CSRG_BASED)
+#if !defined(__osf__) && !defined(USL) && !defined(linux) && \
+ !defined(CSRG_BASED) && !defined(sun)
# include <osfcn.h>
#endif
#include <stdlib.h>
-#if !defined(__osf__) && !defined(USL) && !defined(linux) && !defined(CSRG_BASED)
+#if !defined(__osf__) && !defined(USL) && !defined(linux) && \
+ !defined(CSRG_BASED) && !defined(sun)
#include <osfcn.h>
#endif
const char *msg(void) { return msg_; };
- DECLARE_EXCEPTION(Unexpected, Exception);
+ DECLARE_EXCEPTION(Unexpected, Exception)
private:
const char *msg_;
int f_source;
int f_severity;
- DECLARE_EXCEPTION(ErrorReported, Exception);
+ DECLARE_EXCEPTION(ErrorReported, Exception)
};
#endif
#include <ctype.h>
#include <signal.h>
+#if !defined(CSRG_BASED)
+#include <sys/sysmacros.h>
+#endif
#include <sys/param.h>
#include <sys/stat.h>
#include <X11/Intrinsic.h>
#include <stdlib.h>
-#if !defined(__osf__) && !defined(USL) && !defined(linux) && !defined(CSRG_BASED)
+#if !defined(__osf__) && !defined(USL) && !defined(linux) && \
+ !defined(CSRG_BASED) && !defined(sun)
# include <osfcn.h>
#else
# include <unistd.h>
#ifdef __cplusplus
#include <stdlib.h>
-#if !defined(__osf__) && !defined(USL) && !defined(linux) && !defined(CSRG_BASED)
+#if !defined(__osf__) && !defined(USL) && !defined(linux) && \
+ !defined(CSRG_BASED) && !defined(sun)
#include <osfcn.h>
#endif
#define YY_CHAR unsigned char
#define INITIAL 0
-#if !defined(__osf__) && !defined(USL) && !defined(linux) && !defined(CSRG_BASED)
+#if !defined(__osf__) && !defined(USL) && !defined(linux) && \
+ !defined(CSRG_BASED) && !defined(sun)
#include <osfcn.h>
#else
#include <unistd.h>
XCOMM
XCOMM
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
NormalCplusplusObjectRule()
-INCLUDES=$(GLOBAL_INCLUDES) $(MMDB_INCLUDES) $(EXCEPTIONS_INCLUDES)
+INCLUDES=$(CXXDEPENDINCLUDES) $(GLOBAL_INCLUDES) $(MMDB_INCLUDES) $(EXCEPTIONS_INCLUDES)
XCOMM $TOG: Imakefile /main/14 1997/09/05 11:32:36 samborn $
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
NormalCplusplusObjectRule()
-INCLUDES=$(EXCEPTIONS_INCLUDES) $(COMMON_CLASS_INCLUDES)
+INCLUDES=$(CXXDEPENDINCLUDES) $(EXCEPTIONS_INCLUDES) $(COMMON_CLASS_INCLUDES)
DEFINES=-DCDE_NEXT
-#if defined(CplusplusCompilerMajorVersion) && (CplusplusCompilerMajorVersion == 4)
+#if defined(CplusplusCompilerMajorVersion) && (CplusplusCompilerMajorVersion > 3)
TEMPLATE_OBJS=
#else
TEMPLATE_OBJS=$(OLIAS)/mmdb/StyleSheet/SSTemplates.o
$(MMDB_DIR)/dti_cc/CC_String.o $(MMDB_DIR)/dti_cc/CC_Tokenizer.o \
$(MMDB_DIR)/dti_cc/CC_Stack.o $(MMDB_DIR)/dti_cc/CC_Slist.o
-#if defined(HPArchitecture) || !defined(CplusplusCompilerMajorVersion) || (CplusplusCompilerMajorVersion != 4)
+#if defined(HPArchitecture) || !defined(CplusplusCompilerMajorVersion) || (CplusplusCompilerMajorVersion < 4)
EXTRA_HARDCOPY_OBJS = $(MMDB_DIR)/HardCopy/TemplatesAutoNumber.o
#endif
$(MMDB_DIR)/HardCopy/autoNumber.o $(MMDB_DIR)/HardCopy/autoNumberFP.o \
$(EXTRA_HARDCOPY_OBJS)
-#if defined(HPArchitecture) || !defined(CplusplusCompilerMajorVersion) || (CplusplusCompilerMajorVersion != 4)
+#if defined(HPArchitecture) || !defined(CplusplusCompilerMajorVersion) || (CplusplusCompilerMajorVersion < 4)
EXTRA_STYLESHEET_OBJS = $(MMDB_DIR)/StyleSheet/SSTemplates.o
#endif
#ifdef AIXArchitecture
Libs= $(STATIC) $(ALL_MMDB_OBJS) $(MATH_LIB) $(DTSVC_LIBRARY) $(TTLIB) $(SYS_LIBRARIES)
-#elif defined(SunArchitecture) && CplusplusCompilerMajorVersion > 3
+#elif defined(SunArchitecture) && CplusplusCompilerMajorVersion > 5
Libs= $(STATIC) -L../../../mmdb -lMMDB -lMMDBTemplates $(MATH_LIB) $(SYS_LIBRARIES)
#else
Libs= $(STATIC) -L../../../mmdb -lMMDB $(MATH_LIB) $(SYS_LIBRARIES)
XCOMM $TOG: Imakefile /main/11 1997/12/31 09:07:38 bill $
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
NormalLibraryObjectRule()
-INCLUDES = -I.. $(EXCEPTIONS_INCLUDES) $(COMMON_CLASS_INCLUDES)
+NormalCplusplusObjectRule()
+
+INCLUDES = $(CXXDEPENDINCLUDES) -I.. $(EXCEPTIONS_INCLUDES) $(COMMON_CLASS_INCLUDES)
CINCLUDES = -I..
SimpleCPlusPlusProgram(dbdrv,main.o,$(Libs))
SimpleCPlusPlusProgram(restore,restore.o,$(Libs))
-#if defined(USLArchitecture) || defined(LinuxArchitecture) || defined(BSDArchitecture)
+#if defined(USLArchitecture) || defined(LinuxArchitecture) || \
+ defined(BSDArchitecture) || defined(SunArchitecture)
SimpleCPlusPlusProgram(dbdrv_c_api,main_c_api.o,$(Libs_C_API))
#else
SimpleCProgram(dbdrv_c_api,main_c_api.o,$(Libs_C_API))
#define LibCreate NO
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
CXXEXTRA_DEFINES = -DEXPAND_TEMPLATES
XCOMM Do not put any -g here, will cause the generation of MasterTemplate.c.c
DEFINES=
#endif
-INCLUDES = -I$(DTMMDBSRC)/HardCopy $(EXCEPTIONS_INCLUDES) $(COMMON_CLASS_INCLUDES) -I$(DTMMDBSRC)
+INCLUDES = $(CXXDEPENDINCLUDES) -I$(DTMMDBSRC)/HardCopy $(EXCEPTIONS_INCLUDES) $(COMMON_CLASS_INCLUDES) -I$(DTMMDBSRC)
-#if defined(CplusplusCompilerMajorVersion) && (CplusplusCompilerMajorVersion == 4)
+#if defined(CplusplusCompilerMajorVersion) && \
+ (CplusplusCompilerMajorVersion == 4) && !defined(SunArchitecture)
XCOMM need the ptr repository
CXXEXTRA_DEFINES = -ptr../templates
#endif
SpecialCPlusPlusObjectRule(TemplatesAutoNumber.o,,+Tall_tmpls -DEXPAND_TEMPLATES)
#elif defined(AlphaArchitecture)
SpecialCPlusPlusObjectRule(TemplatesAutoNumber.o,,-ptf -DEXPAND_TEMPLATES)
-#elif defined(LinuxArchitecture) || defined(BSDArchitecture)
+#elif defined(LinuxArchitecture) || defined(BSDArchitecture) || \
+ defined(SunArchitecture)
SpecialCPlusPlusObjectRule(TemplatesAutoNumber.o,,-DEXPAND_TEMPLATES)
SpecialCPlusPlusExpandRule(TemplatesAutoNumber..c,TemplatesAutoNumber.C,-DEXPAND_TEMPLATES)
#else
XCOMM CDEBUGFLAGS = -g -DDEBUG
XCOMM CXXDEBUGFLAGS = -g -DDEBUG
-#if defined(SunArchitecture) && CplusplusCompilerMajorVersion > 3
+#if defined(SunArchitecture) && CplusplusCompilerMajorVersion > 5
AllTarget(libMMDBTemplates.a)
libMMDBTemplates.a:
#define LibCreate NO
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
CXXEXTRA_DEFINES = -DEXPAND_TEMPLATES
#ifdef DtinfoClient
DEFINES =
#endif
-INCLUDES = -I$(DTMMDBSRC)/StyleSheet $(EXCEPTIONS_INCLUDES) $(COMMON_CLASS_INCLUDES) -I$(DTMMDBSRC)
+INCLUDES = $(CXXDEPENDINCLUDES) -I$(DTMMDBSRC)/StyleSheet $(EXCEPTIONS_INCLUDES) $(COMMON_CLASS_INCLUDES) -I$(DTMMDBSRC)
#ifdef RegenParserFiles
LinkSourceFile(defParser.y,$(DTMMDBSRC)/StyleSheet)
#endif
-#if defined(CplusplusCompilerMajorVersion) && (CplusplusCompilerMajorVersion == 4)
+#if defined(CplusplusCompilerMajorVersion) && \
+ (CplusplusCompilerMajorVersion == 4) && !defined(SunArchitecture)
XCOMM need the ptr repository
CXXEXTRA_DEFINES = -ptr../templates
#endif
SpecialCPlusPlusObjectRule(SSTemplates.o,,+Tall_tmpls -DEXPAND_TEMPLATES)
#elif defined(AlphaArchitecture)
SpecialCPlusPlusObjectRule(SSTemplates.o,,-ptf -DEXPAND_TEMPLATES)
-#elif defined(LinuxArchitecture) || defined(BSDArchitecture)
+#elif defined(LinuxArchitecture) || defined(BSDArchitecture) || \
+ defined(SunArchitecture)
SpecialCPlusPlusObjectRule(SSTemplates.o,,-DEXPAND_TEMPLATES)
SpecialCPlusPlusExpandRule(SSTemplates..c,SSTemplates.C,-DEXPAND_TEMPLATES)
#else
#define LibCreate NO
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
+
+#if defined(SunArchitecture)
+EXCEPTION_DEFINES = -DNATIVE_EXCEPTIONS
+#endif
DEFINES =
-INCLUDES = -I$(DTMMDBSRC)/api -I$(DTMMDBSRC) $(EXCEPTIONS_INCLUDES) -I$(DTMMDBSRC)/misc
+INCLUDES = $(CXXDEPENDINCLUDES) -I$(DTMMDBSRC)/api -I$(DTMMDBSRC) $(EXCEPTIONS_INCLUDES) -I$(DTMMDBSRC)/misc
LinkSourceFile(base.C,$(DTMMDBSRC)/api)
LinkSourceFile(info_base.C,$(DTMMDBSRC)/api)
#define LibCreate NO
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES =
-INCLUDES = -I$(DTMMDBSRC)/btree -I$(DTMMDBSRC) $(EXCEPTIONS_INCLUDES)
+INCLUDES = $(CXXDEPENDINCLUDES) -I$(DTMMDBSRC)/btree -I$(DTMMDBSRC) $(EXCEPTIONS_INCLUDES)
LinkSourceFile(mmdb_btree.C,$(DTMMDBSRC)/btree)
#define LibHeaders NO
#define LibCreate NO
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = -DMEMMOVE
-INCLUDES = -I$(DTMMDBSRC)/btree_berkeley -I$(DTMMDBSRC)
+INCLUDES = $(CXXDEPENDINCLUDES) -I$(DTMMDBSRC)/btree_berkeley -I$(DTMMDBSRC)
XCOMM Integretion Berkeley ndbm packege (sun.4.1.3 version) to mmdb:
XCOMM 9/15/93. qfc
#define LibCreate NO
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES =
-INCLUDES = -I$(DTMMDBSRC)/compression -I$(DTMMDBSRC) $(EXCEPTIONS_INCLUDES)
+INCLUDES = $(CXXDEPENDINCLUDES) -I$(DTMMDBSRC)/compression -I$(DTMMDBSRC) $(EXCEPTIONS_INCLUDES)
LinkSourceFile(abs_agent.C,$(DTMMDBSRC)/compression)
LinkSourceFile(zip.C,$(DTMMDBSRC)/compression)
#define LibCreate NO
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES =
-INCLUDES = -I$(DTMMDBSRC)/diskhash -I$(DTMMDBSRC) $(EXCEPTIONS_INCLUDES)
+INCLUDES = $(CXXDEPENDINCLUDES) -I$(DTMMDBSRC)/diskhash -I$(DTMMDBSRC) $(EXCEPTIONS_INCLUDES)
LinkSourceFile(disk_bucket.C,$(DTMMDBSRC)/diskhash)
LinkSourceFile(bucket_array.C,$(DTMMDBSRC)/diskhash)
#define LibCreate NO
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
#if defined(LinuxArchitecture) || defined(BSDArchitecture)
EXCEPTION_DEFINES = -DNATIVE_EXCEPTIONS
#endif
DEFINES = $(EXCEPTION_DEFINES)
-INCLUDES = -I$(DTMMDBSRC)/dstr -I$(DTMMDBSRC) $(EXCEPTIONS_INCLUDES)
+INCLUDES = $(CXXDEPENDINCLUDES) -I$(DTMMDBSRC)/dstr -I$(DTMMDBSRC) $(EXCEPTIONS_INCLUDES)
LinkSourceFile(set.C,$(DTMMDBSRC)/dstr)
LinkSourceFile(bset.C,$(DTMMDBSRC)/dstr)
#define LibCreate NO
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
CXXEXTRA_DEFINES = -DEXPAND_TEMPLATES
DEFINES =
-INCLUDES = -I$(DTMMDBSRC)/dti_cc $(EXCEPTIONS_INCLUDES) $(COMMON_CLASS_INCLUDES)
+INCLUDES = $(CXXDEPENDINCLUDES) -I$(DTMMDBSRC)/dti_cc $(EXCEPTIONS_INCLUDES) $(COMMON_CLASS_INCLUDES)
LinkSourceFile(CC_Listbase.C,$(DTMMDBSRC)/dti_cc)
LinkSourceFile(cc_exceptions.C,$(DTMMDBSRC)/dti_cc)
#define LibCreate NO
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
#if defined(SunArchitecture) && CplusplusCompilerMajorVersion > 3
-EXCEPTION_DEFINES = -DHAS_TERMINATE
+EXCEPTION_DEFINES = -DHAS_TERMINATE -DNATIVE_EXCEPTIONS
#elif defined(LinuxArchitecture) || defined(BSDArchitecture)
EXCEPTION_DEFINES = -DNATIVE_EXCEPTIONS
#endif
DEFINES = -DCC_VERSION=30 -DCHECK_INITIALIZED $(EXCEPTION_DEFINES)
-INCLUDES = -I$(DTMMDBSRC)/dti_excs
+INCLUDES = $(CXXDEPENDINCLUDES) -I$(DTMMDBSRC)/dti_excs
LinkSourceFile(Jump_Environment.C,$(DTMMDBSRC)/dti_excs)
LinkSourceFile(Exceptions.C,$(DTMMDBSRC)/dti_excs)
#define LibCreate NO
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES =
-INCLUDES = -I$(DTMMDBSRC)/dynhash -I$(DTMMDBSRC) $(EXCEPTIONS_INCLUDES)
+INCLUDES = $(CXXDEPENDINCLUDES) -I$(DTMMDBSRC)/dynhash -I$(DTMMDBSRC) $(EXCEPTIONS_INCLUDES)
LinkSourceFile(data_t.C,$(DTMMDBSRC)/dynhash)
LinkSourceFile(imp_bucket.C,$(DTMMDBSRC)/dynhash)
#define LibCreate NO
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
#if defined(LinuxArchitecture) || defined(BSDArchitecture)
EXCEPTION_DEFINES = -DNATIVE_EXCEPTIONS
#endif
DEFINES = -DPORTABLE_DB $(EXCEPTION_DEFINES)
-INCLUDES = -I$(DTMMDBSRC)/hmphf -I$(DTMMDBSRC) $(EXCEPTIONS_INCLUDES)
+INCLUDES = $(CXXDEPENDINCLUDES) -I$(DTMMDBSRC)/hmphf -I$(DTMMDBSRC) $(EXCEPTIONS_INCLUDES)
LinkSourceFile(buckets.C,$(DTMMDBSRC)/hmphf)
LinkSourceFile(mphf_funcs.C,$(DTMMDBSRC)/hmphf)
#define LibCreate NO
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = -DPORTABLE_DB
-INCLUDES = -I$(DTMMDBSRC)/index -I$(DTMMDBSRC) $(EXCEPTIONS_INCLUDES)
+INCLUDES = $(CXXDEPENDINCLUDES) -I$(DTMMDBSRC)/index -I$(DTMMDBSRC) $(EXCEPTIONS_INCLUDES)
LinkSourceFile(btree_index.C,$(DTMMDBSRC)/index)
LinkSourceFile(dyn_disk_index.C,$(DTMMDBSRC)/index)
#define LibCreate NO
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = -DCOMPACTED_DISK_REP -DPORTABLE_DB
-INCLUDES = -I$(DTMMDBSRC)/mgrs -I$(DTMMDBSRC) $(EXCEPTIONS_INCLUDES)
+INCLUDES = $(CXXDEPENDINCLUDES) -I$(DTMMDBSRC)/mgrs -I$(DTMMDBSRC) $(EXCEPTIONS_INCLUDES)
LinkSourceFile(managers.C,$(DTMMDBSRC)/mgrs)
LinkSourceFile(misc.C,$(DTMMDBSRC)/mgrs)
#define LibCreate NO
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = -DPORTABLE_DB
-INCLUDES = -I$(DTMMBDSRC)/object -I$(DTMMDBSRC) $(EXCEPTIONS_INCLUDES)
+INCLUDES = $(CXXDEPENDINCLUDES) -I$(DTMMBDSRC)/object -I$(DTMMDBSRC) $(EXCEPTIONS_INCLUDES)
LinkSourceFile(composite.C,$(DTMMDBSRC)/object)
LinkSourceFile(compressed_pstring.C,$(DTMMDBSRC)/object)
#define LibCreate NO
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
#ifdef DtinfoClient
DEFINES= -DNO_DB_LOCK -DCDE_NEXT
#else
DEFINES= -DNO_DB_LOCK $(BYTE_ORDER_DEFINES)
#endif
-INCLUDES = -I$(DTMMDBSRC)/oliasdb -I$(DTMMDBSRC) $(EXCEPTIONS_INCLUDES) $(COMMON_CLASS_INCLUDES) -I$(DTMMDBSRC)/misc
+INCLUDES = $(CXXDEPENDINCLUDES) -I$(DTMMDBSRC)/oliasdb -I$(DTMMDBSRC) $(EXCEPTIONS_INCLUDES) $(COMMON_CLASS_INCLUDES) -I$(DTMMDBSRC)/misc
LinkSourceFile(asciiIn_filters.C,$(DTMMDBSRC)/oliasdb)
LinkSourceFile(collectionIterator.C,$(DTMMDBSRC)/oliasdb)
#define LibCreate NO
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = -DPORTABLE_DB
-INCLUDES = -I$(DTMMDBSRC)/schema -I$(DTMMDBSRC) $(EXCEPTIONS_INCLUDES) -I$(DTMMDBSRC)/misc
+INCLUDES = $(CXXDEPENDINCLUDES) -I$(DTMMDBSRC)/schema -I$(DTMMDBSRC) $(EXCEPTIONS_INCLUDES) -I$(DTMMDBSRC)/misc
LinkSourceFile(agent_desc.C,$(DTMMDBSRC)/schema)
LinkSourceFile(container_desc.C,$(DTMMDBSRC)/schema)
#define LibCreate NO
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = -DPORTABLE_DB
-INCLUDES = -I$(DTMMDBSRC)/storage -I$(DTMMDBSRC) $(EXCEPTIONS_INCLUDES)
+INCLUDES = $(CXXDEPENDINCLUDES) -I$(DTMMDBSRC)/storage -I$(DTMMDBSRC) $(EXCEPTIONS_INCLUDES)
LinkSourceFile(abs_storage.C,$(DTMMDBSRC)/storage)
LinkSourceFile(chunks_index.C,$(DTMMDBSRC)/storage)
#define LibCreate NO
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = -DPORTABLE_DB
-INCLUDES = -I$(DTMMDBSRC)/utility -I$(DTMMDBSRC) $(EXCEPTIONS_INCLUDES) -I$(DTMMDBSRC)/misc
+INCLUDES = $(CXXDEPENDINCLUDES) -I$(DTMMDBSRC)/utility -I$(DTMMDBSRC) $(EXCEPTIONS_INCLUDES) -I$(DTMMDBSRC)/misc
LinkSourceFile(atoi_fast.C,$(DTMMDBSRC)/utility)
LinkSourceFile(atoi_larson.C,$(DTMMDBSRC)/utility)
DESKTOP_VERSION_STRING = DesktopVersionString
KSH93SRC = ./ksh93
+DEPEND_DEFINES = $(DEPENDDEFINES)
INCLUDES = -I. -I$(KSH93SRC)/include/ast -I$(KSH93SRC)/src/cmd/ksh93/include -I$(KSH93SRC)/src/cmd/ksh93
/* DEPLIBS contains the list of library depencies for a client.
#include "msgs.h"
#if defined(SYSV) || defined(SVR4_0) || defined(SVR4) || defined(DEC) \
- || defined(CSRG_BASED) || defined(linux)
+ || defined(CSRG_BASED) || defined(linux) || defined(sun)
#define lsprintf sprintf
#endif
SUBCFLAGS = -O
UFLAGS = $(SUBCFLAGS)
ULDFLAGS =
+IFFECDEBUGFLAGS = -O0
#ifdef RsArchitecture
CCFLAGS = CCFLAGS=" "
-DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\"
CCFLAGS = $(CDEBUGFLAGS) $(SUIDEXECDEFINES) $(STD_DEFINES) $(ANSI_DEFINES)
+ICCFLAGS = $(IFFECDEBUGFLAGS) $(STD_DEFINES) $(ANSI_DEFINES)
all:: ksh93src ksh93.o
ksh93src:
$(RM) $(SHIP_DIR)/$(ALL_SUBS)/$(ALL_SUBS)/BUILT; \
- SHELL=$(KORNSHELL) CC="$(CC)" CCFLAGS="$(CCFLAGS)" $(KORNSHELL) ship/shipin $(FORCE_SHIP)
+ SHELL=$(KORNSHELL) CC="$(CC)" CCFLAGS="$(CCFLAGS)" ICCFLAGS="$(ICCFLAGS)" $(KORNSHELL) ship/shipin $(FORCE_SHIP)
ksh93.o: $(OBJS)
$(LD) -r -o $@ $(OBJS)
setv mam_libdld `(set -; cd /tmp; echo 'main(){return(0);}' > x.${!-$$}.c; ${CC} ${CCFLAGS} -o x.${!-$$}.x x.${!-$$}.c -ldld >/dev/null 2>&1 && echo ' -ldld'; rm -f x.${!-$$}.[cox])`
setv mam_libintl `(set -; cd /tmp; echo 'main(){return(0);}' > x.${!-$$}.c; ${CC} ${CCFLAGS} -o x.${!-$$}.x x.${!-$$}.c -lintl >/dev/null 2>&1 && echo ' -lintl'; rm -f x.${!-$$}.[cox])`
setv mam_libast ${mam_cc_L+-last}${mam_cc_L-${INSTALLROOT}/lib/libast.a}
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_cc_static} ${mam_libm} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libjobs} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libi} ${mam_cc_dynamic} ${mam_libdl} ${mam_libdld} ${mam_cc_static} ${mam_libintl} ${mam_cc_dynamic} ${mam_libast} : run features/externs
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_cc_static} ${mam_libm} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libjobs} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libi} ${mam_cc_dynamic} ${mam_libdl} ${mam_libdld} ${mam_cc_static} ${mam_libintl} ${mam_cc_dynamic} ${mam_libast} : run features/externs
done FEATURE/externs generated
make FEATURE/execargs implicit
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_cc_static} ${mam_libm} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libjobs} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libi} ${mam_cc_dynamic} ${mam_libdl} ${mam_libdld} ${mam_cc_static} ${mam_libintl} ${mam_cc_dynamic} ${mam_libast} : def execargs
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_cc_static} ${mam_libm} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libjobs} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libi} ${mam_cc_dynamic} ${mam_libdl} ${mam_libdld} ${mam_cc_static} ${mam_libintl} ${mam_cc_dynamic} ${mam_libast} : def execargs
done FEATURE/execargs generated
make FEATURE/pstat implicit
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_cc_static} ${mam_libm} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libjobs} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libi} ${mam_cc_dynamic} ${mam_libdl} ${mam_libdld} ${mam_cc_static} ${mam_libintl} ${mam_cc_dynamic} ${mam_libast} : def pstat
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_cc_static} ${mam_libm} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libjobs} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libi} ${mam_cc_dynamic} ${mam_libdl} ${mam_libdld} ${mam_cc_static} ${mam_libintl} ${mam_cc_dynamic} ${mam_libast} : def pstat
done FEATURE/pstat generated
make FEATURE/time implicit
make features/time
done features/time
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_cc_static} ${mam_libm} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libjobs} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libi} ${mam_cc_dynamic} ${mam_libdl} ${mam_libdld} ${mam_cc_static} ${mam_libintl} ${mam_cc_dynamic} ${mam_libast} : run features/time
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_cc_static} ${mam_libm} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libjobs} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libi} ${mam_cc_dynamic} ${mam_libdl} ${mam_libdld} ${mam_cc_static} ${mam_libintl} ${mam_cc_dynamic} ${mam_libast} : run features/time
done FEATURE/time generated
make include/timeout.h implicit
done include/timeout.h
make FEATURE/ttys implicit
make features/ttys
done features/ttys
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_cc_static} ${mam_libm} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libjobs} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libi} ${mam_cc_dynamic} ${mam_libdl} ${mam_libdld} ${mam_cc_static} ${mam_libintl} ${mam_cc_dynamic} ${mam_libast} : run features/ttys
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_cc_static} ${mam_libm} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libjobs} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libi} ${mam_cc_dynamic} ${mam_libdl} ${mam_libdld} ${mam_cc_static} ${mam_libintl} ${mam_cc_dynamic} ${mam_libast} : run features/ttys
done FEATURE/ttys dontcare generated
make FEATURE/options implicit
make features/options.sh
make OPTIONS implicit
done OPTIONS
done features/options.sh
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_cc_static} ${mam_libm} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libjobs} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libi} ${mam_cc_dynamic} ${mam_libdl} ${mam_libdld} ${mam_cc_static} ${mam_libintl} ${mam_cc_dynamic} ${mam_libast} : run features/options.sh OPTIONS
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_cc_static} ${mam_libm} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libjobs} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libi} ${mam_cc_dynamic} ${mam_libdl} ${mam_libdld} ${mam_cc_static} ${mam_libintl} ${mam_cc_dynamic} ${mam_libast} : run features/options.sh OPTIONS
done FEATURE/options dontcare generated
done include/jobs.h
make include/io.h implicit
done include/io.h
make include/path.h implicit
make FEATURE/acct implicit
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_cc_static} ${mam_libm} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libjobs} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libi} ${mam_cc_dynamic} ${mam_libdl} ${mam_libdld} ${mam_cc_static} ${mam_libintl} ${mam_cc_dynamic} ${mam_libast} : def acct
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_cc_static} ${mam_libm} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libjobs} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libi} ${mam_cc_dynamic} ${mam_libdl} ${mam_libdld} ${mam_cc_static} ${mam_libintl} ${mam_cc_dynamic} ${mam_libast} : def acct
done FEATURE/acct dontcare generated
make FEATURE/options implicit
done FEATURE/options dontcare generated
make FEATURE/dynamic implicit
make features/dynamic
done features/dynamic
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_cc_static} ${mam_libm} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libjobs} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libi} ${mam_cc_dynamic} ${mam_libdl} ${mam_libdld} ${mam_cc_static} ${mam_libintl} ${mam_cc_dynamic} ${mam_libast} : run features/dynamic
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_cc_static} ${mam_libm} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libjobs} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libi} ${mam_cc_dynamic} ${mam_libdl} ${mam_libdld} ${mam_cc_static} ${mam_libintl} ${mam_cc_dynamic} ${mam_libast} : run features/dynamic
done FEATURE/dynamic dontcare generated
prev FEATURE/options implicit
done include/variables.h
make FEATURE/sigfeatures implicit
make features/sigfeatures
done features/sigfeatures
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_cc_static} ${mam_libm} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libjobs} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libi} ${mam_cc_dynamic} ${mam_libdl} ${mam_libdld} ${mam_cc_static} ${mam_libintl} ${mam_cc_dynamic} ${mam_libast} : run features/sigfeatures
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_cc_static} ${mam_libm} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libjobs} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libi} ${mam_cc_dynamic} ${mam_libdl} ${mam_libdld} ${mam_cc_static} ${mam_libintl} ${mam_cc_dynamic} ${mam_libast} : run features/sigfeatures
done FEATURE/sigfeatures dontcare generated
make FEATURE/setjmp implicit
make features/setjmp
done features/setjmp
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_cc_static} ${mam_libm} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libjobs} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libi} ${mam_cc_dynamic} ${mam_libdl} ${mam_libdld} ${mam_cc_static} ${mam_libintl} ${mam_cc_dynamic} ${mam_libast} : run features/setjmp
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_cc_static} ${mam_libm} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libjobs} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libi} ${mam_cc_dynamic} ${mam_libdl} ${mam_libdld} ${mam_cc_static} ${mam_libintl} ${mam_cc_dynamic} ${mam_libast} : run features/setjmp
done FEATURE/setjmp dontcare generated
done include/fault.h
prev include/history.h implicit
make FEATURE/poll implicit
make features/poll
done features/poll
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_cc_static} ${mam_libm} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libjobs} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libi} ${mam_cc_dynamic} ${mam_libdl} ${mam_libdld} ${mam_cc_static} ${mam_libintl} ${mam_cc_dynamic} ${mam_libast} : run features/poll
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_cc_static} ${mam_libm} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libjobs} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libi} ${mam_cc_dynamic} ${mam_libdl} ${mam_libdld} ${mam_cc_static} ${mam_libintl} ${mam_cc_dynamic} ${mam_libast} : run features/poll
done FEATURE/poll generated
prev FEATURE/time implicit
prev include/builtins.h implicit
make FEATURE/rlimits implicit
make features/rlimits
done features/rlimits
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_cc_static} ${mam_libm} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libjobs} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libi} ${mam_cc_dynamic} ${mam_libdl} ${mam_libdld} ${mam_cc_static} ${mam_libintl} ${mam_cc_dynamic} ${mam_libast} : run features/rlimits
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_cc_static} ${mam_libm} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libjobs} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libi} ${mam_cc_dynamic} ${mam_libdl} ${mam_libdld} ${mam_cc_static} ${mam_libintl} ${mam_cc_dynamic} ${mam_libast} : run features/rlimits
done FEATURE/rlimits dontcare generated
done include/ulimit.h
prev include/builtins.h implicit
make FEATURE/locale implicit
make features/locale
done features/locale
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_cc_static} ${mam_libm} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libjobs} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libi} ${mam_cc_dynamic} ${mam_libdl} ${mam_libdld} ${mam_cc_static} ${mam_libintl} ${mam_cc_dynamic} ${mam_libast} : run features/locale
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_cc_static} ${mam_libm} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libjobs} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libi} ${mam_cc_dynamic} ${mam_libdl} ${mam_libdld} ${mam_cc_static} ${mam_libintl} ${mam_cc_dynamic} ${mam_libast} : run features/locale
done FEATURE/locale generated
make include/streval.h implicit
done include/streval.h
make FEATURE/cmds implicit
make features/cmds
done features/cmds
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_cc_static} ${mam_libm} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libjobs} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libi} ${mam_cc_dynamic} ${mam_libdl} ${mam_libdld} ${mam_cc_static} ${mam_libintl} ${mam_cc_dynamic} ${mam_libast} : run features/cmds
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_cc_static} ${mam_libm} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libjobs} ${mam_cc_dynamic} ${mam_cc_static} ${mam_libi} ${mam_cc_dynamic} ${mam_libdl} ${mam_libdld} ${mam_cc_static} ${mam_libintl} ${mam_cc_dynamic} ${mam_libast} : run features/cmds
done FEATURE/cmds dontcare generated
prev include/name.h implicit
prev include/shtable.h implicit
make bio.c
make FEATURE/mtio implicit
setv mam_libast ${mam_cc_L+-last}${mam_cc_L-${INSTALLROOT}/lib/libast.a}
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_libast} : def mtio
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_libast} : def mtio
done FEATURE/mtio generated
make pax.h implicit
make ${INSTALLROOT}/include/ast/vdb.h implicit
make FEATURE/lib
make features/lib
done features/lib
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : run features/lib
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : run features/lib
done FEATURE/lib generated
exec - cmp -s FEATURE/lib ast_lib.h || { rm -f ast_lib.h; cp FEATURE/lib ast_lib.h; }
done ast_lib.h dontcare generated
make FEATURE/types implicit
make features/types
done features/types
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : run features/types
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : run features/types
done FEATURE/types generated
make /usr/include/sys/types.h implicit
done /usr/include/sys/types.h
done features/botch.c
-exec - iffe set cc ${CC} ${CCFLAGS} -I. ${LDFLAGS} : run features/botch.c
+exec - iffe set cc ${CC} ${ICCFLAGS} -I. ${LDFLAGS} : run features/botch.c
done FEATURE/botch generated
exec - cmp -s FEATURE/botch ast_botch.h || { rm -f ast_botch.h; cp FEATURE/botch ast_botch.h; }
done ast_botch.h dontcare generated
make FEATURE/wait implicit
make features/wait
done features/wait
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : run features/wait
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : run features/wait
done FEATURE/wait generated
done conflib.h
prev FEATURE/types implicit
make FEATURE/unistd.lcl implicit
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : def unistd.lcl
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : def unistd.lcl
done FEATURE/unistd.lcl generated
make FEATURE/limits implicit
make features/limits.c
make FEATURE/param implicit
make features/param.sh
done features/param.sh
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : run features/param.sh
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : run features/param.sh
done FEATURE/param generated
prev FEATURE/unistd.lcl implicit
make FEATURE/limits.lcl implicit
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : def limits.lcl
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : def limits.lcl
done FEATURE/limits.lcl generated
prev FEATURE/lib implicit
done features/limits.c
-exec - iffe set cc ${CC} ${CCFLAGS} -I. ${LDFLAGS} : run features/limits.c
+exec - iffe set cc ${CC} ${ICCFLAGS} -I. ${LDFLAGS} : run features/limits.c
done FEATURE/limits generated
prev FEATURE/lib implicit
done features/unistd.c
-exec - iffe set cc ${CC} ${CCFLAGS} -I. ${LDFLAGS} : run features/unistd.c
+exec - iffe set cc ${CC} ${ICCFLAGS} -I. ${LDFLAGS} : run features/unistd.c
done FEATURE/unistd generated
exec - cmp -s FEATURE/unistd ast_unistd.h || { rm -f ast_unistd.h; cp FEATURE/unistd ast_unistd.h; }
done ast_unistd.h dontcare generated
make FEATURE/tty implicit
make features/tty
done features/tty
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : run features/tty
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : run features/tty
done FEATURE/tty generated
prev FEATURE/unistd.lcl implicit
make FEATURE/fcntl.lcl implicit
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : def fcntl.lcl
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : def fcntl.lcl
done FEATURE/fcntl.lcl generated
prev ast_lib.h implicit
make /usr/include/sys/stat.h implicit
done /usr/include/sys/stat.h
done features/fcntl.c
-exec - iffe set cc ${CC} ${CCFLAGS} -I. ${LDFLAGS} : run features/fcntl.c
+exec - iffe set cc ${CC} ${ICCFLAGS} -I. ${LDFLAGS} : run features/fcntl.c
make ast_fs.h implicit
make FEATURE/fs
make features/fs
done features/fs
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : run features/fs
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : run features/fs
done FEATURE/fs generated
exec - cmp -s FEATURE/fs ast_fs.h || { rm -f ast_fs.h; cp FEATURE/fs ast_fs.h; }
done ast_fs.h dontcare generated
make FEATURE/hdr
make features/hdr
done features/hdr
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : run features/hdr
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : run features/hdr
done FEATURE/hdr generated
exec - cmp -s FEATURE/hdr ast_hdr.h || { rm -f ast_hdr.h; cp FEATURE/hdr ast_hdr.h; }
done ast_hdr.h dontcare generated
prev FEATURE/param implicit
prev FEATURE/limits.lcl implicit
done features/mode.c
-exec - iffe set cc ${CC} ${CCFLAGS} -I. -Iinclude ${LDFLAGS} : run features/mode.c
+exec - iffe set cc ${CC} ${ICCFLAGS} -I. -Iinclude ${LDFLAGS} : run features/mode.c
done FEATURE/mode generated
exec - cmp -s FEATURE/mode ast_mode.h || { rm -f ast_mode.h; cp FEATURE/mode ast_mode.h; }
done ast_mode.h dontcare generated
make FEATURE/time
make features/time
done features/time
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : run features/time
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : run features/time
done FEATURE/time generated
exec - cmp -s FEATURE/time ast_time.h || { rm -f ast_time.h; cp FEATURE/time ast_time.h; }
done ast_time.h dontcare generated
make FEATURE/preroot
make features/preroot.sh
done features/preroot.sh
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : run features/preroot.sh
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : run features/preroot.sh
done FEATURE/preroot generated
exec - cmp -s FEATURE/preroot preroot.h || { rm -f preroot.h; cp FEATURE/preroot preroot.h; }
done preroot.h generated
make FEATURE/align
make features/align.c
done features/align.c
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : run features/align.c
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : run features/align.c
done FEATURE/align generated
exec - cmp -s FEATURE/align align.h || { rm -f align.h; cp FEATURE/align align.h; }
done align.h dontcare generated
make features/int.c
prev FEATURE/types implicit
done features/int.c
-exec - iffe set cc ${CC} ${CCFLAGS} -I. ${LDFLAGS} : run features/int.c
+exec - iffe set cc ${CC} ${ICCFLAGS} -I. ${LDFLAGS} : run features/int.c
done FEATURE/int generated
exec - cmp -s FEATURE/int int.h || { rm -f int.h; cp FEATURE/int int.h; }
done int.h dontcare generated
make FEATURE/sig
make features/sig.sh
done features/sig.sh
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : run features/sig.sh
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : run features/sig.sh
done FEATURE/sig generated
exec - cmp -s FEATURE/sig sig.h || { rm -f sig.h; cp FEATURE/sig sig.h; }
done sig.h generated
make /usr/include/signal.h implicit
done /usr/include/signal.h
done features/signal.c
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : run features/signal.c
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : run features/signal.c
done FEATURE/signal generated
prev sig.h implicit
prev include/ast.h implicit
make FEATURE/vmalloc implicit
make features/vmalloc
done features/vmalloc
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : run features/vmalloc
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : run features/vmalloc
done FEATURE/vmalloc dontcare generated
prev ast_lib.h implicit
done vmalloc/malloc.c
make FEATURE/sfio implicit
make features/sfio
done features/sfio
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : run features/sfio
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : run features/sfio
done FEATURE/sfio dontcare generated
done sfio/sfhdr.h
done sfio/sfclose.c
tst real_vfork exec{
int code;
extern int vfork();
+ extern int _exit(int);
main()
{
code = 1;
if (!vfork()) code = 0;
- return code;
+ _exit(code);
}
}end
tst real_vfork note{ vfork child shares data with parent }end execute{
_BEGIN_EXTERNS_
extern int vfork();
+ extern int _exit(int);
_END_EXTERNS_
int code;
main()
{
code = 1;
if (!vfork()) code = 0;
- return code;
+ _exit(code);
}
}end
#endif
#endif /* __cplusplus */
+#if defined(sun)
+#define _FILEDEFED /**/
+#endif
+
typedef struct _sfio_ Sfile_t, Sfio_t, SFIO;
typedef struct _sfdc_ Sfdisc_t;
typedef int (*Sfread_f)_ARG_((Sfio_t*, Void_t*, int, Sfdisc_t*));
GETARG(form,form,argf,args,char*,char*,'1',t_user,n_user);
if(!form)
form = "";
-#if (defined(CSRG_BASED) && !defined(__LP64__)) || (defined(linux) && !defined(__LP64__))
+#if (defined(CSRG_BASED) && !defined(__LP64__)) || \
+ (defined(linux) && !defined(__LP64__)) || defined(sun)
GETARG(argsp,argsp,argf,args,va_list*,va_list*,'2',t_user,n_user);
memcpy((Void_t*)(&(fa->args)), (Void_t*)(&args), sizeof(va_list));
memcpy((Void_t*)(&args), (Void_t*)argsp, sizeof(va_list));
exec - rm -f 1.${COTEMP}.*
done cmd.req generated
setv mam_libast ${mam_cc_L+-last}${mam_cc_L-${INSTALLROOT}/lib/libast.a}
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_libast} : run features/symlink
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_libast} : run features/symlink
done FEATURE/symlink generated
prev ${INSTALLROOT}/include/ast/ftwalk.h implicit
make /usr/include/ctype.h implicit
make features/ids
done features/ids
prev cmd.req
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_libast} : run features/ids
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_libast} : run features/ids
done FEATURE/ids generated
prev cmdlib.h implicit
done id.c
make features/utsname
done features/utsname
prev cmd.req
-exec - iffe set cc ${CC} ${CCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_libast} : run features/utsname
+exec - iffe set cc ${CC} ${ICCFLAGS} ${LDFLAGS} : ref ${mam_cc_L+-L${INSTALLROOT}/lib} ${mam_libast} : run features/utsname
done FEATURE/utsname generated
prev cmdlib.h implicit
done uname.c
nl_catd nlmsg_fd = (nl_catd)-1;
char * errmsg;
#if defined(SVR4) || defined (_AIX) || defined(sco) || defined(DEC) || \
- defined(CSRG_BASED) || defined(linux)
+ defined(CSRG_BASED) || defined(linux) || defined(sun)
char * nextMatch;
#endif
altCatName = XtMalloc(strlen(catName) + 10);
#if defined(SVR4) || defined (_AIX) || defined(sco) || defined(DEC) || \
- defined(CSRG_BASED) || defined(linux)
+ defined(CSRG_BASED) || defined(linux) || defined(sun)
/* These platforms don't have strrstr() */
ptr = NULL;
nextMatch = catName;
* on Solaris 2.4 and run on Solaris 2.5. In Solaris 2.4 some of
* libcmd.a functions are also in libauth.so. But on Solaris 2.5
* these Sun private functions have been removed from libauth.so. */
-SYS_LIBRARIES = -lm -ldl -lgen -lresolv -lC -lbsm -lcmd $(PAM_LIB)
+SYS_LIBRARIES = -lm -ldl -lgen -lresolv -lbsm -lcmd $(PAM_LIB)
EXTRA_DEFINES = -DPAM
-DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\"
+ DEPEND_DEFINES = $(DEPENDDEFINES)
#if defined (HPArchitecture)
DEFINES = $(DTDEFINES) -D_XPG2 -DAUDIT -DBYPASSLOGIN ServerExtraDefines
#elif defined (RsArchitecture)
#elif defined (_AIX)
:0 Local local@console /usr/bin/X11/X -T -force :0
#elif defined (sun)
- :0 Local local_uid@console root /usr/openwin/bin/Xsun :0 -nobanner
+ :0 Local local_uid@console root /usr/openwin/bin/X :0 -nobanner
#elif defined (__osf__)
#if defined (_NO_CONSOLE)
XCOMM * Local local_uid@console root /usr/bin/X11/X :0 -nice -2
# include <time.h>
# include <utime.h>
# include <pwd.h>
-#if defined(linux) || defined(__FreeBSD__) || defined(__NetBSD__)
+#if defined(linux) || defined(__FreeBSD__) || defined(__NetBSD__) || \
+ defined(sun)
# include <stdarg.h>
#else
# include <varargs.h>
* the OS's random number device.
*/
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#define READ_LIMIT (sizeof (long) * 2)
static sumFile (char *name, long sum[2])
#if defined(linux)
/* non-blocking */
char *key_file = "/dev/urandom";
-#elif defined(CSRG_BASED)
+#elif defined(CSRG_BASED) || defined(sun)
/* non-blocking */
char *key_file = "/dev/random";
#else
audit_login_maxtrys();
}
}
-#endif sun
+#endif
if (status != PAM_SUCCESS) {
sleep(PAM_LOGIN_SLEEPTIME);
status = solaris_setutmp_mgmt(user, tty_line, display_name,
session_type, entry_type, entry_id);
if (status != SOLARIS_SUCCESS) {
- Debug("PamAccounting: LOGIN_PRCESS set_utmp error=%d\n",
+ Debug("PamAccounting: LOGIN_PROCESS set_utmp error=%d\n",
status);
}
break;
extern int audit_login_save_pw(struct passwd *pwd);
extern int audit_login_bad_pw(void);
extern int audit_login_maxtrys(void);
-#endif sun
+#endif /* sun */
#endif /* _DTLOGIN_PAM_SVC_H */
env = setEnv (env, "USER", user);
#ifdef sun
- if ((Def_path = login_defaults(p,d)) != NULL)
+ if ((Def_path = login_defaults(p,d)) != NULL) {
env = setEnv (env, "PATH", Def_path);
+ free(Def_path);
+ }
#else
if (d->userPath && strlen(d->userPath) > 0)
env = setEnv (env, "PATH", d->userPath);
register int flags;
register char *ptr;
char *Def_path;
- char final_path[MAXPATHLEN];
+ char *final_path = malloc(MAXPATHLEN);
char *element;
if ((Def_path = defread("SUPATH=")) != NULL)
Def_path = strdup(Def_path);
else
- Def_path = DEF_SUPATH;
+ Def_path = strdup(DEF_SUPATH);
}
else {
if ((Def_path = defread("PATH=")) != NULL)
Def_path = strdup(Def_path);
else
- Def_path = DEF_PATH;
+ Def_path = strdup(DEF_PATH);
}
}
#define LibHeaders NO
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
+DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
#include <Threads.tmpl>
#include <assert.h>
#if !defined(linux) && !defined(CSRG_BASED)
-extern forceUpdate( Widget );
+extern void forceUpdate( Widget );
#endif
InterruptibleCmd::InterruptibleCmd ( char *name, char *label, int active ) :
XCOMM $TOG: Imakefile /main/25 1998/02/17 15:18:16 mgreess $
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
+DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
EXTRA_LOAD_FLAGS = ExtraLoadFlags $(UNSHARED_CXXLIB)
INCLUDES = -I. -I../include -I../include/MotifApp \
XCOMM $TOG: Imakefile /main/15 1998/08/05 13:24:40 mgreess $
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
+DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
EXTRA_LOAD_FLAGS = ExtraLoadFlags $(UNSHARED_CXXLIB)
INCLUDES = -I. -I../include -I../../dtcompat -I../../../. -I$(CDELIBSRC)
EXTRA_C++OPTIONS = +p +w $(SPRO_V3_OPTIONS)
MT_LIBS = -i $(C++_LIB) -lm -lw -lc
-SYS_LIBRARIES = -lintl -lnsl $(MT_LIBS) -lC
+SYS_LIBRARIES = -lintl -lnsl $(MT_LIBS)
#endif /* SunArchitecture */
SRCS = main.C message.C mailbox.C utils.C
#include <stdio.h>
#include <stdarg.h>
+#if defined(sun)
+#include <iconv.h>
+#endif
#include <sys/stat.h>
/*#include <nl_types.h>*/
#include <DtMail/DtMailError.hh>
void * _cb_data;
void * _obj_mutex;
};
-
+
private:
friend class MailBox;
DTMailError_t minor_code);
};
+#if defined(sun)
+template <typename T>
+size_t iconv (iconv_t i, const T inbuf, size_t* inleft,
+ char** outbuf, size_t* outleft)
+{
+ return iconv(i, const_cast<T>(inbuf), inleft, outbuf, outleft);
+};
+#endif
+
#endif
#define LibCreate NO
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
+DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
#include <Threads.tmpl>
#define LibCreate NO
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
+DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
#include <Threads.tmpl>
for (int m = 0; m < me; m++) {
MapRegion *map_t = _mappings[m];
-#if !defined(USL) && !defined(__uxp__) && !defined(linux)
+#if !defined(USL) && !defined(__uxp__) && !defined(linux) && !defined(sun)
// no madvise on these systems
if (map_t == map || map == (MapRegion *)-1)
madvise(map_t->map_region, (size_t) map_t->map_size, advice);
//
unsigned long pagelimit = _mappings[map_slot]->map_size;
-#if !defined(USL) && !defined(__uxp__) && !defined(linux)
+#if !defined(USL) && !defined(__uxp__) && !defined(linux) && !defined(sun)
// no madvise; dont use optimization
madvise(
(char *)_mappings[map_slot]->map_region,
// At this point we most likely will see random behavior. We will
// tell the kernel to pull in the minimum number of extra pages.
//
-#if !defined(USL) && !defined(__uxp__) && !defined(linux)
+#if !defined(USL) && !defined(__uxp__) && !defined(linux) && !defined(sun)
// no madvise; dont use optimization
madvise(
(char *)_mappings[map_slot]->map_region,
XCOMM $XConsortium: Imakefile /main/11 1996/09/14 15:16:29 drk $
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = -DDT_LITE -DWORDWRAP -UNLS16
DEPLIBS = DepDtClientLibs
* USE_libraryname in LOCAL_LIBRARIES is by default empty.
* It should be set when necessary to the real library macro name.
*/
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" -DI18N_MSG
INCLUDES = -I.
#endif
#if defined (SunArchitecture)
-SYS_LIBRARIES = -lintl -lm -lgen -ldl -lC
+SYS_LIBRARIES = -lintl -lm -lgen -ldl
#endif
PROGRAMS = dtpdm
#define LibInstall NO
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
+DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
INCLUDES = -I. -I..
XCOMM $TOG: Imakefile /main/14 1998/08/05 13:21:24 mgreess $
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
+DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
EXTRA_LOAD_FLAGS = ExtraLoadFlags $(UNSHARED_CXXLIB)
INCLUDES = -I. -I../libCliSrv
#include "Options.h"
#include <stdlib.h>
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <iostream>
#else
#include <iostream.h>
#include "dtappgather.h"
#include "DirIterator.h"
#include <stdlib.h>
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <iostream>
#else
#include <iostream.h>
XCOMM $TOG: Imakefile /main/15 1998/08/05 13:21:49 mgreess $
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
+DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
EXTRA_LOAD_FLAGS = ExtraLoadFlags $(UNSHARED_CXXLIB)
INCLUDES = -I. -I../libCliSrv
}
}
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
std::ostream & operator<<
(
std::ostream & os,
)
#endif
{
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
os << sp.GetEnvVar() << std::endl;
#else
os << sp.GetEnvVar() << endl;
#include "Options.h"
#include <stdlib.h>
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <iostream>
#else
#include <iostream.h>
*
****************************************************************/
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
void SearchPath::PrettyPrint
(
std::ostream & os
CTokenizedString path (GetSearchPath(), Separator().data());
CString subpath = path.next();
while (!subpath.isNull()) {
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
os << " " << subpath << std::endl;
#else
os << " " << subpath << endl;
#endif
subpath = path.next();
}
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
os << std::endl;
#else
os << endl;
*
****************************************************************/
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
std::ostream & operator<<
(
std::ostream & os,
)
#endif
{
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
os << sp.GetEnvVar() << "SEARCHPATH:" << std::endl;
#else
os << sp.GetEnvVar() << "SEARCHPATH:" << endl;
#include "Environ.h"
#include "cstring.h"
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <iostream>
#else
#include <iostream.h>
virtual void Print();
virtual void AddPredefinedPath();
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
virtual void PrettyPrint (std::ostream &) const;
friend std::ostream & operator<< (std::ostream &, const SearchPath &);
virtual void ExportPath ();
virtual void Print();
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
friend std::ostream & operator<< (std::ostream &, const ManSearchPath &);
#else
friend ostream & operator<< (ostream &, const ManSearchPath &);
#define LibInstall NO
#define CplusplusSource YES
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
+DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
INCLUDES = -I.
#ifdef SunArchitecture
SYS_LIBRARIES = -ldl -lintl
-LAST_LOAD_FLAGS = -Bstatic -lC -Bdynamic -lm -lc -ladm -Bstatic
+LAST_LOAD_FLAGS = -Bstatic -Bdynamic -lm -lc -ladm -Bstatic
EXTRA_DEFINES = -DIOSTREAMSWORKS
#endif
return *this;
}
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
std::ostream & operator<<
(
std::ostream & os,
#endif
{
if (file.ttFileOpFailed())
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
return os << "Error in filename mapping; status = "
<< file.getStatus() << std::endl;
#else
<< file.getStatus() << endl;
#endif
else
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
return os << file.data() << std::endl;
#else
return os << file.data() << endl;
};
#else
void TT_Exception (char *);
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
friend std::ostream & operator<< (std::ostream &, TTFile &);
#else
friend ostream & operator<< (ostream &, TTFile &);
#endif
#include <stdlib.h>
#include <string.h>
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <iostream>
#else
#include <iostream.h>
}
}
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
std::ostream & operator<<
(
std::ostream & os,
#ifndef _CSTRING_H_
#define _CSTRING_H_
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <iostream>
#else
#include <iostream.h>
int isNull() const;
void replace (const CString &, const CString &);
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
friend std::ostream & operator<< (std::ostream &, const CString &);
#else
friend ostream & operator<< (ostream &, const CString &);
XCOMM $TOG: Imakefile /main/22 1998/04/06 13:33:41 mgreess $
- DEFINES = -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
- -DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\"
+DEPEND_DEFINES = $(DEPENDDEFINES)
+DEFINES = -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
+ -DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\"
#if defined(SunArchitecture)
DEPLIBS = $(DEPDTWIDGETLIB) $(DEPDTSVCLIB) $(DEPTTLIB) \
XCOMM $XConsortium: Imakefile /main/8 1996/09/14 15:25:06 drk $
- DEFINES = -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
- -DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\"
-
- INCLUDES = -I. -I$(DTHELPSRC)/..
+DEPEND_DEFINES = $(DEPENDDEFINES)
+DEFINES = -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
+ -DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\"
+INCLUDES = -I. -I$(DTHELPSRC)/..
DEPLIBS = DepDtClientLibs
LOCAL_LIBRARIES = DtClientLibs
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = $(ARCHITECTURE_DEFINES) -DSUN_TERMINAL_SERVER
#ifdef Build_HpVue
OPT2 = -DFONTC='"'$(BINDIR)/bdftopcf'"'
#endif
+ DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = $(FALOPT1) $(FALOPT2) $(OPT2) $(FALOPT3)
UDC_INC_PATH1 = -I./include
DTWMDEFINES = -DWSM -DPANELIST
+DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = $(MWMDEFINES) $(DTWMDEFINES) -DMULTIBYTE -DMINIMAL_DT
DEPLIBS = DepDtClientLibs
EXTRA_DEFINES = -D_HPUX_SOURCE
#endif /* HPArchitecture */
-#if defined (SunArchitecture)
-/* The OpenWindows AllPlanes extension is not in vanilla X11R6. */
-EXTRA_CCOPTIONS = -xF
-dtwm := LOCAL_LDFLAGS = -M mapfile.reorder
-#endif
-
SRCSXM = \
WmCDInfo.c WmCDecor.c WmCEvent.c \
WmCPlace.c WmColormap.c WmError.c \
#ifdef WSM
-#if (defined(USL) || defined(__uxp__) || defined(linux) || defined(CSRG_BASED)) && !defined(_NFILE)
+#if (defined(USL) || defined(__uxp__) || defined(linux) || \
+ defined(sun) || defined(CSRG_BASED)) && !defined(_NFILE)
#define _NFILE FOPEN_MAX
#endif
#define CLOSE_FILES_ON_EXEC() \
if (!fHit)
{
+#if defined(sun)
+ cval = KEYBOARD_FOCUS_POINTER;
+#else
cval = KEYBOARD_FOCUS_EXPLICIT;
+#endif
}
sizeof (int),
XtOffsetOf(WmGlobalData, keyboardFocusPolicy),
XtRImmediate,
+#if defined(sun)
+ (XtPointer)KEYBOARD_FOCUS_POINTER
+#else
(XtPointer)KEYBOARD_FOCUS_EXPLICIT
+#endif
},
{
"-dt-application-medium-r-normal-serif-14-140-75-75-p-74-iso8859-1" "-adobe-times-medium-r-normal--14-140-75-75-p-74-iso8859-1"
"-dt-application-medium-r-normal-serif-18-180-75-75-p-94-iso8859-1" "-adobe-times-medium-r-normal--18-180-75-75-p-94-iso8859-1"
"-dt-application-medium-r-normal-serif-24-240-75-75-p-124-iso8859-1" "-adobe-times-medium-r-normal--24-240-75-75-p-124-iso8859-1"
-"-dt-interface system-medium-r-normal-xxs sans-10-100-72-72-p-59-iso8859-1" "-b&h-lucida sans-medium-r-normal-sans-10-100-72-72-p-59-iso8859-1"
-"-dt-interface system-medium-r-normal-xs sans-12-120-72-72-p-71-iso8859-1" "-b&h-lucida sans-medium-r-normal-sans-12-120-72-72-p-71-iso8859-1"
-"-dt-interface system-medium-r-normal-s sans-14-140-72-72-p-82-iso8859-1" "-b&h-lucida sans-medium-r-normal-sans-14-140-72-72-p-82-iso8859-1"
-"-dt-interface system-medium-r-normal-m sans-17-170-72-72-p-97-iso8859-1" "-b&h-lucida sans-medium-r-normal-sans-17-170-72-72-p-97-iso8859-1"
-"-dt-interface system-medium-r-normal-l sans-18-180-72-72-p-106-iso8859-1" "-b&h-lucida sans-medium-r-normal-sans-18-180-72-72-p-106-iso8859-1"
-"-dt-interface system-medium-r-normal-xl sans-20-200-72-72-p-114-iso8859-1" "-b&h-lucida sans-medium-r-normal-sans-20-200-72-72-p-114-iso8859-1"
-"-dt-interface system-medium-r-normal-xxl sans-24-240-72-72-p-137-iso8859-1" "-b&h-lucida sans-medium-r-normal-sans-24-240-72-72-p-137-iso8859-1"
-"-dt-interface user-bold-r-normal-xxs sans-8-80-72-72-m-50-iso8859-1" "-b&h-lucida sans typewriter-bold-r-normal-sans-8-80-72-72-m-50-iso8859-1"
-"-dt-interface user-bold-r-normal-xs sans-10-100-72-72-m-60-iso8859-1" "-b&h-lucida sans typewriter-bold-r-normal-sans-10-100-72-72-m-60-iso8859-1"
-"-dt-interface user-bold-r-normal-s sans-12-120-72-72-m-70-iso8859-1" "-b&h-lucida sans typewriter-bold-r-normal-sans-12-120-72-72-m-70-iso8859-1"
-"-dt-interface user-bold-r-normal-m sans-14-140-72-72-m-90-iso8859-1" "-b&h-lucida sans typewriter-bold-r-normal-sans-14-140-72-72-m-90-iso8859-1"
-"-dt-interface user-bold-r-normal-l sans-17-170-72-72-m-100-iso8859-1" "-b&h-lucida sans typewriter-bold-r-normal-sans-17-170-72-72-m-100-iso8859-1"
-"-dt-interface user-bold-r-normal-xl sans-20-200-72-72-m-120-iso8859-1" "-b&h-lucida sans typewriter-bold-r-normal-sans-20-200-72-72-m-120-iso8859-1"
-"-dt-interface user-bold-r-normal-xxl sans-24-240-72-72-m-145-iso8859-1" "-b&h-lucida sans typewriter-bold-r-normal-sans-24-240-72-72-m-145-iso8859-1"
-"-dt-interface user-medium-r-normal-xxs sans-8-80-72-72-m-50-iso8859-1" "-b&h-lucida sans typewriter-medium-r-normal-sans-8-80-72-72-m-50-iso8859-1"
-"-dt-interface user-medium-r-normal-xs sans-10-100-72-72-m-60-iso8859-1" "-b&h-lucida sans typewriter-medium-r-normal-sans-10-100-72-72-m-60-iso8859-1"
-"-dt-interface user-medium-r-normal-s sans-12-120-72-72-m-70-iso8859-1" "-b&h-lucida sans typewriter-medium-r-normal-sans-12-120-72-72-m-70-iso8859-1"
-"-dt-interface user-medium-r-normal-m sans-14-140-72-72-m-90-iso8859-1" "-b&h-lucida sans typewriter-medium-r-normal-sans-14-140-72-72-m-90-iso8859-1"
-"-dt-interface user-medium-r-normal-l sans-17-170-72-72-m-100-iso8859-1" "-b&h-lucida sans typewriter-medium-r-normal-sans-17-170-72-72-m-100-iso8859-1"
-"-dt-interface user-medium-r-normal-xl sans-20-200-72-72-m-120-iso8859-1" "-b&h-lucida sans typewriter-medium-r-normal-sans-20-200-72-72-m-120-iso8859-1"
-"-dt-interface user-medium-r-normal-xxl sans-24-240-72-72-m-145-iso8859-1" "-b&h-lucida sans typewriter-medium-r-normal-sans-24-240-72-72-m-145-iso8859-1"
+"-dt-interface system-medium-r-normal-xxs sans-10-100-72-72-p-61-iso8859-1" "-adobe-helvetica-medium-r-normal--10-*-75-75-p-56-iso8859-1"
+"-dt-interface system-medium-r-normal-xs sans-11-110-72-72-p-64-iso8859-1" "-adobe-helvetica-medium-r-normal--11-80-100-100-p-56-iso8859-1"
+"-dt-interface system-medium-r-normal-s sans-12-120-72-72-p-73-iso8859-1" "-adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1"
+"-dt-interface system-medium-r-normal-m sans-13-130-72-72-p-87-iso8859-1" "-adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso8859-1"
+"-dt-interface system-medium-r-normal-l sans-15-150-72-72-p-100-iso8859-1" "-adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso8859-1"
+"-dt-interface system-medium-r-normal-xl sans-18-180-72-72-p-114-iso8859-1" "-adobe-helvetica-medium-r-normal--18-180-75-75-p-98-iso8859-1"
+"-dt-interface system-medium-r-normal-xxl sans-21-210-72-72-p-123-iso8859-1" "-adobe-helvetica-medium-r-normal--20-140-100-100-p-100-iso8859-1"
+"-dt-interface user-bold-r-normal-xxs sans-8-80-72-72-m-50-iso8859-1" "-b&h-lucidatypewriter-bold-r-normal-sans-8-80-72-72-m-50-iso8859-1"
+"-dt-interface user-bold-r-normal-xs sans-10-100-72-72-m-60-iso8859-1" "-b&h-lucidatypewriter-bold-r-normal-sans-10-100-72-72-m-60-iso8859-1"
+"-dt-interface user-bold-r-normal-s sans-12-120-72-72-m-70-iso8859-1" "-b&h-lucidatypewriter-bold-r-normal-sans-12-120-72-72-m-70-iso8859-1"
+"-dt-interface user-bold-r-normal-m sans-14-140-72-72-m-90-iso8859-1" "-b&h-lucidatypewriter-bold-r-normal-sans-14-140-72-72-m-90-iso8859-1"
+"-dt-interface user-bold-r-normal-l sans-17-170-72-72-m-100-iso8859-1" "-b&h-lucidatypewriter-bold-r-normal-sans-17-170-72-72-m-100-iso8859-1"
+"-dt-interface user-bold-r-normal-xl sans-20-200-72-72-m-120-iso8859-1" "-b&h-lucidatypewriter-bold-r-normal-sans-20-200-72-72-m-120-iso8859-1"
+"-dt-interface user-bold-r-normal-xxl sans-24-240-72-72-m-145-iso8859-1" "-b&h-lucidatypewriter-bold-r-normal-sans-24-240-72-72-m-145-iso8859-1"
+"-dt-interface user-medium-r-normal-xxs sans-8-80-72-72-m-50-iso8859-1" "-b&h-lucidatypewriter-medium-r-normal-sans-8-80-72-72-m-50-iso8859-1"
+"-dt-interface user-medium-r-normal-xs sans-10-100-72-72-m-60-iso8859-1" "-b&h-lucidatypewriter-medium-r-normal-sans-10-100-72-72-m-60-iso8859-1"
+"-dt-interface user-medium-r-normal-s sans-12-120-72-72-m-70-iso8859-1" "-b&h-lucidatypewriter-medium-r-normal-sans-12-120-72-72-m-70-iso8859-1"
+"-dt-interface user-medium-r-normal-m sans-14-140-72-72-m-90-iso8859-1" "-b&h-lucidatypewriter-medium-r-normal-sans-14-140-72-72-m-90-iso8859-1"
+"-dt-interface user-medium-r-normal-l sans-17-170-72-72-m-100-iso8859-1" "-b&h-lucidatypewriter-medium-r-normal-sans-17-170-72-72-m-100-iso8859-1"
+"-dt-interface user-medium-r-normal-xl sans-20-200-72-72-m-120-iso8859-1" "-b&h-lucidatypewriter-medium-r-normal-sans-20-200-72-72-m-120-iso8859-1"
+"-dt-interface user-medium-r-normal-xxl sans-24-240-72-72-m-145-iso8859-1" "-b&h-lucidatypewriter-medium-r-normal-sans-24-240-72-72-m-145-iso8859-1"
$ action is not a folder. Don't translate %(File)Arg_1%, it will be
$ the bad file name when the message is shown to the user.
$
-10040 ERROR: '%(File)Arg_1%' is not a folder.
+10040 ERROR: \\\"%(File)Arg_1%\\\" is not a folder.
$
$ Messsages 10041 and 10042 are status messages for the user. These are
$ shown to the user when the Tar action is creating the tarball.
$ the bad file name when the message is shown to the user.
$
-10040 "FEHLER: '%(File)Arg_1%' ist kein Ordner."
+10040 "FEHLER: \\\"%(File)Arg_1%\\\" ist kein Ordner."
$
$ Messsages 10041 and 10042 are status messages for the user. These are
$ shown to the user when the Tar action is creating the tarball.
$ the bad file name when the message is shown to the user.
$
-10040 "ERROR: '%(File)Arg_1%' no es una carpeta."
+10040 "ERROR: \\\"%(File)Arg_1%\\\" no es una carpeta."
$
$ Messsages 10041 and 10042 are status messages for the user. These are
$ shown to the user when the Tar action is creating the tarball.
$ the bad file name when the message is shown to the user.
$
-10040 "ERREUR: '%(File)Arg_1%' n'est pas un dossier."
+10040 "ERREUR: \\\"%(File)Arg_1%\\\" n'est pas un dossier."
$
$ Messsages 10041 and 10042 are status messages for the user. These are
$ shown to the user when the Tar action is creating the tarball.
#include "ConsoleOutput.h"
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <iostream>
#include <fstream>
using namespace std;
return 0;
return file.attach(fd) != 0;
#else
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
return file.open(filename, ios::out|ios::trunc) != 0;
#else
return file.open(filename, ios::out|ios::trunc|IOS_BINARY) != 0;
#include <stddef.h>
#endif
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <fstream>
using namespace std;
#else
#ifdef SP_SHORT_HEADERS
#include <strstrea.h>
#else
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <strstream>
#else
#include <strstream.h>
encoder->output(copy.data(), copy.size(), &stream);
delete encoder;
char *s = stream.str();
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
String<char> result(s, stream.pcount());
#else
String<char> result(s, stream.out_waiting());
#include <stddef.h>
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <streambuf>
using namespace std;
#else
#ifdef SP_MULTI_BYTE
#include "EUCJPCodingSystem.h"
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <iostream>
#else
#include <iostream.h>
#include "Fixed2CodingSystem.h"
#include "macros.h"
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <iostream>
#else
#include <iostream.h>
#include "splib.h"
#include "IdentityCodingSystem.h"
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <iostream>
#else
#include <iostream.h>
XCOMM $TOG: Imakefile /main/13 1998/04/06 13:38:18 mgreess $
-DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
+DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
#include <Library.tmpl>
#include "OutputCharStream.h"
#include "CodingSystem.h"
#include "macros.h"
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <iostream>
#else
#include <iostream.h>
encoder_->output(buf_, ptr_ - buf_, byteStream_);
ptr_ = buf_;
}
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
byteStream_->pubsync();
#else
byteStream_->sync();
#include "Owner.h"
#include "CodingSystem.h"
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <streambuf>
using namespace std;
#else
#include "SJISCodingSystem.h"
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <iostream>
#else
#include <iostream.h>
#include "UTF8CodingSystem.h"
#include "constant.h"
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <iostream>
#else
#include <iostream.h>
void *memmove(void *, const void *, size_t);
}
#endif
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <iostream>
#else
#include <iostream.h>
#define SP_INCLUDE_UNISTD_H
#define SP_POSIX_FILENAMES
-#ifdef __GNUG__
+#if defined(__GNUG__) || defined(__SunOS)
// It's not missing, but it pulls in libg++
-#if !defined(linux) && !defined(CSRG_BASED)
+#if !defined(linux) && !defined(CSRG_BASED) && !defined(sun)
#define SP_NEW_H_MISSING
// set_new_handler() has to be declared extern "C"
#define SP_SET_NEW_HANDLER_EXTERN_C
#include "sptchar.h"
#include "macros.h"
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <iostream>
#include <fstream>
#else
const AppChar *filename,
const StringC &filenameStr,
const OutputCodingSystem *,
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
::Messenger *messenger);
#else
Messenger *messenger);
void truncateOutput();
void allLinkTypesActivated();
private:
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
::Messenger *messenger_;
#else
Messenger *messenger_;
const AppChar *filename,
const StringC &filenameStr,
const OutputCodingSystem *codingSystem,
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
::Messenger *messenger)
#else
::Messenger *messenger)
#else /* not SP_NEW_H_MISSING */
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <new>
#else
#include <new.h>
#include <fcntl.h>
#include <unistd.h>
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <strstream>
#else
#include <strstream.h>
*** Add include files, types, macros, externs, and user functions here.
***/
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <fstream>
#include <strstream>
#else
#include <sys/wait.h>
#include <Xm/TextF.h>
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <fstream>
#include <strstream>
#else
*** Add include files, types, macros, externs, and user functions here.
***/
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <strstream>
#else
#include <strstream.h>
*** Add include files, types, macros, externs, and user functions here.
***/
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <strstream>
#else
#include <strstream.h>
#include <Xm/TextF.h>
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <fstream>
#include <strstream>
#else
#include <Xm/TextF.h>
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <fstream>
#else
#include <fstream.h>
#include <stdio.h>
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <strstream>
#else
#include <strstream.h>
#ifndef TT_CXX_H
#define TT_CXX_H
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <iostream>
using namespace std;
#else
#include <sys/stat.h>
#include <time.h>
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <iostream>
#include <strstream>
#include <fstream>
#include <unistd.h>
-#if defined(linux) || defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <fstream>
#include <strstream>
#else
POSITION_HINTS 2
ICON FpCM
LABEL %|nls-18002-#Calendar#|
- DATE_FORMAT %|nls-18022-#%b%n%e#|
+ DATE_FORMAT %b%n%e
PUSH_ACTION Dtcm
PUSH_RECALL True
DROP_ACTION DtcmInsert