summaryrefslogtreecommitdiff
path: root/msdos
diff options
context:
space:
mode:
authorMorten Welinder <terra@diku.dk>1994-10-17 08:04:13 +0000
committerMorten Welinder <terra@diku.dk>1994-10-17 08:04:13 +0000
commite15e6710b29fe48afba580041c98708c3168a1f8 (patch)
tree124eea78f7550bfda41ed3ccbedb965058dac3e8 /msdos
parent68dcba39c83af4d85703898a0be42d5819ca9833 (diff)
downloademacs-e15e6710b29fe48afba580041c98708c3168a1f8.tar.gz
Initial revision
Diffstat (limited to 'msdos')
-rw-r--r--msdos/mainmake76
-rw-r--r--msdos/sed1x.inp8
-rw-r--r--msdos/sed2x.inp9
-rw-r--r--msdos/sed5x.inp11
4 files changed, 104 insertions, 0 deletions
diff --git a/msdos/mainmake b/msdos/mainmake
new file mode 100644
index 00000000000..f60642ee4c3
--- /dev/null
+++ b/msdos/mainmake
@@ -0,0 +1,76 @@
+# make all to compile and build Emacs.
+# make install to install it.
+# make TAGS to update tags tables.
+#
+# make clean or make mostlyclean
+# Delete all files from the current directory that are normally
+# created by building the program. Don't delete the files that
+# record the configuration. Also preserve files that could be made
+# by building, but normally aren't because the distribution comes
+# with them.
+#
+# Delete `.dvi' files here if they are not part of the distribution.
+#
+# make distclean
+# Delete all files from the current directory that are created by
+# configuring or building the program. If you have unpacked the
+# source and built the program without creating any other files,
+# `make distclean' should leave only the files that were in the
+# distribution.
+#
+# make realclean
+# Delete everything from the current directory that can be
+# reconstructed with this Makefile. This typically includes
+# everything deleted by distclean, plus more: C source files
+# produced by Bison, tags tables, info files, and so on.
+#
+# make extraclean
+# Still more severe - delete backup and autosave files, too.
+
+all: lib-src src
+
+lib-src: FRC
+ cd lib-src
+ $(MAKE)
+ cd ..
+
+src: FRC
+ cd src
+ $(MAKE)
+ cd ..
+
+install: all
+ -md bin
+ cd lib-src
+ coff2exe hexl
+ coff2exe etags
+ coff2exe ctags
+ coff2exe b2m
+ mv -f *.exe ../bin/
+ cd ..
+ cd src
+ coff2exe emacs
+ stubedit emacs.exe minstack=512k
+ mv -f emacs.exe ../bin/
+ cd ..
+
+FRC:
+
+TAGS tags: lib-src
+ cd src
+ go32 ../lib-src/etags *.[ch] ../lisp/*.el ../lisp/term/*.el
+ cd ..
+
+check:
+ @echo "We don't have any tests for GNU Emacs yet."
+
+clean:
+ cd lib-src
+ $(MAKE) clean
+ cd ..
+ cd src
+ $(MAKE) clean
+ cd ..
+ cd oldxmenu
+ -$(MAKE) clean
+ cd ..
diff --git a/msdos/sed1x.inp b/msdos/sed1x.inp
new file mode 100644
index 00000000000..dd9825de081
--- /dev/null
+++ b/msdos/sed1x.inp
@@ -0,0 +1,8 @@
+# -sed1x.inp------------------------------------------------------------
+# Extra configuration script for src/makefile for DesqView/X
+# ----------------------------------------------------------------------
+s!^ cd \${oldXMenudir}; \${MAKE}.*$! ${MAKE} -C ${oldXMenudir}.!
+s!^ @true *$! @rem!
+s/DOC/DOC-X/g
+#/^LIBXMENU *=/s!= *!= ../oldxmenu/!
+/^temacs *:/s!OLDXMENU!LIBXMENU!
diff --git a/msdos/sed2x.inp b/msdos/sed2x.inp
new file mode 100644
index 00000000000..87f1e60feb4
--- /dev/null
+++ b/msdos/sed2x.inp
@@ -0,0 +1,9 @@
+# -sed2x.inp------------------------------------------------------------
+# Extra configuration script for src/config.h for DesqView/X
+# ----------------------------------------------------------------------
+/^#undef HAVE_X_WINDOWS *$/s/undef/define/
+/^#undef HAVE_X11 *$/s/undef/define/
+/^#undef HAVE_X_MENU *$/s/undef/define/
+/^#undef HAVE_XSCREENNUMBEROFSCREEN *$/s/undef/define/
+/^#undef HAVE_XSETWMPROTOCOLS *$/s/undef/define/
+/^#undef HAVE_SELECT *$/s/undef/define/
diff --git a/msdos/sed5x.inp b/msdos/sed5x.inp
new file mode 100644
index 00000000000..5c6ed3f9347
--- /dev/null
+++ b/msdos/sed5x.inp
@@ -0,0 +1,11 @@
+# -sed5x.inp------------------------------------------------------------
+# Configuration script for oldxmenu/makefile for DesqView/X
+# ----------------------------------------------------------------------
+/^srcdir *=/s/@[^@\n]*@/./
+/^VPATH *=/s/@[^@\n]*@/./
+/^C_SWITCH_X_SITE *=/s/@[^@\n]*@//
+/^CC *=/s/@[^@\n]*@/gcc/
+/^CPP *=/s/@[^@\n]*@/gcc -e/
+/^CFLAGS *=/s/@[^@\n]*@/-O2 -g/
+/^LN_S *=/s/@[^@\n]*@/ln -s/
+s/|| true//