aboutsummaryrefslogtreecommitdiffstats
path: root/com32/rosh/Makefile
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2009-02-15 17:26:37 -0500
committerH. Peter Anvin <hpa@zytor.com>2009-02-15 16:39:47 -0800
commit53daea0916af7b874f830bd0428da2be4e1bc3b3 (patch)
tree57fc86fab2a6eb34583be7fce89d4f71bf4ea128 /com32/rosh/Makefile
parent3eee66c2495c524007a1aff64d5b4813a0f159cf (diff)
downloadsyslinux-53daea0916af7b874f830bd0428da2be4e1bc3b3.tar.gz
syslinux-53daea0916af7b874f830bd0428da2be4e1bc3b3.tar.xz
syslinux-53daea0916af7b874f830bd0428da2be4e1bc3b3.zip
COM32 module: Read-Only shell
Well, here's the read-only shell (rosh) that I've been working on. It's functional but still quite rough. My primary intention of posting it at this time is such that people have an easy way to demonstrate to themselves that the library calls I made work. This should apply as a patch to the head of the "dir" branch and the patch for c_cflag/c_lflag. The patch is only needed for Linux(without it, segfaults will occur). I've designed it to compile as a COM32 module and Linux binary when using GNU C (as Syslinux currently requires GNU C, if I read the Makefiles correctly).
Diffstat (limited to 'com32/rosh/Makefile')
-rw-r--r--com32/rosh/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/com32/rosh/Makefile b/com32/rosh/Makefile
new file mode 100644
index 00000000..30dc7d39
--- /dev/null
+++ b/com32/rosh/Makefile
@@ -0,0 +1,38 @@
+## -----------------------------------------------------------------------
+##
+## Copyright 2001-2008 H. Peter Anvin - All Rights Reserved
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation, Inc., 53 Temple Place Ste 330,
+## Boston MA 02111-1307, USA; either version 2 of the License, or
+## (at your option) any later version; incorporated herein by reference.
+##
+## -----------------------------------------------------------------------
+
+##
+## samples for syslinux users
+##
+
+topdir = ../..
+include MCONFIG
+
+rosh.o: rosh.h
+
+rosh.lo: rosh.h
+
+all: rosh.lnx rosh.c32
+
+tidy dist:
+ rm -f *.o *.lo *.a *.lst *.elf .*.d *.tmp
+
+clean: tidy
+ rm -f *.lnx
+
+spotless: clean
+ rm -f *.lss *.c32 *.com
+ rm -f *~ \#*
+
+install: # Don't install samples
+
+-include .*.d