# ME makefile
#
# To modify me for another system, modify: Recipe and config.h

##################### START STUFF TO MODIFY ################################

terminal = tcap.c	# use 1 of: ansi.c, hpterm.c, tcap.c, kal.c, ""
io = unixio.c		# use 1 of: msdosio.c pcio.c unixio.c X.c
keymap = #hpkmap.c	# use 1 of: pckmap.c hpkmap.c Xkmap.c
fastvideo = 	 	# pcfv.c, vgerfv.c or ""
fileio = fileio.c	# pcfileio.c or fileio.c
spam =			# speedie asm routines: speed.asm, ""
process = ../comserver/cliserve.a	# compute server library
###################### END STUFF TO MODIFY ################################

#CFLAGS = -O +X
#CFLAGS = -O -Wc,-Nd4000,-Ns3000

CFLAGS = -O -Aa

CFLAGS = -g -Aa
LFLAGS = 

CC-MISC = -I$(UtilsDir) -I$(EdDir) -I../mc2
LIB-MISC = $(process) $(LED) $(ED) ../mc2/mm2.a $(UTILS)
LINK-MISC = -ltermcap # -lmalloc   -lX11

files * bag.c basic.c buffer.c bvar.c display.c file.c $(fileio) \
	cutbuf.c line.c main.c os.c misc.c mline.c mark.c \
	random.c region.c regexp.c \
	search.c spawn.c window.c word.c undo.c \
	bind.c help.c mmaux.c mmfcn.c mmfcn2.c case.c \
	process.c \
	$(spam) \
	$(terminal) $(io) $(keymap) $(fastvideo)

me2 :> $(files) $(LIB-MISC)

### Generated by Pender on Sat Jan 30 10:52:10 1988
ansi.c pcio.c unixio.c :> config.h me2.h term.h
bag.c basic.c main.c random.c region.c search.c word.c :> me2.h
bind.c mmaux.c :> bind.h me2.h ../mc2/mm.h
buffer.c fileio.c cutbuf.c line.c mark.c regexp.c spawn.c tcap.c \
   pcfileio.c window.c :> me2.h
bvar.c :> me2.h ../mc2/mm.h ../mc2/oman.h
display.c os.c :> config.h me2.h
file.c :> config.h me2.h
help.c :> bind.h config.h me2.h ../mc2/mm.h
hpkmap.c hpterm.c kal.c msdosio.c pckmap.c vgerio.c :> me2.h term.h
mline.c :> config.h me2.h ../mc2/mm.h
mmfcn.c :> me2.h ../mc2/mm.h bind.h
mmfcn2.c :> me2.h ../mc2/mm.h
undo.c :> me2.h

#canonize.c regex.c :>

# termio.c :> me2.h rainbow.h term.h
# vt52.c :> config.h me2.h


X.c Xkmap.c :> me2.h term.h 

process.c :> ../comserver/comserver.h config.h ../mc2/mm.h 

lint |
	lint -ax -Nd7000 -Ns7500 -Na70000 -Np300 -Zf500 -Zn5000 -Zt9000	\
		 -DLINT $(CC-MISC) $(files)
