aboutsummaryrefslogtreecommitdiffstats
path: root/msdos
diff options
context:
space:
mode:
authorMorten Welinder1994-10-17 08:04:13 +0000
committerMorten Welinder1994-10-17 08:04:13 +0000
commitef88bd2dc02b0b4e709a216a02760f43f18e00d6 (patch)
treeeb83b37eb2e5202b66abdaeffcd3531bde5dcc80 /msdos
parentddff705b7a85685bbeaa64c4ecfecde37573053f (diff)
downloademacs-ef88bd2dc02b0b4e709a216a02760f43f18e00d6.tar.gz
emacs-ef88bd2dc02b0b4e709a216a02760f43f18e00d6.zip
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 @@
1# make all to compile and build Emacs.
2# make install to install it.
3# make TAGS to update tags tables.
4#
5# make clean or make mostlyclean
6# Delete all files from the current directory that are normally
7# created by building the program. Don't delete the files that
8# record the configuration. Also preserve files that could be made
9# by building, but normally aren't because the distribution comes
10# with them.
11#
12# Delete `.dvi' files here if they are not part of the distribution.
13#
14# make distclean
15# Delete all files from the current directory that are created by
16# configuring or building the program. If you have unpacked the
17# source and built the program without creating any other files,
18# `make distclean' should leave only the files that were in the
19# distribution.
20#
21# make realclean
22# Delete everything from the current directory that can be
23# reconstructed with this Makefile. This typically includes
24# everything deleted by distclean, plus more: C source files
25# produced by Bison, tags tables, info files, and so on.
26#
27# make extraclean
28# Still more severe - delete backup and autosave files, too.
29
30all: lib-src src
31
32lib-src: FRC
33 cd lib-src
34 $(MAKE)
35 cd ..
36
37src: FRC
38 cd src
39 $(MAKE)
40 cd ..
41
42install: all
43 -md bin
44 cd lib-src
45 coff2exe hexl
46 coff2exe etags
47 coff2exe ctags
48 coff2exe b2m
49 mv -f *.exe ../bin/
50 cd ..
51 cd src
52 coff2exe emacs
53 stubedit emacs.exe minstack=512k
54 mv -f emacs.exe ../bin/
55 cd ..
56
57FRC:
58
59TAGS tags: lib-src
60 cd src
61 go32 ../lib-src/etags *.[ch] ../lisp/*.el ../lisp/term/*.el
62 cd ..
63
64check:
65 @echo "We don't have any tests for GNU Emacs yet."
66
67clean:
68 cd lib-src
69 $(MAKE) clean
70 cd ..
71 cd src
72 $(MAKE) clean
73 cd ..
74 cd oldxmenu
75 -$(MAKE) clean
76 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 @@
1# -sed1x.inp------------------------------------------------------------
2# Extra configuration script for src/makefile for DesqView/X
3# ----------------------------------------------------------------------
4s!^ cd \${oldXMenudir}; \${MAKE}.*$! ${MAKE} -C ${oldXMenudir}.!
5s!^ @true *$! @rem!
6s/DOC/DOC-X/g
7#/^LIBXMENU *=/s!= *!= ../oldxmenu/!
8/^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 @@
1# -sed2x.inp------------------------------------------------------------
2# Extra configuration script for src/config.h for DesqView/X
3# ----------------------------------------------------------------------
4/^#undef HAVE_X_WINDOWS *$/s/undef/define/
5/^#undef HAVE_X11 *$/s/undef/define/
6/^#undef HAVE_X_MENU *$/s/undef/define/
7/^#undef HAVE_XSCREENNUMBEROFSCREEN *$/s/undef/define/
8/^#undef HAVE_XSETWMPROTOCOLS *$/s/undef/define/
9/^#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 @@
1# -sed5x.inp------------------------------------------------------------
2# Configuration script for oldxmenu/makefile for DesqView/X
3# ----------------------------------------------------------------------
4/^srcdir *=/s/@[^@\n]*@/./
5/^VPATH *=/s/@[^@\n]*@/./
6/^C_SWITCH_X_SITE *=/s/@[^@\n]*@//
7/^CC *=/s/@[^@\n]*@/gcc/
8/^CPP *=/s/@[^@\n]*@/gcc -e/
9/^CFLAGS *=/s/@[^@\n]*@/-O2 -g/
10/^LN_S *=/s/@[^@\n]*@/ln -s/
11s/|| true//