summaryrefslogtreecommitdiff
path: root/Makefile.o9c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2009-05-08 23:34:35 +0000
committerXin LI <delphij@FreeBSD.org>2009-05-08 23:34:35 +0000
commitad5f463cf975eb6a9c4cb335fc2ce7a84c7d49a7 (patch)
tree2526f6b109843b646672c1537476dc51e56c0454 /Makefile.o9c
parent33a9f6ab73c5cd49f65ba4389ec32216bbe5fee3 (diff)
Notes
Diffstat (limited to 'Makefile.o9c')
-rw-r--r--Makefile.o9c46
1 files changed, 46 insertions, 0 deletions
diff --git a/Makefile.o9c b/Makefile.o9c
new file mode 100644
index 0000000000000..0a1b503605014
--- /dev/null
+++ b/Makefile.o9c
@@ -0,0 +1,46 @@
+# Makefile for less.
+# OS-9 version for Microware C 3.2.
+
+#### Start of system configuration section. ####
+
+CC = cc
+CPPFLAGS = -D_OSK_MWC32 -DDEBUG=0 -DSTRCSPN
+CFLAGS = -k=0 -v=.
+CFLAGS_COMPILE_ONLY = -r
+LDFLAGS = -igm=8
+LIBS = -l=/dd/lib/termlib.l
+O = r
+
+
+#### End of system configuration section. ####
+
+.SUFFIXES: .c .${O}
+
+# This rule allows us to supply the necessary -D options
+# in addition to whatever the user asks for.
+
+.c.${O}:
+ ${CC} ${CFLAGS_COMPILE_ONLY} ${CPPFLAGS} ${CFLAGS} $<
+
+OBJ = main.${O} screen.${O} brac.${O} ch.${O} charset.${O} cmdbuf.${O} \
+ command.${O} decode.${O} edit.${O} filename.${O} forwback.${O} \
+ help.${O} ifile.${O} input.${O} jump.${O} line.${O} linenum.${O} \
+ lsystem.${O} mark.${O} optfunc.${O} option.${O} opttbl.${O} os.${O} \
+ output.${O} position.${O} prompt.${O} search.${O} signal.${O} \
+ tags.${O} ttyin.${O} version.${O} regexp.${O}
+
+all: less lessecho lesskey
+
+less: ${OBJ}
+ ${CC} ${OBJ} -f=$@ ${LDFLAGS} ${LIBS}
+
+lesskey: lesskey.${O} version.${O}
+ ${CC} lesskey.${O} version.${O} -f=$@ ${LDFLAGS}
+
+lessecho: lessecho.${O} version.${O}
+ ${CC} lessecho.${O} version.${O} -f=$@ ${LDFLAGS}
+
+${OBJ}: defines.h less.h
+
+defines.h: defines.o9
+ copy defines.o9 defines.h -rf