diff options
| author | Eric Andersen <andersen@codepoet.org> | 2002-11-07 02:06:58 +0000 |
|---|---|---|
| committer | Eric Andersen <andersen@codepoet.org> | 2002-11-07 02:06:58 +0000 |
| commit | f9496d4e44f41b0964ec82377ab0a688ff0d06df (patch) | |
| tree | a3be13d0718e19af3f8679feb2094ce43590f9f6 /scripts | |
| parent | 62d28828d620d1d9295db6cb880cf6826a679344 (diff) | |
| download | busybox-w32-f9496d4e44f41b0964ec82377ab0a688ff0d06df.tar.gz busybox-w32-f9496d4e44f41b0964ec82377ab0a688ff0d06df.tar.bz2 busybox-w32-f9496d4e44f41b0964ec82377ab0a688ff0d06df.zip | |
Fix broken tabs
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/lxdialog/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/scripts/lxdialog/Makefile b/scripts/lxdialog/Makefile index ed8d17c37..c29b58d7b 100644 --- a/scripts/lxdialog/Makefile +++ b/scripts/lxdialog/Makefile | |||
| @@ -2,13 +2,13 @@ HOSTCFLAGS += -DLOCALE | |||
| 2 | LIBS = -lncurses | 2 | LIBS = -lncurses |
| 3 | 3 | ||
| 4 | ifeq (/usr/include/ncurses/ncurses.h, $(wildcard /usr/include/ncurses/ncurses.h)) | 4 | ifeq (/usr/include/ncurses/ncurses.h, $(wildcard /usr/include/ncurses/ncurses.h)) |
| 5 | HOSTCFLAGS += -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" | 5 | HOSTCFLAGS += -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" |
| 6 | else | 6 | else |
| 7 | ifeq (/usr/include/ncurses/curses.h, $(wildcard /usr/include/ncurses/curses.h)) | 7 | ifeq (/usr/include/ncurses/curses.h, $(wildcard /usr/include/ncurses/curses.h)) |
| 8 | HOSTCFLAGS += -I/usr/include/ncurses -DCURSES_LOC="<ncurses/curses.h>" | 8 | HOSTCFLAGS += -I/usr/include/ncurses -DCURSES_LOC="<ncurses/curses.h>" |
| 9 | else | 9 | else |
| 10 | ifeq (/usr/include/ncurses.h, $(wildcard /usr/include/ncurses.h)) | 10 | ifeq (/usr/include/ncurses.h, $(wildcard /usr/include/ncurses.h)) |
| 11 | HOSTCFLAGS += -DCURSES_LOC="<ncurses.h>" | 11 | HOSTCFLAGS += -DCURSES_LOC="<ncurses.h>" |
| 12 | else | 12 | else |
| 13 | HOSTCFLAGS += -DCURSES_LOC="<curses.h>" | 13 | HOSTCFLAGS += -DCURSES_LOC="<curses.h>" |
| 14 | endif | 14 | endif |
| @@ -27,9 +27,11 @@ all: ncurses lxdialog | |||
| 27 | lxdialog: $(OBJS) | 27 | lxdialog: $(OBJS) |
| 28 | $(HOSTCC) -o lxdialog $(OBJS) $(LIBS) | 28 | $(HOSTCC) -o lxdialog $(OBJS) $(LIBS) |
| 29 | 29 | ||
| 30 | .PHONY: ncurses | ||
| 31 | |||
| 30 | ncurses: | 32 | ncurses: |
| 31 | @echo "main() {}" > lxtemp.c | 33 | @echo "main() {}" > lxtemp.c |
| 32 | @if $(HOSTCC) -lncurses lxtemp.c ; then \ | 34 | @if $(HOSTCC) lxtemp.c $(LIBS) ; then \ |
| 33 | rm -f lxtemp.c a.out; \ | 35 | rm -f lxtemp.c a.out; \ |
| 34 | else \ | 36 | else \ |
| 35 | rm -f lxtemp.c; \ | 37 | rm -f lxtemp.c; \ |
