-- SASH - Stand-alone shell with built-in commands. The sash program is a stand-alone shell which is useful for recovering from certain types of system failures. In particular, it was created in order to cope with the problem of missing shared libraries or important executable. WWW: http://www.canb.auug.org.au/~dbell/ Submitted by Albert Chang <vedge@vedge.com.ar>
26 lines
681 B
Plaintext
26 lines
681 B
Plaintext
$OpenBSD: patch-Makefile,v 1.1.1.1 2001/07/06 13:33:48 lebel Exp $
|
|
--- Makefile.orig Sat Sep 25 01:21:34 1999
|
|
+++ Makefile Fri Jul 6 09:21:42 2001
|
|
@@ -5,11 +5,11 @@
|
|
# The HAVE_EXT2 definition adds the -chattr and -lsattr comamnds.
|
|
#
|
|
|
|
-CFLAGS = -O3 -Wall -Wmissing-prototypes -DHAVE_GZIP -DHAVE_EXT2
|
|
+CFLAGS += -DHAVE_GZIP
|
|
+# CFLAGS += -DHAVE_EXT2
|
|
LDFLAGS = -static -s
|
|
LIBS = -lz
|
|
|
|
-
|
|
BINDIR = /bin
|
|
MANDIR = /usr/man/man1
|
|
|
|
@@ -17,6 +17,7 @@ MANDIR = /usr/man/man1
|
|
OBJS = sash.o cmds.o cmd_dd.o cmd_ed.o cmd_grep.o cmd_ls.o cmd_tar.o \
|
|
cmd_gzip.o cmd_find.o cmd_file.o cmd_chattr.o cmd_ar.o utils.o
|
|
|
|
+all: sash
|
|
|
|
sash: $(OBJS)
|
|
$(CC) $(LDFLAGS) -o sash $(OBJS) $(LIBS)
|