diff options
Diffstat (limited to 'packages/libopie/libopie2')
-rw-r--r-- | packages/libopie/libopie2/include-cvs.pro | 36 | ||||
-rw-r--r-- | packages/libopie/libopie2/include.pro | 36 |
2 files changed, 36 insertions, 36 deletions
diff --git a/packages/libopie/libopie2/include-cvs.pro b/packages/libopie/libopie2/include-cvs.pro deleted file mode 100644 index 119d298ad4..0000000000 --- a/packages/libopie/libopie2/include-cvs.pro +++ /dev/null @@ -1,36 +0,0 @@ -# we don't want to modify subdir .pro's -!contains( TEMPLATE, subdirs ) { -# if it's already a lib, we ignore it -!contains( TEMPLATE, lib ) { - - contains( CONFIG, quick-app ) { - message ( Building a quicklaunch application ) - TEMPLATE = lib - CONFIG += plugin - DEFINES += OPIE_APP_INTERFACE - DEFINES += QUICKAPP_NAME="\"$${TARGET}\"" - - system ( touch visibility_qmake_test.c ) - # Test if the compiler supports visibility - system ( $$(CC) -fvisibility=hidden -c -o visibility_qmake_test.o visibility_qmake_test.c ) { - message ( Your compiler does support visibility, we will use it ) - DEFINES += GCC_SUPPORTS_VISIBILITY - QMAKE_CFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden - QMAKE_CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden - system ( rm visibility_qmake_test.o ) - } - system ( rm visibility_qmake_test.c ) - - } - - !contains ( CONFIG, quick-app ) { - message( Building a standalone application ) - TEMPLATE = app - DEFINES -= OPIE_APP_INTERFACE - DEFINES += QUICKAPP_NAME="\"$${TARGET}\"" - } -} -} - -DEFINES += OPIE_NEW_MALLOC -DEFINES += OPIE_NO_ERASE_RECT_HACKFIX diff --git a/packages/libopie/libopie2/include.pro b/packages/libopie/libopie2/include.pro index e69de29bb2..c76634a239 100644 --- a/packages/libopie/libopie2/include.pro +++ b/packages/libopie/libopie2/include.pro @@ -0,0 +1,36 @@ +# we don't want to modify subdir .pro's +!contains( TEMPLATE, subdirs ) { +# if it's already a lib, we ignore it +!contains( TEMPLATE, lib ) { + + contains( CONFIG, quick-app ) { + message ( Building a quicklaunch application ) + TEMPLATE = lib + CONFIG += plugin + DEFINES += OPIE_APP_INTERFACE + DEFINES += QUICKAPP_NAME="\"$${TARGET}\"" + + system ( touch visibility_qmake_test.c ) + # Test if the compiler supports visibility + system ( $$(CC) -fvisibility=hidden -c -o visibility_qmake_test.o visibility_qmake_test.c ) { + message ( "Your compiler does support visibility, we will use it" ) + DEFINES += GCC_SUPPORTS_VISIBILITY + QMAKE_CFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden + QMAKE_CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden + system ( rm visibility_qmake_test.o ) + } + system ( rm visibility_qmake_test.c ) + + } + + !contains ( CONFIG, quick-app ) { + message( Building a standalone application ) + TEMPLATE = app + DEFINES -= OPIE_APP_INTERFACE + DEFINES += QUICKAPP_NAME="\"$${TARGET}\"" + } +} +} + +DEFINES += OPIE_NEW_MALLOC +DEFINES += OPIE_NO_ERASE_RECT_HACKFIX |