You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.0 KiB
39 lines
1.0 KiB
TEMPLATE = lib
|
|
CONFIG = qt dll qtopia warn_on release zecke-libqpe zecke-libopie opie-todayplugin
|
|
HEADERS = %{APPNAMELC}.h %{APPNAMELC}widget.h %{APPNAMELC}impl.h
|
|
SOURCES = %{APPNAMELC}.cpp %{APPNAMELC}widget.cpp %{APPNAMELC}impl.cpp
|
|
TARGET = %{APPNAMELC}
|
|
|
|
|
|
QUICK_SPEC_FOO = $$(OPIE_BUILD_QUICK_APP)
|
|
contains( TEMPLATE, quick-template ){
|
|
contains( QUICK_SPEC_FOO, quick-app-lib ){
|
|
message( "foo" )
|
|
system( rm $$TARGET )
|
|
system( ln -s $$(OPIEDIR)/bin/quicklauncher $$TARGET)
|
|
DEFINES += OPIE_APP_INTERFACE
|
|
TEMPLATE = lib
|
|
CONFIG += dll
|
|
}else{
|
|
LI = $$join( TARGET, "lib", "lib", ".so*" )
|
|
system( rm $$LI )
|
|
TEMPLATE = app
|
|
}
|
|
}
|
|
|
|
|
|
QMAKE_LIBDIR= $$(OPIEDIR)/lib
|
|
OPIE-SPEC=6
|
|
|
|
zecke-libqpe {
|
|
INCLUDEPATH += $$(OPIEDIR)/include
|
|
LIBS += -lqpe
|
|
DEPENDPATH += $$(OPIEDIR)/include
|
|
}
|
|
|
|
zecke-libopie {
|
|
INCLUDEPATH += $$(OPIEDIR)/include
|
|
DEPENDPATH += $$(OPIEDIR)/include
|
|
LIBS += -lopie
|
|
}
|