diff options
author | Bram Moolenaar <Bram@vim.org> | 2004-06-13 20:20:40 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2004-06-13 20:20:40 +0000 |
commit | 071d4279d6ab81b7187b48f3a0fc61e587b6db6c (patch) | |
tree | 221cbe3c40e043163c06f61c52a7ba2eb41e12ce /src/Make_dice.mak | |
parent | b4210b3bc14e2918f153a7307530fbe6eba659e1 (diff) | |
download | vim-git-071d4279d6ab81b7187b48f3a0fc61e587b6db6c.tar.gz |
updated for version 7.0001v7.0001
Diffstat (limited to 'src/Make_dice.mak')
-rw-r--r-- | src/Make_dice.mak | 209 |
1 files changed, 209 insertions, 0 deletions
diff --git a/src/Make_dice.mak b/src/Make_dice.mak new file mode 100644 index 000000000..77f6cba22 --- /dev/null +++ b/src/Make_dice.mak @@ -0,0 +1,209 @@ +# +# Makefile for VIM, using DICE 3 +# + +#>>>>> choose options: +### See feature.h for a list of optionals. +### Any other defines can be included here. +DEFINES = -DHAVE_TGETENT -DUP_BC_PC_EXTERN -DOSPEED_EXTERN + +#>>>>> if HAVE_TGETENT is defined o/termlib.o has to be used +TERMLIB = o/termlib.o +#TERMLIB = + +#>>>>> end of choices +########################################################################### + +CFLAGS = -c -DAMIGA -Iproto $(DEFINES) + +SYMS = vim.syms +PRE = -H${SYMS}=vim.h +LIBS = -la +CC = dcc +LD = dcc + +.c.o: + ${CC} ${PRE} ${CFLAGS} $< -o $@ + +SRC = \ + buffer.c \ + charset.c \ + diff.c \ + digraph.c \ + edit.c \ + eval.c \ + ex_cmds.c \ + ex_cmds2.c \ + ex_docmd.c \ + ex_eval.c \ + ex_getln.c \ + fileio.c \ + fold.c \ + getchar.c \ + main.c \ + mark.c \ + memfile.c \ + memline.c \ + menu.c \ + message.c \ + misc1.c \ + misc2.c \ + move.c \ + mbyte.c \ + normal.c \ + ops.c \ + option.c \ + os_amiga.c \ + quickfix.c \ + regexp.c \ + screen.c \ + search.c \ + syntax.c \ + tag.c \ + term.c \ + ui.c \ + undo.c \ + window.c \ + version.c + +OBJ = o/buffer.o \ + o/charset.o \ + o/diff.o \ + o/digraph.o \ + o/edit.o \ + o/eval.o \ + o/ex_cmds.o \ + o/ex_cmds2.o \ + o/ex_docmd.o \ + o/ex_eval.o \ + o/ex_getln.o \ + o/fileio.o \ + o/fold.o \ + o/getchar.o \ + o/main.o \ + o/mark.o \ + o/memfile.o \ + o/memline.o \ + o/menu.o \ + o/message.o \ + o/misc1.o \ + o/misc2.o \ + o/move.o \ + o/mbyte.o \ + o/normal.o \ + o/ops.o \ + o/option.o \ + o/os_amiga.o \ + o/quickfix.o \ + o/regexp.o \ + o/screen.o \ + o/search.o \ + o/syntax.o \ + o/tag.o \ + o/term.o \ + o/ui.o \ + o/undo.o \ + o/window.o \ + $(TERMLIB) + +Vim: $(OBJ) version.c version.h + ${CC} $(CFLAGS) version.c -o o/version.o + ${LD} -o Vim $(OBJ) o/version.o $(LIBS) + +debug: $(OBJ) version.c version.h + ${CC} $(CFLAGS) version.c -o o/version.o + ${LD} -s -o Vim $(OBJ) o/version.o $(LIBS) + +tags: + csh -c ctags $(SRC) *.h + +clean: + delete o/*.o Vim $(SYMS) + +$(SYMS) : vim.h globals.h keymap.h macros.h ascii.h term.h os_amiga.h structs.h + delete $(SYMS) + +########################################################################### + +o/buffer.o: buffer.c $(SYMS) + +o/charset.o: charset.c $(SYMS) + +o/diff.o: diff.c $(SYMS) + +o/digraph.o: digraph.c $(SYMS) + +o/edit.o: edit.c $(SYMS) + +o/eval.o: eval.c $(SYMS) + +o/ex_cmds.o: ex_cmds.c $(SYMS) + +o/ex_cmds2.o: ex_cmds2.c $(SYMS) + +o/ex_docmd.o: ex_docmd.c $(SYMS) ex_cmds.h + +o/ex_eval.o: ex_eval.c $(SYMS) ex_cmds.h + +o/ex_getln.o: ex_getln.c $(SYMS) + +o/fileio.o: fileio.c $(SYMS) + +o/fold.o: fold.c $(SYMS) + +o/getchar.o: getchar.c $(SYMS) + +o/main.o: main.c $(SYMS) + +o/mark.o: mark.c $(SYMS) + +o/memfile.o: memfile.c $(SYMS) + +o/memline.o: memline.c $(SYMS) + +o/menu.o: menu.c $(SYMS) + +o/message.o: message.c $(SYMS) + +o/misc1.o: misc1.c $(SYMS) + +o/misc2.o: misc2.c $(SYMS) + +o/move.o: move.c $(SYMS) + +o/mbyte.o: mbyte.c $(SYMS) + +o/normal.o: normal.c $(SYMS) + +o/ops.o: ops.c $(SYMS) + +o/option.o: option.c $(SYMS) +# Because of a bug in DC1 2.06.40, initialisation of unions does not +# work correctly. dc1-21 is DC1 2.06.21 which does work. +# rename dc1-21 dc1 + ${CC} ${CFLAGS} option.c -o o/option.o +# rename dc1 dc1-21 + +o/os_amiga.o: os_amiga.c $(SYMS) os_amiga.h + +o/quickfix.o: quickfix.c $(SYMS) + +o/regexp.o: regexp.c $(SYMS) regexp.h + +o/screen.o: screen.c $(SYMS) + +o/search.o: search.c $(SYMS) regexp.h + +o/syntax.o: syntax.c $(SYMS) + +o/tag.o: tag.c $(SYMS) + +o/term.o: term.c $(SYMS) term.h + +o/termlib.o: termlib.c $(SYMS) + +o/ui.o: ui.c $(SYMS) + +o/undo.o: undo.c $(SYMS) + +o/window.o: window.c $(SYMS) |