--- /dev/null
+/* m- file for NEC EWS4800 RISC series. */
+#undef LIB_STANDARD
+#undef C_DEBUG_SWITCH
+#define INHIBIT_BSD_TIME
+#undef USG
+#include "mips.h"
+#define USG
+#undef UNEXEC
+#define UNEXEC unexelf.o
+#undef LIBS_MACHINE
+#undef LD_SWITCH_MACHINE
+#undef START_FILES
+#undef DATA_START
+#undef LIB_STANDARD
+#undef C_SWITCH_MACHINE
+#ifndef __GNUC__
+#undef C_DEBUG_SWITCH
+#define C_DEBUG_SWITCH -O -KOlimit=3000 -ZXNd=5000
+#endif /* !__GNUC__ */
--- /dev/null
+/* Definitions file for GNU Emacs running on NEC's UX/4800 (SVR4.2MP) */
+#include "usg5-4-2.h"
+#undef LIB_MOTIF
+#ifndef nec_ews
+#define nec_ews
+#endif
+#ifndef nec_ews_svr4
+#define nec_ews_svr4
+#endif
+#define XOS_NEEDS_TIME_H
+#define HAVE_VFORK
+#define HAVE_CLOCK
+#define GETTIMEOFDAY_ONE_ARGUMENT
+#ifdef __STDC__
+#define MKDIR_PROTOTYPE int mkdir(char *dpath, mode_t dmode)
+#endif
+#ifndef __GNUC__
+#define C_DEBUG_SWITCH -O -KOlimit=3000 -ZXNd=5000
+#endif