Remove from individual Imakefiles.
Also, remove '#if 0' block in linux.cf, and remove empty
LinuxMachineDefines. This should be working correctly. If not, let me
know.
#define LdCmd ld -m elf_i386
#else
#define CcCmd gcc
-#define CplusplusCmd g++
+#define CplusplusCmd g++
#define AsCmd as
#define LdCmd ld
#endif
#endif
#endif
-#define LinuxMachineDefines
+XCOMM This is needed for CDE currently
+#define CplusplusStandardDefines StandardDefines -fpermissive
-#if 0
#ifdef i386Architecture
#define OptimizedCDebugFlags DefaultGcc2i386Opt
#define LinuxMachineDefines -D__i386__
#define ServerOSDefines XFree86ServerOSDefines -DDDXTIME -DPART_NET
#define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines
#endif /* Mc68020Architecture */
-#endif /* 0 */
#define StandardDefines -Dlinux LinuxMachineDefines LinuxSourceDefines
CXXEXTRA_DEFINES = -qlanglvl=compat
#endif
-#if defined(LinuxArchitecture)
-CXXEXTRA_DEFINES = -fpermissive
-#endif
-
SRCS = buf.C filegen.C mbschr.C \
pathcollapse.C shellscan.C strend.C \
strhash.C stringio.C strtokx.C \
EXTRA_LIBRARIES = TtClientExtraLibs
#endif
-#if defined(LinuxArchitecture)
-CXXEXTRA_DEFINES = -fpermissive
-#endif
-
SRCS = binkey.C binkey_utils.C common.C \
options.C options_tt.C prop.C \
prop_utils.C spec.C spec_repair.C \
EXTRA_LIBRARIES = TtClientExtraLibs
#endif
-#if defined(LinuxArchitecture)
-CXXEXTRA_DEFINES = -fpermissive
-#endif
-
SRCS = mp_type_comp.C mp_types_table.C \
frozen.mp_types_lex.C frozen.mp_types_gram.C
EXTRA_LIBRARIES = TtClientExtraLibs
#endif
-#if defined(LinuxArchitecture)
-CXXEXTRA_DEFINES = -fpermissive
-#endif
-
SRCS = \
db_server_functions.C \
db_server_svc.C \
EXTRA_LIBRARIES = TtClientExtraLibs
#endif
-#if defined(LinuxArchitecture)
-CXXEXTRA_DEFINES = -fpermissive
-#endif
-
SRCS = mp_server.C
OBJS = mp_server.o
DEFINES =
INCLUDES = -I../../../lib
-#if defined(LinuxArchitecture)
-CXXEXTRA_DEFINES = -fpermissive
-#endif
-
/*** NOTE!
*** Every time a .o is added below it needs to be added to
*** the lib/tt/lib Imakefile in OBJS and SHARED_OBJS
INCLUDES = -I../../lib
ISAM_INCLUDES = -I../../mini_isam
-#if defined(LinuxArchitecture)
-CXXEXTRA_DEFINES = -fpermissive
-#endif
-
/*** NOTE!
*** Every time a .o is added below it needs to be added to
*** the lib/tt/lib Imakefile in DB_OBJS and SHARED_DB_OBJS
CXXEXTRA_DEFINES = -DCOMPAT_43
#endif
-#if defined(LinuxArchitecture)
-CXXEXTRA_DEFINES = -fpermissive
-#endif
-
/*** NOTE!
*** Every time a .o is added below it needs to be added to
*** the lib/tt/lib Imakefile in MP_OBJS and SHARED_MP_OBJS
DEFINES =
INCLUDES = -I../../lib
-#if defined(LinuxArchitecture)
-CXXEXTRA_DEFINES = -fpermissive
-#endif
-
/*** NOTE!
*** Every time a .o is added below it needs to be added to
*** the lib/tt/lib Imakefile in DB_OBJS and SHARED_DB_OBJS
CXXEXTRA_DEFINES = -D_ILS_MACROS
#endif
-#if defined(LinuxArchitecture)
-CXXEXTRA_DEFINES = -fpermissive
-#endif
-
/*** NOTE!
*** Every time a .o is added below it needs to be added to
*** the lib/tt/lib Imakefile in UTIL_OBJS and SHARED_UTIL_OBJS
DEFINES =
INCLUDES = -I. -I../lib
-#if defined(LinuxArchitecture)
-CXXEXTRA_DEFINES = -fpermissive
-#endif
-
SRCS = \
mp_ce_attrs.C mp_observer.C mp_observer_utils.C \
mp_otype.C mp_otype_utils.C mp_ptype.C \
#endif /* SunArchitecture */
-#if defined(LinuxArchitecture)
-CXXEXTRA_DEFINES = -fpermissive
-#endif
-
-
HEADERS =
SRCS = \
DEPLIBS = ../MotifApp/libMotifApp.a ../libDtMail/libDtMail.a DepDtClientLibs
LOCAL_LIBRARIES = ../libDtMail/libDtMail.a ../MotifApp/libMotifApp.a DtClientLibs
-#if defined(LinuxArchitecture)
-CXXEXTRA_DEFINES = -fpermissive
-#endif
-
/* Sun needs the widechar library */
#ifdef SunArchitecture
SYS_LIBRARIES = $(DYNLIBSYSLIB) $(ICONVSYSLIB) $(REGEXSYSLIB) -lw -lm
SYS_LIBRARIES = -lintl -lnsl $(MT_LIBS) -lC
#endif /* SunArchitecture */
-#if defined(LinuxArchitecture)
-CXXEXTRA_DEFINES = -fpermissive
-#endif
-
SRCS = main.C message.C mailbox.C utils.C
OBJS = main.o message.o mailbox.o utils.o
INCLUDES = -I. -I../../include -I../../include/utils -I$(CDELIBSRC)
-#if defined(LinuxArchitecture)
-CXXEXTRA_DEFINES = -fpermissive
-#endif
-
#if HasVFork
VFORK_DEFINES = -DHAS_VFORK
#else
INCLUDES = -I. -I../Common -I../../include -I../../include/utils -I$(CDELIBSRC)
-#if defined(LinuxArchitecture)
-CXXEXTRA_DEFINES = -fpermissive
-#endif
-
#if HasVFork
VFORK_DEFINES = -DHAS_VFORK
#else
.NO_PARALLEL:
#endif
-#if defined(LinuxArchitecture)
-CXXEXTRA_DEFINES = -fpermissive
-#endif
-
INCLUDES = -I. -I./UI -I./libUI -I./util -I./libUI/MotifUI \
-I./objects -I./objects/PrintObj
DEFINES = -DHAS_EXCEPTIONS
#endif
-#if defined(LinuxArchitecture)
-CXXEXTRA_DEFINES = -fpermissive
-#endif
-
-
SRCS = DtActions.C DtApp.C DtDetailsLabel.C \
DtFindD.C DtFindSet.C DtMainW.C \
DtPrinterIcon.C DtProps.C DtPrtJobIcon.C \
EXTRA_DEFINES = -DIOSTREAMSWORKS
#endif
-#if defined(LinuxArchitecture)
-CXXEXTRA_DEFINES = -fpermissive
-#endif
-
SRCS = DirIterator.C Environ.C TTFile.C \
UnixEnv.C cstring.C
M4 = /bin/m4
#endif
-#ifdef LinuxArchitecture
+#if defined(LinuxArchitecture(
/*
* put cpp directives here rather than in CXXDEFINES because
M4 = /usr/bin/m4
-CXXEXTRA_DEFINES = -fpermissive
-
#endif
#if defined(RsArchitecture)