Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!nuchat!sugar!karl
From: karl@sugar.UUCP (Karl Lehenbauer)
Newsgroups: comp.sys.amiga
Subject: makefile for MicroEMACS for Aztec 3.40 and misc info
Message-ID: <1119@sugar.UUCP>
Date: Thu, 26-Nov-87 01:25:48 EST
Article-I.D.: sugar.1119
Posted: Thu Nov 26 01:25:48 1987
Date-Received: Sun, 29-Nov-87 17:47:01 EST
Organization: Sugar Land UNIX - Houston, TX
Lines: 44

Here is a makefile that will compile and link MicroEMACS 3.9e/Amiga, the
definitive version of MicroEMACS that came over comp.sources.misc recently.

Note that you need to rename amiga.rc to .emacsrc and put it and emacs.hlp
somewhere in MicroEMACS' search path, which is:  the current directory, 
sys:c, sys:t, sys:s, c:, :t and :s

Note that superportability mode (Aztec +P) may not be necessary, I
didn't check.  I'll leave that as an excercise for someone who likes
to fool around with memory models on unsegmented architectures :-)

Also note that although modules like hp110, hp150 and (gack) st520 are
included in the link, all of the guts are conditionally compiled out.

Don't forget to set the "#define AMIGA 0" to "#define AMIGA 1" in
estruct.h, as well as turning off whatever other processor had an
entry set to "1." Also, select AZTEC compiler and ANSI terminal output.

-------------------- cut here -----------------------

CFLAGS=		+P -Z2600

OFILES=		ansi.o basic.o bind.o buffer.o crypt.o dg10.o \
		display.o eval.o exec.o file.o fileio.o \
		hp110.o hp150.o ibmpc.o input.o isearch.o line.o \
		lock.o main.o random.o region.o search.o spawn.o \
		st520.o tcap.o termio.o tipc.o vmsvt.o vt52.o \
		window.o word.o z309.o

CFILES=		ansi.c basic.c bind.c buffer.c crypt.c dg10.c \
		display.c eval.c exec.c file.c fileio.c \
		hp110.c hp150.c ibmpc.c input.c isearch.c line.c \
		lock.c main.c random.c region.c search.c spawn.c \
		st520.c tcap.c termio.c tipc.c vmsvt.c vt52.c \
		window.c word.c z309.c

HFILES=		estruct.h edef.h efunc.h epath.h ebind.h evar.h

emacs:		$(OFILES)
		ln $(OFILES) -lcl32 -o emacs

$(OFILES):	$(HFILES)

--