1#ident %W% %E% %Q%
2###########################################################################
3SRCROOT=	..
4RULESDIR=	RULES
5include		$(SRCROOT)/$(RULESDIR)/rules.top
6###########################################################################
7
8INSDIR=		bin
9TARGET=		ved_static
10#
11# It you like to compile ved with large file support, uncomment the next
12# line to make CPPOPTS += -DUSE_LARGEFILES active.
13#
14#CPPOPTS +=	-DUSE_LARGEFILES
15CPPOPTS +=	-DVED_STATS
16CPPOPTS +=	-DFASTPOS
17#CPPOPTS +=	-DFASTPOS -DCHECKPOS
18CPPOPTS +=	-DNO_FLOATINGPOINT
19CFILES=		ved.c edit.c binding.c vedtmpops.c cmds.c quitcmds.c \
20		execcmds.c numbercmds.c cursorcmds.c delcmds.c \
21		searchcmds.c filecmds.c tmpfiles.c takecmds.c \
22		markcmds.c screen.c ctab.c movedot.c buffer.c storage.c \
23		terminal.c cmdline.c io.c fileio.c filesubs.c \
24		take.c message.c search.c \
25		ttycmds.c ttymodes.c macro.c coloncmds.c \
26		substcmds.c tags.c map.c vedstats.c consdebug.c \
27		dldummy.c format.c
28
29HFILES=		buffer.h ved.h func.h map.h movedot.h terminal.h ttys.h
30#LIBS=		-lunos
31#LDOPTS +=	-Bstatic
32LDOPTS +=	-dn
33LIBS=		-lxtermcap -lschily
34
35###########################################################################
36include		$(SRCROOT)/$(RULESDIR)/rules.cmd
37###########################################################################
38