- Timestamp:
- Jan 28, 2016 1:21:41 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/units/qt5.kmk
r2806 r2807 128 128 # Now for the libraries (mostly for helping out finding the KBUILD_TARGET libs). 129 129 ifeq ($(PATH_SDK_QT5_LIB.x86),) 130 PATH_SDK_QT5_LIB.x86 := $(patsubst %/libQt Core$(SUFF_DLL),%,$(firstword $(wildcard \131 $(PATH_SDK_QT5)/lib32/libQt Core$(SUFF_DLL) \132 $(PATH_SDK_QT5)/lib32/qt5/libQt Core$(SUFF_DLL) \133 /usr/lib32/libQt Core$(SUFF_DLL) \134 /usr/lib32/qt5/libQt Core$(SUFF_DLL) \135 /usr/lib/i386-linux-gnu/libQt Core$(SUFF_DLL) \136 /usr/local/lib32/libQt Core$(SUFF_DLL) \137 /usr/local/lib32/qt5/libQt Core$(SUFF_DLL) \138 /usr/local/lib/i386-linux-gnu/libQt Core$(SUFF_DLL) \139 $(PATH_SDK_QT5)/lib/libQt Core$(SUFF_DLL) \140 $(PATH_SDK_QT5)/lib/qt5/libQt Core$(SUFF_DLL) \141 $(PATH_SDK_QT5)/lib/i386-linux-gnu/libQt Core$(SUFF_DLL) \130 PATH_SDK_QT5_LIB.x86 := $(patsubst %/libQt5Core$(SUFF_DLL),%,$(firstword $(wildcard \ 131 $(PATH_SDK_QT5)/lib32/libQt5Core$(SUFF_DLL) \ 132 $(PATH_SDK_QT5)/lib32/qt5/libQt5Core$(SUFF_DLL) \ 133 /usr/lib32/libQt5Core$(SUFF_DLL) \ 134 /usr/lib32/qt5/libQt5Core$(SUFF_DLL) \ 135 /usr/lib/i386-linux-gnu/libQt5Core$(SUFF_DLL) \ 136 /usr/local/lib32/libQt5Core$(SUFF_DLL) \ 137 /usr/local/lib32/qt5/libQt5Core$(SUFF_DLL) \ 138 /usr/local/lib/i386-linux-gnu/libQt5Core$(SUFF_DLL) \ 139 $(PATH_SDK_QT5)/lib/libQt5Core$(SUFF_DLL) \ 140 $(PATH_SDK_QT5)/lib/qt5/libQt5Core$(SUFF_DLL) \ 141 $(PATH_SDK_QT5)/lib/i386-linux-gnu/libQt5Core$(SUFF_DLL) \ 142 142 ))) 143 143 ifneq ($(PATH_SDK_QT5_LIB.x86),) … … 146 146 endif 147 147 ifeq ($(PATH_SDK_QT5_LIB.amd64),) 148 PATH_SDK_QT5_LIB.amd64 := $(patsubst %/libQt Core$(SUFF_DLL),%,$(firstword $(wildcard \149 $(PATH_SDK_QT5)/lib64/libQt Core$(SUFF_DLL) \150 $(PATH_SDK_QT5)/lib64/qt5/libQt Core$(SUFF_DLL) \151 $(PATH_SDK_QT5)/lib/amd64/libQt Core$(SUFF_DLL) \152 /usr/lib64/libQt Core$(SUFF_DLL) \153 /usr/lib64/qt5/libQt Core$(SUFF_DLL) \154 /usr/lib/amd64/libQt Core$(SUFF_DLL) \155 /usr/lib/x86_64-linux-gnu/libQt Core$(SUFF_DLL) \156 /usr/local/lib64/libQt Core$(SUFF_DLL) \157 /usr/local/lib64/qt5/libQt Core$(SUFF_DLL) \158 /usr/local/lib/amd64/libQt Core$(SUFF_DLL) \159 /usr/local/lib/x86_64-linux-gnu/libQt Core$(SUFF_DLL) \160 $(PATH_SDK_QT5)/lib/libQt Core$(SUFF_DLL) \161 $(PATH_SDK_QT5)/lib/qt5/libQt Core$(SUFF_DLL) \162 $(PATH_SDK_QT5)/lib/x86_64-linux-gnu/libQt Core$(SUFF_DLL) \148 PATH_SDK_QT5_LIB.amd64 := $(patsubst %/libQt5Core$(SUFF_DLL),%,$(firstword $(wildcard \ 149 $(PATH_SDK_QT5)/lib64/libQt5Core$(SUFF_DLL) \ 150 $(PATH_SDK_QT5)/lib64/qt5/libQt5Core$(SUFF_DLL) \ 151 $(PATH_SDK_QT5)/lib/amd64/libQt5Core$(SUFF_DLL) \ 152 /usr/lib64/libQt5Core$(SUFF_DLL) \ 153 /usr/lib64/qt5/libQt5Core$(SUFF_DLL) \ 154 /usr/lib/amd64/libQt5Core$(SUFF_DLL) \ 155 /usr/lib/x86_64-linux-gnu/libQt5Core$(SUFF_DLL) \ 156 /usr/local/lib64/libQt5Core$(SUFF_DLL) \ 157 /usr/local/lib64/qt5/libQt5Core$(SUFF_DLL) \ 158 /usr/local/lib/amd64/libQt5Core$(SUFF_DLL) \ 159 /usr/local/lib/x86_64-linux-gnu/libQt5Core$(SUFF_DLL) \ 160 $(PATH_SDK_QT5)/lib/libQt5Core$(SUFF_DLL) \ 161 $(PATH_SDK_QT5)/lib/qt5/libQt5Core$(SUFF_DLL) \ 162 $(PATH_SDK_QT5)/lib/x86_64-linux-gnu/libQt5Core$(SUFF_DLL) \ 163 163 ))) 164 164 ifneq ($(PATH_SDK_QT5_LIB.amd64),) … … 171 171 PATH_SDK_QT5_LIB := $(PATH_SDK_QT5_LIB.$(KBUILD_TARGET_ARCH)) 172 172 ifeq ($(PATH_SDK_QT5_LIB),) 173 PATH_SDK_QT5_LIB := $(patsubst %/libQt Core$(SUFF_DLL),%,$(firstword $(wildcard \174 $(PATH_SDK_QT5)/lib/libQt Core$(SUFF_DLL) \175 $(PATH_SDK_QT5)/lib/qt5/libQt Core$(SUFF_DLL) \176 /usr/lib/libQt Core$(SUFF_DLL) \177 /usr/lib/qt5/libQt Core$(SUFF_DLL) \178 /usr/local/lib/libQt Core$(SUFF_DLL) \179 /usr/local/lib/qt5/libQt Core$(SUFF_DLL) \173 PATH_SDK_QT5_LIB := $(patsubst %/libQt5Core$(SUFF_DLL),%,$(firstword $(wildcard \ 174 $(PATH_SDK_QT5)/lib/libQt5Core$(SUFF_DLL) \ 175 $(PATH_SDK_QT5)/lib/qt5/libQt5Core$(SUFF_DLL) \ 176 /usr/lib/libQt5Core$(SUFF_DLL) \ 177 /usr/lib/qt5/libQt5Core$(SUFF_DLL) \ 178 /usr/local/lib/libQt5Core$(SUFF_DLL) \ 179 /usr/local/lib/qt5/libQt5Core$(SUFF_DLL) \ 180 180 ))) 181 181 endif … … 984 984 else 985 985 ifeq ($(bld_trg),win) 986 $(eval $(target)_LIBS += $(foreach module,$(qt_modules), $(PATH_SDK_QT5_LIB)/$(qt_prefix)Qt $(module)$(qt_infix)4$(SUFF_LIB)) )986 $(eval $(target)_LIBS += $(foreach module,$(qt_modules), $(PATH_SDK_QT5_LIB)/$(qt_prefix)Qt5$(module)$(qt_infix)$(SUFF_LIB)) ) 987 987 ifeq ($(tool_do),LINK_PROGRAM) 988 988 $(eval $(target)_LIBS += $(PATH_SDK_QT5_LIB)/$(qt_prefix)qtmain$(qt_infix)$(SUFF_LIB) ) 989 989 endif 990 990 else 991 $(eval $(target)_LIBS += $(foreach module,$(qt_modules), $(PATH_SDK_QT5_LIB)/lib$(qt_prefix)Qt $(module)$(qt_infix)$(SUFF_DLL)) )991 $(eval $(target)_LIBS += $(foreach module,$(qt_modules), $(PATH_SDK_QT5_LIB)/lib$(qt_prefix)Qt5$(module)$(qt_infix)$(SUFF_DLL)) ) 992 992 endif 993 993 $(eval $(target)_INCS += $(addprefix $(PATH_SDK_QT5_INC)/Qt,$(qt_modules)) $(PATH_SDK_QT5_INC) )
Note:
See TracChangeset
for help on using the changeset viewer.