home *** CD-ROM | disk | FTP | other *** search
-
-
- # Makefile for OSK MicroGnuEMACS by Robert A. Larson
- # 07/12/86 MicroGnuEMACS version
- # Copy ./sys/osk/makefile to . before making. Check
- # OPTS and LIBS.
- #
- # mg is short for micrognuemacs. Call it what you want.
- NAME = mg
- # terminal type or termcap
- TERM = TERMCAP
- # opts is for user definable options
- OPTS = -dMAXMEM=320 -dXKEYS
- # termlib is needed for termcap.
- LFLAGS = -l=/dd/lib/termlib.l -m=4
- CFLAGS = -r=. -t=/r0
- OBJ = basic.r \
- dir.r \
- dired.r \
- file.r \
- line.r \
- match.r \
- paragraph.r \
- random.r \
- region.r \
- search.r \
- version.r \
- window.r \
- word.r
- # unique requirements
- IND = buffer.r \
- display.r \
- echo.r \
- extend.r \
- help.r \
- kbd.r \
- keymap.r \
- macro.r \
- main.r \
- modes.r \
- regex.r \
- re_search.r
- # these files are listed individually below
- SYSOBJ = cinfo.r \
- fileio.r \
- spawn.r \
- ttyio.r \
- tty.r \
- ttykbd.r
- #
- $(NAME): $(OBJ) $(IND) $(SYSOBJ) makefile
- cc -i -f=$(NAME) $(LFLAGS) $(OBJ) $(IND) $(SYSOBJ)
- $(OBJ): def.h sysdef.h ttydef.h chrdef.h makefile
- cc $(CFLAGS) $(OPTS) $*.c
- kbd.r: def.h sysdef.h ttydef.h chrdef.h makefile macro.h kbd.h key.h
- cc $(CFLAGS) $(OPTS) $*.c
- macro.r main.r: def.h sysdef.h ttydef.h chrdef.h makefile macro.h
- cc $(CFLAGS) $(OPTS) $*.c
- buffer.r display.r keymap.r help.r modes.r dired.r: \
- def.h sysdef.h ttydef.h chrdef.h makefile kbd.h
- cc $(CFLAGS) $(OPTS) $*.c
- extend.r: def.h sysdef.h ttydef.h chrdef.h makefile kbd.h macro.h key.h
- cc $(CFLAGS) $(OPTS) $*.c
- help.r: def.h sysdef.h ttydef.h chrdef.h makefile kbd.h key.h macro.h
- cc $(CFLAGS) $(OPTS) $*.c
- echo.r: def.h sysdef.h ttydef.h chrdef.h makefile key.h macro.h
- cc $(CFLAGS) $(OPTS) $*.c
- regex.r re_search.r: def.h sysdef.h ttydef.h chrdef.h makefile regex.h
- cc $(CFLAGS) $(OPTS) $*.c
- fileio.r: sys/osk/fileio.c def.h sysdef.h ttydef.h chrdef.h makefile kbd.h
- cc $(CFLAGS) $(OPTS) sys/osk/fileio.c
- spawn.r: sys/osk/spawn.c def.h sysdef.h ttydef.h chrdef.h makefile
- cc $(CFLAGS) $(OPTS) sys/osk/spawn.c
- ttyio.r: sys/osk/ttyio.c def.h sysdef.h ttydef.h chrdef.h makefile
- cc $(CFLAGS) $(OPTS) sys/osk/ttyio.c
- tty.r: sys/default/tty.c def.h sysdef.h ttydef.h chrdef.h makefile
- cc $(CFLAGS) $(OPTS) sys/default/tty.c
- ttykbd.r: sys/default/ttykbd.c def.h sysdef.h ttydef.h chrdef.h makefile
- cc $(CFLAGS) $(OPTS) sys/default/ttykbd.c
- cinfo.r: sys/default/cinfo.c def.h sysdef.h ttydef.h chrdef.h makefile
- cc $(CFLAGS) $(OPTS) sys/default/cinfo.c
- # The touch commands are needed to update the modified time.
- sysdef.h: sys/osk/sysdef.h
- copy -b=16 -w=. -r sys/osk/sysdef.h
- touch sysdef.h
- ttydef.h: sys/default/ttydef.h
- copy -b=16 -w=. -r sys/default/ttydef.h
- touch ttydef.h
- chrdef.h: sys/default/chrdef.h
- copy -b=16 -w=. -r sys/default/chrdef.h
- touch chrdef.h
-