summaryrefslogtreecommitdiff
path: root/scripts/lxdialog/Makefile-2.5
diff options
context:
space:
mode:
authorEric Andersen2002-12-05 08:41:41 +0000
committerEric Andersen2002-12-05 08:41:41 +0000
commitc9f20d9fb93c6c316518483fd103f3afab5cf1af (patch)
tree72904548bb54dcaf78017d3b35296765437e0bd5 /scripts/lxdialog/Makefile-2.5
parentdeca106b6dad70ad0a1312a82d762aa8d8ad52ba (diff)
downloadbusybox-c9f20d9fb93c6c316518483fd103f3afab5cf1af.zip
busybox-c9f20d9fb93c6c316518483fd103f3afab5cf1af.tar.gz
Yet another major rework of the BusyBox config system, using the considerably
modified Kbuild system I put into uClibc. With this, there should be no more need to modify Rules.mak since I've moved all the interesting options into the config system. I think I've got everything updated, but you never know, I may have made some mistakes, so watch closely. -Erik
Diffstat (limited to 'scripts/lxdialog/Makefile-2.5')
-rw-r--r--scripts/lxdialog/Makefile-2.571
1 files changed, 0 insertions, 71 deletions
diff --git a/scripts/lxdialog/Makefile-2.5 b/scripts/lxdialog/Makefile-2.5
deleted file mode 100644
index 6652052..0000000
--- a/scripts/lxdialog/Makefile-2.5
+++ /dev/null
@@ -1,71 +0,0 @@
-lxdialog-hostcflags += -DLOCALE
-lxdialog-libs = -lncurses
-
-ifeq (/usr/include/ncurses/ncurses.h, $(wildcard /usr/include/ncurses/ncurses.h))
- lxdialog-hostcflags += -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>"
-else
-ifeq (/usr/include/ncurses/curses.h, $(wildcard /usr/include/ncurses/curses.h))
- lxdialog-hostcflags += -I/usr/include/ncurses -DCURSES_LOC="<ncurses/curses.h>"
-else
-ifeq (/usr/include/ncurses.h, $(wildcard /usr/include/ncurses.h))
- lxdialog-hostcflags += -DCURSES_LOC="<ncurses.h>"
-else
- lxdialog-hostcflags += -DCURSES_LOC="<curses.h>"
-endif
-endif
-endif
-
-$(tmp_config)lxdialog-ncurses:
- @mkdir -p $(lxdialog-objtree)
- @( \
- cd $(lxdialog-objtree) && \
- echo "main() {}" > lxtemp.c && \
- if $(HOSTCC) -lncurses lxtemp.c ; then \
- rm -f lxtemp.c a.out && \
- mkdir -p $(@D) && \
- touch $@; \
- else \
- rm -f lxtemp.c; \
- echo -e "\007" ;\
- echo ">> Unable to find the Ncurses libraries." ;\
- echo ">>" ;\
- echo ">> You must have Ncurses installed in order" ;\
- echo ">> to use 'make menuconfig'" ;\
- echo ;\
- exit 1 ;\
- fi ; \
- )
-
-lxdialog-objs := $(lxdialog-objtree)checklist.o $(lxdialog-objtree)menubox.o \
- $(lxdialog-objtree)textbox.o $(lxdialog-objtree)yesno.o \
- $(lxdialog-objtree)inputbox.o $(lxdialog-objtree)util.o \
- $(lxdialog-objtree)lxdialog.o $(lxdialog-objtree)msgbox.o
-
-$(lxdialog-objtree)checklist.o: $(lxdialog-srctree)checklist.c $(tmp_config)lxdialog-ncurses
- $(HOSTCC) $(HOSTCFLAGS) $(lxdialog-hostcflags) -c -o $@ $<
-
-$(lxdialog-objtree)menubox.o: $(lxdialog-srctree)menubox.c $(tmp_config)lxdialog-ncurses
- $(HOSTCC) $(HOSTCFLAGS) $(lxdialog-hostcflags) -c -o $@ $<
-
-$(lxdialog-objtree)textbox.o: $(lxdialog-srctree)textbox.c $(tmp_config)lxdialog-ncurses
- $(HOSTCC) $(HOSTCFLAGS) $(lxdialog-hostcflags) -c -o $@ $<
-
-$(lxdialog-objtree)yesno.o: $(lxdialog-srctree)yesno.c $(tmp_config)lxdialog-ncurses
- $(HOSTCC) $(HOSTCFLAGS) $(lxdialog-hostcflags) -c -o $@ $<
-
-$(lxdialog-objtree)inputbox.o: $(lxdialog-srctree)inputbox.c $(tmp_config)lxdialog-ncurses
- $(HOSTCC) $(HOSTCFLAGS) $(lxdialog-hostcflags) -c -o $@ $<
-
-$(lxdialog-objtree)util.o: $(lxdialog-srctree)util.c $(tmp_config)lxdialog-ncurses
- $(HOSTCC) $(HOSTCFLAGS) $(lxdialog-hostcflags) -c -o $@ $<
-
-$(lxdialog-objtree)lxdialog.o: $(lxdialog-srctree)lxdialog.c $(tmp_config)lxdialog-ncurses
- $(HOSTCC) $(HOSTCFLAGS) $(lxdialog-hostcflags) -c -o $@ $<
-
-$(lxdialog-objtree)msgbox.o: $(lxdialog-srctree)msgbox.c $(tmp_config)lxdialog-ncurses
- $(HOSTCC) $(HOSTCFLAGS) $(lxdialog-hostcflags) -c -o $@ $<
-
-$(lxdialog-objtree)lxdialog: $(lxdialog-objs)
- $(HOSTCC) -o $@ $(lxdialog-objs) $(lxdialog-libs)
-
-MRPROPER += $(lxdialog-objtree)lxdialog