-rw-r--r-- | scripts/kconfig/Makefile | 4 | ||||
-rw-r--r-- | scripts/lxdialog/Makefile | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 6006a80..492eb0a 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile | |||
@@ -1,27 +1,27 @@ | |||
1 | VERSION=1.4 | 1 | VERSION=1.4 |
2 | CC=gcc | 2 | CC=$(CCACHE) gcc |
3 | CXX=g++ | 3 | CXX=$(CCACHE) g++ |
4 | CFLAGS=-O0 -Wall -g -fPIC | 4 | CFLAGS=-O0 -Wall -g -fPIC |
5 | CXXFLAGS=$(CFLAGS) -I$(QTDIR)/include | 5 | CXXFLAGS=$(CFLAGS) -I$(QTDIR)/include |
6 | LDFLAGS= | 6 | LDFLAGS= |
7 | LXXFLAGS=$(LDFLAGS) -L$(QTDIR)/lib -Wl,-rpath,$(QTDIR)/lib | 7 | LXXFLAGS=$(LDFLAGS) -L$(QTDIR)/lib -Wl,-rpath,$(QTDIR)/lib |
8 | LEX=flex | 8 | LEX=flex |
9 | LFLAGS=-L | 9 | LFLAGS=-L |
10 | YACC=bison | 10 | YACC=bison |
11 | YFLAGS=-l | 11 | YFLAGS=-l |
12 | #YFLAGS=-t -v -l | 12 | #YFLAGS=-t -v -l |
13 | ifndef QTDIR | 13 | ifndef QTDIR |
14 | QTDIR=/usr/share/qt3 | 14 | QTDIR=/usr/share/qt3 |
15 | endif | 15 | endif |
16 | MOC=$(wildcard $(QTDIR)/bin/moc) | 16 | MOC=$(wildcard $(QTDIR)/bin/moc) |
17 | GTKCFLAGS=`pkg-config gtk+-2.0 gmodule-2.0 libglade-2.0 --cflags` | 17 | GTKCFLAGS=`pkg-config gtk+-2.0 gmodule-2.0 libglade-2.0 --cflags` |
18 | GTKLDFLAGS=`pkg-config gtk+-2.0 gmodule-2.0 libglade-2.0 --libs` | 18 | GTKLDFLAGS=`pkg-config gtk+-2.0 gmodule-2.0 libglade-2.0 --libs` |
19 | 19 | ||
20 | parse_SRC=zconf.y | 20 | parse_SRC=zconf.y |
21 | conf_SRC=conf.c $(parse_SRC) | 21 | conf_SRC=conf.c $(parse_SRC) |
22 | mconf_SRC=mconf.c $(parse_SRC) | 22 | mconf_SRC=mconf.c $(parse_SRC) |
23 | qconf_SRC=qconf.cc | 23 | qconf_SRC=qconf.cc |
24 | gconf_SRC=gconf.c kconfig_load.c | 24 | gconf_SRC=gconf.c kconfig_load.c |
25 | HDR=expr.h lkc.h lkc_proto.h qconf.h | 25 | HDR=expr.h lkc.h lkc_proto.h qconf.h |
26 | OTHER=README lkc-language.txt Makefile.kernel \ | 26 | OTHER=README lkc-language.txt Makefile.kernel \ |
27 | kconfig.i extconf.rb example | 27 | kconfig.i extconf.rb example |
diff --git a/scripts/lxdialog/Makefile b/scripts/lxdialog/Makefile index 6d05cfd..e606d4b 100644 --- a/scripts/lxdialog/Makefile +++ b/scripts/lxdialog/Makefile | |||
@@ -1,27 +1,27 @@ | |||
1 | HOST_EXTRACFLAGS := -DLOCALE | 1 | HOST_EXTRACFLAGS := -DLOCALE |
2 | HOST_LOADLIBES := -lncurses | 2 | HOST_LOADLIBES := -lncurses |
3 | HOSTCC = gcc | 3 | HOSTCC = $(CCACHE) gcc |
4 | 4 | ||
5 | ifeq (/usr/include/ncurses/ncurses.h, $(wildcard /usr/include/ncurses/ncurses.h)) | 5 | ifeq (/usr/include/ncurses/ncurses.h, $(wildcard /usr/include/ncurses/ncurses.h)) |
6 | HOST_EXTRACFLAGS += -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" | 6 | HOST_EXTRACFLAGS += -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" |
7 | else | 7 | else |
8 | ifeq (/usr/include/ncurses/curses.h, $(wildcard /usr/include/ncurses/curses.h)) | 8 | ifeq (/usr/include/ncurses/curses.h, $(wildcard /usr/include/ncurses/curses.h)) |
9 | HOST_EXTRACFLAGS += -I/usr/include/ncurses -DCURSES_LOC="<ncurses/curses.h>" | 9 | HOST_EXTRACFLAGS += -I/usr/include/ncurses -DCURSES_LOC="<ncurses/curses.h>" |
10 | else | 10 | else |
11 | ifeq (/usr/include/ncurses.h, $(wildcard /usr/include/ncurses.h)) | 11 | ifeq (/usr/include/ncurses.h, $(wildcard /usr/include/ncurses.h)) |
12 | HOST_EXTRACFLAGS += -DCURSES_LOC="<ncurses.h>" | 12 | HOST_EXTRACFLAGS += -DCURSES_LOC="<ncurses.h>" |
13 | else | 13 | else |
14 | HOST_EXTRACFLAGS += -DCURSES_LOC="<curses.h>" | 14 | HOST_EXTRACFLAGS += -DCURSES_LOC="<curses.h>" |
15 | endif | 15 | endif |
16 | endif | 16 | endif |
17 | endif | 17 | endif |
18 | 18 | ||
19 | ifeq ($(filter clean mrproper distclean,$(MAKECMDGOALS)),) | 19 | ifeq ($(filter clean mrproper distclean,$(MAKECMDGOALS)),) |
20 | ifeq ($(filter -DCURSES_LOC%,$(HOST_EXTRACFLAGS)),) | 20 | ifeq ($(filter -DCURSES_LOC%,$(HOST_EXTRACFLAGS)),) |
21 | $(error Unable to locate ncurses.h or curses.h) | 21 | $(error Unable to locate ncurses.h or curses.h) |
22 | endif | 22 | endif |
23 | endif | 23 | endif |
24 | 24 | ||
25 | host-progs:= lxdialog | 25 | host-progs:= lxdialog |
26 | always := $(host-progs) | 26 | always := $(host-progs) |
27 | 27 | ||