aboutsummaryrefslogtreecommitdiff
path: root/contrib/less/Makefile.wnb
diff options
context:
space:
mode:
authorPaul Saab <ps@FreeBSD.org>2000-05-22 09:53:22 +0000
committerPaul Saab <ps@FreeBSD.org>2000-05-22 09:53:22 +0000
commita5f0fb151d90effe79714de0fa059954725fe57f (patch)
tree27b16fc210b9a302c9e74f90e36a9b5ed21e6300 /contrib/less/Makefile.wnb
downloadsrc-a5f0fb151d90effe79714de0fa059954725fe57f.tar.gz
src-a5f0fb151d90effe79714de0fa059954725fe57f.zip
Import the [now] dual licensed version 3.5.4 of less. It isvendor/less/v354
distributed under your choice of the GPL or a BSD style license. Reviewed by: peter Obtained from: http://home.flash.net/~marknu/less/
Notes
Notes: svn path=/vendor/less/dist/; revision=60786 svn path=/vendor/less/v354/; revision=60788; tag=vendor/less/v354
Diffstat (limited to 'contrib/less/Makefile.wnb')
-rw-r--r--contrib/less/Makefile.wnb49
1 files changed, 49 insertions, 0 deletions
diff --git a/contrib/less/Makefile.wnb b/contrib/less/Makefile.wnb
new file mode 100644
index 000000000000..4da10fcbe253
--- /dev/null
+++ b/contrib/less/Makefile.wnb
@@ -0,0 +1,49 @@
+# Makefile for less.
+# Windows version
+
+#### Start of system configuration section. ####
+
+CC = bcc32
+LIBDIR = d:\bc45\lib
+
+CFLAGS = -O2 -w-pro -TWC -P-c -v- -d -f- -ff- -vi
+LDFLAGS = /Tpe /v- /ap /c /x
+LD = tlink32
+LIBS = ${LIBDIR}\import32.lib ${LIBDIR}\cw32.lib
+
+#### End of system configuration section. ####
+
+# This rule allows us to supply the necessary -D options
+# in addition to whatever the user asks for.
+.c.obj:
+ ${CC} -c -I. ${CPPFLAGS} ${CFLAGS} $<
+
+OBJ = main.obj screen.obj brac.obj ch.obj charset.obj cmdbuf.obj command.obj \
+ decode.obj edit.obj filename.obj forwback.obj help.obj ifile.obj \
+ input.obj jump.obj line.obj linenum.obj lsystem.obj \
+ mark.obj optfunc.obj option.obj opttbl.obj os.obj output.obj \
+ position.obj prompt.obj search.obj signal.obj tags.obj \
+ ttyin.obj version.obj regexp.obj
+
+all: less lesskey
+
+# This is really horrible, but the command line is too long for
+# MS-DOS if we try to link ${OBJ}.
+less: ${OBJ}
+ -del lesskey.obj
+ ${LD} ${LDFLAGS} ${LIBDIR}\c0x32.obj *.obj, $@,,${LIBS}
+
+lesskey: lesskey.obj version.obj
+ ${LD} ${LDFLAGS} ${LIBDIR}\c0x32.obj lesskey.obj version.obj, $@,,${LIBS}
+
+defines.h: defines.wn
+ -del defines.h
+ -copy defines.wn defines.h
+
+${OBJ}: less.h defines.h funcs.h cmd.h
+
+clean:
+ -del *.obj
+ -del less.exe
+ -del lesskey.exe
+