summaryrefslogtreecommitdiff
path: root/scripts/kconfig/Makefile
authorkergoth <kergoth>2002-11-05 23:27:42 (UTC)
committer kergoth <kergoth>2002-11-05 23:27:42 (UTC)
commitcc85b20f907834b72222b15189698b4c48b53ee6 (patch) (side-by-side diff)
treebb51e9083cef979cedba86dd2c6b33a2eb50792c /scripts/kconfig/Makefile
parent76f38e36b7a875a1763d1e6ce5e00cc8dd736263 (diff)
downloadopie-cc85b20f907834b72222b15189698b4c48b53ee6.zip
opie-cc85b20f907834b72222b15189698b4c48b53ee6.tar.gz
opie-cc85b20f907834b72222b15189698b4c48b53ee6.tar.bz2
prefer qt-mt, fallback to qt
Diffstat (limited to 'scripts/kconfig/Makefile') (more/less context) (show whitespace changes)
-rw-r--r--scripts/kconfig/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index caad231..6782d4a 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -10,33 +10,31 @@ YACC=bison
YFLAGS=-d -t -v
ifndef HOSTQTDIR
ifeq ($(shell if [ -e /usr/share/qt ]; then echo foundit; fi),foundit)
HOSTQTDIR=/usr/share/qt
else
ifeq ($(shell if [ -e /usr/lib/qt ]; then echo foundit; fi),foundit)
HOSTQTDIR=/usr/lib/qt
endif
endif
endif
ifndef QTLIB
-ifeq ($(shell if [ -e $(HOSTQTDIR)/lib/libqt.so ]; then echo foundit; fi),foundit)
-QTLIB=-lqt
-else
ifeq ($(shell if [ -e $(HOSTQTDIR)/lib/libqt-mt.so ]; then echo foundit; fi),foundit)
QTLIB=-lqt-mt
else
-QTLIB=-lqt
+ifneq ($(shell if [ -e $(HOSTQTDIR)/lib/libqt.so ]; then echo foundit; fi),foundit)
$(warning Unable to locate libqt.so!)
endif
+QTLIB=-lqt
endif
endif
MOC=$(wildcard $(HOSTQTDIR)/bin/moc)
parse_SRC=zconf.y
conf_SRC=conf.c $(parse_SRC)
mconf_SRC=mconf.c $(parse_SRC)
qconf_SRC=qconf.cc
lkcc_SRC=cml1.y cml1.l help.l cml1.h expr1.c
HDR=expr.h lkc.h lkc_proto.h qconf.h
OTHER=README lkc_spec lkc_overview Makefile.kernel convert-all prepare-all.diff fixup-all.diff \