diff options
Diffstat (limited to 'shells/flash/files/patch-aa')
-rw-r--r-- | shells/flash/files/patch-aa | 66 |
1 files changed, 17 insertions, 49 deletions
diff --git a/shells/flash/files/patch-aa b/shells/flash/files/patch-aa index a2bce4960dc8..83b4b16491e7 100644 --- a/shells/flash/files/patch-aa +++ b/shells/flash/files/patch-aa @@ -1,56 +1,24 @@ ---- Makefile.in Mon Jun 28 11:28:50 1999 -+++ Makefile.in.new Sun Jan 2 21:49:48 2000 -@@ -7,9 +7,8 @@ - INITIALMENU = system.menu - - # Directory to install everything to --prefix = /usr/slocal - EXEC_PREFIX = ${prefix} --BINDIR = $(EXEC_PREFIX)/bin -+BINDIR = $(EXEC_PREFIX)/sbin - LIBDIR = $(prefix)/lib/flash - MANDIR = $(prefix)/man/man1 - -@@ -23,29 +22,38 @@ - TAR = tar - TAROPTIONS = zcvf - RELNAME = $(PROGNAME).tar.gz -+NCURSES ?= -+NC_CFLAGS ?= -+NC_LFLAGS ?= +--- Makefile.in.orig Tue Jan 18 04:52:08 2000 ++++ Makefile.in Sat Jan 6 11:45:02 2001 +@@ -30,16 +30,16 @@ # C Compiler - CC = gcc - DEBUG = -g - #DEBUG = -DDEBUG -g - #CPPFLAGS = -I/usr/include/ncurses -DHAVE_CONFIG_H -DPREFIX=\"/usr/slocal\" #-DDEBUG --CPPFLAGS = -DHAVE_CONFIG_H -DPREFIX=\"/usr/slocal\" -DDONT_HIGHLIGHT_WITH_REVERSE #-DLITTLE_ENDIAN -+CPPFLAGS = $(NCURSES) $(NC_CFLAGS) -DHAVE_CONFIG_H -DPREFIX=\"$(prefix)\" -DDONT_HIGHLIGHT_WITH_REVERSE #-DLITTLE_ENDIAN - CFLAGS = -O2 $(CPPFLAGS) $(DEBUG) -Wall -rdynamic - + CC = @CC@ +-DEBUG = -g +-CPPFLAGS = -DHAVE_CONFIG_H -DPREFIX=\"$(EXEC_PREFIX)\" -DDONT_HIGHLIGHT_WITH_REVERSE +-CFLAGS = -O2 $(CPPFLAGS) $(DEBUG) -Wall -rdynamic ++#DEBUG = -g ++CPPFLAGS = @CPPFLAGS@ -DHAVE_CONFIG_H -DPREFIX=\"$(EXEC_PREFIX)\" -DDONT_HIGHLIGHT_WITH_REVERSE ++CFLAGS = @CFLAGS@ $(CPPFLAGS) $(DEBUG) + # For Solaris users please use the next 2 lines instead. + #CPPFLAGS = -DHAVE_CONFIG_H -DPREFIX=\"$(EXEC_PREFIX)\" -DDONT_HIGHLIGHT_WITH_REVERSE -DSOLARIS + #CFLAGS = -O2 $(CPPFLAGS) $(DEBUG) -Wall + + # Comment out -rdynamic below for Solaris -LDFLAGS = -rdynamic -LIBRARIES = -lncurses -ldl -+LDFLAGS = -rdynamic $(NC_LFLAGS) -+LIBRARIES = -lncurses ++LDFLAGS = @LDFLAGS@ ++LIBRARIES = @LIBS@ SCREEN_SOURCES = screens/nc_init.c screens/nc_lock.c screens/nc_about.c screens/nc_menus.c screens/nc_misc.c screens/nc_job.c screens/nc_module.c -+MODULE_PROGS = modules/countdown modules/background - SOURCES = main.c parse.c string.c set.c misc.c menu.c exec.c rc.c tree.c parseline.c event.c sha.c module.c debug.c $(SCREEN_SOURCES) - OBJECTS = $(SOURCES:.c=.o) - -+all: $(PROGNAME) -+ - .c.o: - $(CC) $(CFLAGS) -c -o $@ $< - --$(PROGNAME): $(OBJECTS) -+$(PROGNAME): $(OBJECTS) $(MODULE_PROGS) - $(RM) $@ - $(CC) -o $@ $(OBJECTS) $(LDFLAGS) $(LIBRARIES) -+ -+$(MODULE_PROGS): -+ $(MAKE) -C modules && $(MAKE) - - shacrypt: - $(CC) $(CFLAGS) -DO_WRAP -o $@ sha.c |