-rw-r--r-- | scripts/kconfig/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 6782d4a..7e257be 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile | |||
@@ -1,34 +1,34 @@ | |||
1 | VERSION=1.2 | 1 | VERSION=1.2 |
2 | CC=gcc | 2 | CC=gcc |
3 | CXX=g++ | 3 | CXX=g++ |
4 | CFLAGS=-O2 -Wall -g -fPIC | 4 | CFLAGS=-O2 -Wall -g -fPIC |
5 | CXXFLAGS=$(CFLAGS) -I$(HOSTQTDIR)/include | 5 | CXXFLAGS=$(CFLAGS) -I$(HOSTQTDIR)/include |
6 | LDFLAGS= | 6 | LDFLAGS= |
7 | LXXFLAGS=$(LDFLAGS) -L$(HOSTQTDIR)/lib -Wl,-rpath,$(HOSTQTDIR)/lib | 7 | LXXFLAGS=$(LDFLAGS) -L$(HOSTQTDIR)/lib -Wl,-rpath,$(HOSTQTDIR)/lib |
8 | LEX=flex | 8 | LEX=flex |
9 | YACC=bison | 9 | YACC=bison |
10 | YFLAGS=-d -t -v | 10 | YFLAGS=-d -t #-v |
11 | ifndef HOSTQTDIR | 11 | ifndef HOSTQTDIR |
12 | ifeq ($(shell if [ -e /usr/share/qt ]; then echo foundit; fi),foundit) | 12 | ifeq ($(shell if [ -e /usr/share/qt ]; then echo foundit; fi),foundit) |
13 | HOSTQTDIR=/usr/share/qt | 13 | HOSTQTDIR=/usr/share/qt |
14 | else | 14 | else |
15 | ifeq ($(shell if [ -e /usr/lib/qt ]; then echo foundit; fi),foundit) | 15 | ifeq ($(shell if [ -e /usr/lib/qt ]; then echo foundit; fi),foundit) |
16 | HOSTQTDIR=/usr/lib/qt | 16 | HOSTQTDIR=/usr/lib/qt |
17 | endif | 17 | endif |
18 | endif | 18 | endif |
19 | endif | 19 | endif |
20 | 20 | ||
21 | ifndef QTLIB | 21 | ifndef QTLIB |
22 | ifeq ($(shell if [ -e $(HOSTQTDIR)/lib/libqt-mt.so ]; then echo foundit; fi),foundit) | 22 | ifeq ($(shell if [ -e $(HOSTQTDIR)/lib/libqt-mt.so ]; then echo foundit; fi),foundit) |
23 | QTLIB=-lqt-mt | 23 | QTLIB=-lqt-mt |
24 | else | 24 | else |
25 | ifneq ($(shell if [ -e $(HOSTQTDIR)/lib/libqt.so ]; then echo foundit; fi),foundit) | 25 | ifneq ($(shell if [ -e $(HOSTQTDIR)/lib/libqt.so ]; then echo foundit; fi),foundit) |
26 | $(warning Unable to locate libqt.so!) | 26 | $(warning Unable to locate libqt.so!) |
27 | endif | 27 | endif |
28 | QTLIB=-lqt | 28 | QTLIB=-lqt |
29 | endif | 29 | endif |
30 | endif | 30 | endif |
31 | 31 | ||
32 | MOC=$(wildcard $(HOSTQTDIR)/bin/moc) | 32 | MOC=$(wildcard $(HOSTQTDIR)/bin/moc) |
33 | 33 | ||
34 | parse_SRC=zconf.y | 34 | parse_SRC=zconf.y |