diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2011-12-24 01:50:21 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2011-12-27 13:03:37 +0100 |
commit | 073b50b11ec2f817e2500407019a8a06ee13e2a2 (patch) | |
tree | 2591adfd712eb3af1d38190049f3e79722d71504 /fpicker | |
parent | 6b287bb919017fa96910f68d1a5ee1a05bef0b83 (diff) |
fpicker: convert to gbuild
Diffstat (limited to 'fpicker')
29 files changed, 777 insertions, 921 deletions
diff --git a/fpicker/AllLangResTarget_fps_office.mk b/fpicker/AllLangResTarget_fps_office.mk new file mode 100644 index 000000000000..27e0f85b20a3 --- /dev/null +++ b/fpicker/AllLangResTarget_fps_office.mk @@ -0,0 +1,47 @@ +# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*- +# +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# Major Contributor(s): +# Copyright (C) 2011 Matúš Kukan <matus.kukan@gmail.com> (initial developer) +# +# All Rights Reserved. +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. + +$(eval $(call gb_AllLangResTarget_AllLangResTarget,fps_office)) + +$(eval $(call gb_AllLangResTarget_set_reslocation,fps_office,fpicker)) + +$(eval $(call gb_AllLangResTarget_add_srs,fps_office,\ + fps_office/res \ +)) + +$(eval $(call gb_SrsTarget_SrsTarget,fps_office/res)) + +$(eval $(call gb_SrsTarget_set_include,fps_office/res,\ + $$(INCLUDE) \ +)) + +$(eval $(call gb_SrsTarget_add_files,fps_office/res,\ + fpicker/source/office/OfficeFilePicker.src \ + fpicker/source/office/iodlg.src \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/fpicker/Executable_kdefilepicker.mk b/fpicker/Executable_kdefilepicker.mk new file mode 100644 index 000000000000..1352efdb29cf --- /dev/null +++ b/fpicker/Executable_kdefilepicker.mk @@ -0,0 +1,59 @@ +# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*- +# +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# Major Contributor(s): +# Copyright (C) 2011 Matúš Kukan <matus.kukan@gmail.com> (initial developer) +# +# All Rights Reserved. +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. + +$(eval $(call gb_Executable_Executable,kdefilepicker)) + +$(eval $(call gb_Executable_add_defs,kdefilepicker,\ + $(KDE_CFLAGS) \ +)) + +$(eval $(call gb_Executable_add_linked_libs,kdefilepicker,\ + sal \ + $(gb_STDLIBS) \ +)) + +$(eval $(call gb_Executable_add_libs,kdefilepicker,\ + $(KDE_LIBS) \ + -lkio -lX11 \ +)) + +$(eval $(call gb_Executable_add_exception_objects,kdefilepicker,\ + fpicker/source/unx/kde/kdecommandthread \ + fpicker/source/unx/kde/kdefilepicker \ + fpicker/source/unx/kde/kdefpmain \ + fpicker/source/unx/kde/kdemodalityfilter \ +)) + +$(eval $(call gb_Executable_add_generated_cxxobjects,kdefilepicker,\ + CustomTarget/fpicker/source/unx/kde/kdefilepicker.moc \ +)) + +$(WORKDIR)/CustomTarget/fpicker/source/unx/kde/kdefilepicker.moc.cxx : $(SRCDIR)/fpicker/source/unx/kde/kdefilepicker.hxx + mkdir -p $(dir $@) + $(MOC) $< -o $@ + +# vim: set noet sw=4 ts=4: diff --git a/fpicker/Library_fop.mk b/fpicker/Library_fop.mk new file mode 100644 index 000000000000..2d6091d103ab --- /dev/null +++ b/fpicker/Library_fop.mk @@ -0,0 +1,67 @@ +# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*- +# +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# Major Contributor(s): +# Copyright (C) 2011 Matúš Kukan <matus.kukan@gmail.com> (initial developer) +# +# All Rights Reserved. +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. + +$(eval $(call gb_Library_Library,fop)) + +$(eval $(call gb_Library_set_componentfile,fop,fpicker/util/fop)) + +$(eval $(call gb_Library_add_api,fop,\ + offapi \ + udkapi \ +)) + +$(eval $(call gb_Library_add_defs,fop,\ + -DUNICODE \ + -D_UNICODE \ +)) + +$(eval $(call gb_Library_add_linked_libs,fop,\ + comphelper \ + cppu \ + cppuhelper \ + sal \ + tl \ + vcl \ + advapi32 \ + gdi32 \ + ole32 \ + oleaut32 \ + shell32 \ + $(gb_STDLIBS) \ +)) + +$(eval $(call gb_Library_add_exception_objects,fop,\ + fpicker/source/win32/folderpicker/FolderPicker \ + fpicker/source/win32/folderpicker/Fopentry \ + fpicker/source/win32/folderpicker/MtaFop \ + fpicker/source/win32/folderpicker/WinFOPImpl \ + fpicker/source/win32/misc/AutoBuffer \ + fpicker/source/win32/misc/resourceprovider \ + fpicker/source/win32/misc/WinImplHelper \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/fpicker/Library_fpicker.mk b/fpicker/Library_fpicker.mk new file mode 100644 index 000000000000..229b003e5a28 --- /dev/null +++ b/fpicker/Library_fpicker.mk @@ -0,0 +1,57 @@ +# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*- +# +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# Major Contributor(s): +# Copyright (C) 2011 Matúš Kukan <matus.kukan@gmail.com> (initial developer) +# +# All Rights Reserved. +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. + +$(eval $(call gb_Library_Library,fpicker)) + +$(eval $(call gb_Library_set_componentfile,fpicker,fpicker/source/generic/fpicker)) + +$(eval $(call gb_Library_add_api,fpicker,\ + offapi \ + udkapi \ +)) + +$(eval $(call gb_Library_add_linked_libs,fpicker,\ + cppu \ + cppuhelper \ + sal \ + svl \ + svt \ + vcl \ + $(gb_STDLIBS) \ +)) + +ifeq ($(OS),WNT) +$(eval $(call gb_Library_add_linked_static_libs,fpicker,\ + odma_lib \ +)) +endif + +$(eval $(call gb_Library_add_exception_objects,fpicker,\ + fpicker/source/generic/fpicker \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/fpicker/Library_fps.mk b/fpicker/Library_fps.mk new file mode 100644 index 000000000000..85245e3ce188 --- /dev/null +++ b/fpicker/Library_fps.mk @@ -0,0 +1,101 @@ +# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*- +# +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# Major Contributor(s): +# Copyright (C) 2011 Matúš Kukan <matus.kukan@gmail.com> (initial developer) +# +# All Rights Reserved. +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. + +$(eval $(call gb_Library_Library,fps)) + +$(eval $(call gb_Library_add_nativeres,fps,fps/src)) + +$(eval $(call gb_Library_set_componentfile,fps,fpicker/util/fps)) + +$(eval $(call gb_Library_add_api,fps,\ + offapi \ + udkapi \ +)) + +$(eval $(call gb_Library_add_defs,fps,\ + -D_UNICODE \ + -DUNICODE \ + -U_WIN32_WINNT \ + -D_WIN32_WINNT=0x0600 \ +)) + +$(eval $(call gb_Library_add_linked_libs,fps,\ + cppu \ + cppuhelper \ + sal \ + tl \ + utl \ + vcl \ + advapi32 \ + comdlg32 \ + gdi32 \ + kernel32 \ + ole32 \ + oleaut32 \ + shell32 \ + uuid \ + $(gb_STDLIBS) \ +)) + +ifeq ($(COM),MSC) +$(eval $(call gb_Library_add_libs,fps,\ + Delayimp.lib /DELAYLOAD:shell32.dll +)) +endif + +$(eval $(call gb_Library_add_exception_objects,fps,\ + fpicker/source/win32/filepicker/asynceventnotifier \ + fpicker/source/win32/filepicker/asyncrequests \ + fpicker/source/win32/filepicker/controlaccess \ + fpicker/source/win32/filepicker/controlcommand \ + fpicker/source/win32/filepicker/customcontrolcontainer \ + fpicker/source/win32/filepicker/customcontrol \ + fpicker/source/win32/filepicker/customcontrolfactory \ + fpicker/source/win32/filepicker/dialogcustomcontrols \ + fpicker/source/win32/filepicker/dibpreview \ + fpicker/source/win32/filepicker/FileOpenDlg \ + fpicker/source/win32/filepicker/FilePicker \ + fpicker/source/win32/filepicker/filepickereventnotification \ + fpicker/source/win32/filepicker/filepickerstate \ + fpicker/source/win32/filepicker/FilterContainer \ + fpicker/source/win32/filepicker/FPentry \ + fpicker/source/win32/filepicker/getfilenamewrapper \ + fpicker/source/win32/filepicker/helppopupwindow \ + fpicker/source/win32/filepicker/previewadapter \ + fpicker/source/win32/filepicker/previewbase \ + fpicker/source/win32/filepicker/SolarMutex \ + fpicker/source/win32/filepicker/VistaFilePicker \ + fpicker/source/win32/filepicker/VistaFilePickerEventHandler \ + fpicker/source/win32/filepicker/VistaFilePickerImpl \ + fpicker/source/win32/filepicker/WinFileOpenImpl \ + fpicker/source/win32/misc/AutoBuffer \ + fpicker/source/win32/misc/resourceprovider \ + fpicker/source/win32/misc/WinImplHelper \ +)) +# fpicker/source/win32/filepicker/PreviewCtrl \ + +# vim: set noet sw=4 ts=4: diff --git a/fpicker/Library_fps_aqua.mk b/fpicker/Library_fps_aqua.mk new file mode 100644 index 000000000000..ca39922482e2 --- /dev/null +++ b/fpicker/Library_fps_aqua.mk @@ -0,0 +1,60 @@ +# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*- +# +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# Major Contributor(s): +# Copyright (C) 2011 Matúš Kukan <matus.kukan@gmail.com> (initial developer) +# +# All Rights Reserved. +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. + +$(eval $(call gb_Library_Library,fps_aqua)) + +$(eval $(call gb_Library_set_componentfile,fps_aqua,fpicker/source/aqua/fps_aqua)) + +$(eval $(call gb_Library_add_api,fps_aqua,\ + offapi \ + udkapi \ +)) + +$(eval $(call gb_Library_add_linked_libs,fps_aqua,\ + cppu \ + cppuhelper \ + sal \ + tl \ + vcl \ + $(gb_STDLIBS) \ +)) + +$(eval $(call gb_Library_add_objcxxobjects,fps_aqua,\ + fpicker/source/aqua/AquaFilePickerDelegate \ + fpicker/source/aqua/CFStringUtilities \ + fpicker/source/aqua/ControlHelper \ + fpicker/source/aqua/FilterHelper \ + fpicker/source/aqua/FPentry \ + fpicker/source/aqua/NSString_OOoAdditions \ + fpicker/source/aqua/NSURL_OOoAdditions \ + fpicker/source/aqua/resourceprovider \ + fpicker/source/aqua/SalAquaFilePicker \ + fpicker/source/aqua/SalAquaFolderPicker \ + fpicker/source/aqua/SalAquaPicker \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/fpicker/Library_fps_kde.mk b/fpicker/Library_fps_kde.mk new file mode 100644 index 000000000000..5624fd646754 --- /dev/null +++ b/fpicker/Library_fps_kde.mk @@ -0,0 +1,51 @@ +# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*- +# +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# Major Contributor(s): +# Copyright (C) 2011 Matúš Kukan <matus.kukan@gmail.com> (initial developer) +# +# All Rights Reserved. +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. + +$(eval $(call gb_Library_Library,fps_kde)) + +$(eval $(call gb_Library_add_api,fps_kde,\ + offapi \ + udkapi \ +)) + +$(eval $(call gb_Library_add_linked_libs,fps_kde,\ + cppu \ + cppuhelper \ + sal \ + tl \ + vcl \ + $(gb_STDLIBS) \ +)) + +$(eval $(call gb_Library_add_exception_objects,fps_kde,\ + fpicker/source/unx/kde_unx/UnxCommandThread \ + fpicker/source/unx/kde_unx/UnxFilePicker \ + fpicker/source/unx/kde_unx/UnxFPentry \ + fpicker/source/unx/kde_unx/UnxNotifyThread \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/fpicker/Library_fps_kde4.mk b/fpicker/Library_fps_kde4.mk new file mode 100644 index 000000000000..db41506d27a5 --- /dev/null +++ b/fpicker/Library_fps_kde4.mk @@ -0,0 +1,68 @@ +# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*- +# +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# Major Contributor(s): +# Copyright (C) 2011 Matúš Kukan <matus.kukan@gmail.com> (initial developer) +# +# All Rights Reserved. +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. + +$(eval $(call gb_Library_Library,fps_kde4)) + +$(eval $(call gb_Library_set_componentfile,fps_kde4,fpicker/source/unx/kde4/fps_kde4)) + +$(eval $(call gb_Library_add_api,fps_kde4,\ + offapi \ + udkapi \ +)) + +$(eval $(call gb_Library_add_defs,fps_kde4,\ + $(KDE4_CFLAGS) \ +)) + +$(eval $(call gb_Library_add_linked_libs,fps_kde4,\ + cppu \ + cppuhelper \ + sal \ + tl \ + vcl \ + $(gb_STDLIBS) \ +)) + +$(eval $(call gb_Library_add_libs,fps_kde4,\ + $(KDE4_LIBS) \ + -lkio -lkfile \ +)) + +$(eval $(call gb_Library_add_exception_objects,fps_kde4,\ + fpicker/source/unx/kde4/KDE4FilePicker \ + fpicker/source/unx/kde4/KDE4FPEntry \ +)) + +$(eval $(call gb_Library_add_generated_cxxobjects,fps_kde4,\ + CustomTarget/fpicker/source/unx/kde4/KDE4FilePicker.moc \ +)) + +$(WORKDIR)/CustomTarget/fpicker/source/unx/kde4/KDE4FilePicker.moc.cxx: $(SRCDIR)/fpicker/source/unx/kde4/KDE4FilePicker.hxx + mkdir -p $(dir $@) + $(MOC4) $< -o $@ + +# vim: set noet sw=4 ts=4: diff --git a/fpicker/Library_fps_odma.mk b/fpicker/Library_fps_odma.mk new file mode 100644 index 000000000000..754487601293 --- /dev/null +++ b/fpicker/Library_fps_odma.mk @@ -0,0 +1,62 @@ +# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*- +# +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# Major Contributor(s): +# Copyright (C) 2011 Matúš Kukan <matus.kukan@gmail.com> (initial developer) +# +# All Rights Reserved. +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. + +$(eval $(call gb_Library_Library,fps_odma)) + +$(eval $(call gb_Library_add_api,fps_odma,\ + offapi \ + udkapi \ +)) + +$(eval $(call gb_Library_add_linked_libs,fps_odma,\ + comphelper \ + cppu \ + cppuhelper \ + sal \ + svl \ + svt \ + tk \ + tl \ + ucbhelper \ + utl \ + vcl \ + $(gb_STDLIBS) \ +)) + +ifeq ($(OS),WNT) +$(eval $(call gb_Library_add_linked_static_libs,fps_odma,\ + odma_lib \ +)) +endif + +$(eval $(call gb_Library_add_exception_objects,fps_odma,\ + fpicker/source/odma/fps_odma \ + fpicker/source/odma/ODMAFilePicker \ + fpicker/source/odma/ODMAFolderPicker \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/fpicker/Library_fps_office.mk b/fpicker/Library_fps_office.mk new file mode 100644 index 000000000000..1d5b6a18a54a --- /dev/null +++ b/fpicker/Library_fps_office.mk @@ -0,0 +1,65 @@ +# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*- +# +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# Major Contributor(s): +# Copyright (C) 2011 Matúš Kukan <matus.kukan@gmail.com> (initial developer) +# +# All Rights Reserved. +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. + +$(eval $(call gb_Library_Library,fps_office)) + +$(eval $(call gb_Library_set_componentfile,fps_office,fpicker/source/office/fps_office)) + +$(eval $(call gb_Library_add_api,fps_office,\ + offapi \ + udkapi \ +)) + +$(eval $(call gb_Library_add_linked_libs,fps_office,\ + comphelper \ + cppu \ + cppuhelper \ + sal \ + svl \ + svt \ + tk \ + tl \ + ucbhelper \ + utl \ + vcl \ + $(gb_STDLIBS) \ +)) + +$(eval $(call gb_Library_add_exception_objects,fps_office,\ + fpicker/source/office/asyncfilepicker \ + fpicker/source/office/commonpicker \ + fpicker/source/office/fpinteraction \ + fpicker/source/office/fpsmartcontent \ + fpicker/source/office/fps_office \ + fpicker/source/office/iodlg \ + fpicker/source/office/iodlgimp \ + fpicker/source/office/OfficeControlAccess \ + fpicker/source/office/OfficeFilePicker \ + fpicker/source/office/OfficeFolderPicker \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/fpicker/inc/makefile.mk b/fpicker/Makefile index 46244439f075..7bbbe6c703e6 100644 --- a/fpicker/inc/makefile.mk +++ b/fpicker/Makefile @@ -1,3 +1,4 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- #************************************************************************* # # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -24,16 +25,16 @@ # for a copy of the LGPLv3 License. # #************************************************************************* -PRJ=.. -PRJNAME=fpicker -TARGET=inc +gb_PARTIALBUILD := T +ifeq ($(strip $(SOLARENV)),) +include $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/../solenv/gbuild/source_and_rerun.mk +else -# --- Settings ----------------------------------------------------- +gb_SourceEnvAndRecurse_STAGE=gbuild +include $(SOLARENV)/gbuild/gbuild.mk -.INCLUDE : settings.mk +$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk))) -# --- Files -------------------------------------------------------- -# --- Targets ------------------------------------------------------- - -.INCLUDE : target.mk +endif +# vim: set noet sw=4 ts=4: diff --git a/fpicker/Module_fpicker.mk b/fpicker/Module_fpicker.mk new file mode 100644 index 000000000000..133eebfd2b6b --- /dev/null +++ b/fpicker/Module_fpicker.mk @@ -0,0 +1,59 @@ +# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*- +# +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# Major Contributor(s): +# Copyright (C) 2011 Matúš Kukan <matus.kukan@gmail.com> (initial developer) +# +# All Rights Reserved. +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. + +$(eval $(call gb_Module_Module,fpicker)) + +ifneq ($(filter DESKTOP,$(BUILD_TYPE)),) + +$(eval $(call gb_Module_add_targets,fpicker,\ + AllLangResTarget_fps_office \ + Library_fpicker \ + Library_fps_office \ + $(if $(filter $(GUIBASE),aqua), \ + Library_fps_aqua \ + ) \ + $(if $(filter $(OS),WNT), \ + Library_fps_odma \ + Library_fop \ + Library_fps \ + Package_xml \ + WinResTarget_fps \ + ) \ + $(if $(filter $(GUIBASE),unx), \ + $(if $(filter $(ENABLE_KDE),TRUE), \ + Executable_kdefilepicker \ + Library_fps_kde \ + ) \ + $(if $(filter $(ENABLE_KDE4),TRUE), \ + Library_fps_kde4 \ + ) \ + ) \ +)) + +endif + +# vim: set noet sw=4 ts=4: diff --git a/fpicker/Package_xml.mk b/fpicker/Package_xml.mk new file mode 100644 index 000000000000..75a710c20ec9 --- /dev/null +++ b/fpicker/Package_xml.mk @@ -0,0 +1,33 @@ +# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*- +# +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# Major Contributor(s): +# Copyright (C) 2011 Matúš Kukan <matus.kukan@gmail.com> (initial developer) +# +# All Rights Reserved. +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. + +$(eval $(call gb_Package_Package,fpicker_xml,$(SRCDIR)/fpicker/source/win32)) + +$(eval $(call gb_Package_add_file,fpicker_xml,xml/fps.xml,filepicker/fps.xml)) +$(eval $(call gb_Package_add_file,fpicker_xml,xml/fop.xml,folderpicker/fop.xml)) + +# vim: set noet sw=4 ts=4: diff --git a/fpicker/WinResTarget_fps.mk b/fpicker/WinResTarget_fps.mk new file mode 100644 index 000000000000..2720a48fc2ba --- /dev/null +++ b/fpicker/WinResTarget_fps.mk @@ -0,0 +1,36 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# Major Contributor(s): +# Copyright (C) 2011 Red Hat, Inc., David Tardon <dtardon@redhat.com> +# (initial developer) +# +# All Rights Reserved. +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. + +$(eval $(call gb_WinResTarget_WinResTarget,fps/src)) + +$(eval $(call gb_WinResTarget_set_include,fps/src,\ + $$(INCLUDE) \ +)) + +$(eval $(call gb_WinResTarget_add_file,fps/src,fpicker/source/win32/filepicker/Fps)) + +# vim: set ts=4 sw=4 et: diff --git a/fpicker/prj/build.lst b/fpicker/prj/build.lst index 4e74e59eff82..6c6a8928a413 100644 --- a/fpicker/prj/build.lst +++ b/fpicker/prj/build.lst @@ -1,13 +1,2 @@ fp fpicker : LIBXSLT:libxslt TRANSLATIONS:translations DESKTOP:rdbmaker svtools ucb NULL -fp fpicker\inc nmake - all fp_inc NULL -fp fpicker\source\generic nmake - all fp_generic fp_inc NULL -fp fpicker\source\office nmake - all fp_office fp_inc NULL -fp fpicker\source\odma nmake - w fp_odma NULL -fp fpicker\source\unx\kde4 nmake - u fp_kde4_filepicker fp_inc NULL -fp fpicker\source\unx\kde_unx nmake - u fp_unx_common fp_inc NULL -fp fpicker\source\unx\kde nmake - u fp_unx_kde_filepicker fp_inc NULL -fp fpicker\source\aqua nmake - u fp_macosx_filepicker NULL -fp fpicker\source\win32\filepicker nmake - w fp_win32_filepicker fp_inc NULL -fp fpicker\source\win32\folderpicker nmake - w fp_win32_folderpicker fp_inc NULL -fp fpicker\source\win32\misc nmake - w fp_win32_misc fp_win32_filepicker.w fp_win32_folderpicker.w fp_inc NULL -fp fpicker\util nmake - all fp_util fp_unx_common.u fp_unx_kde_filepicker.u fp_win32_filepicker.w fp_win32_misc.w fp_win32_folderpicker.w NULL +fp fpicker\prj nmake - all fp_prj NULL diff --git a/fpicker/prj/d.lst b/fpicker/prj/d.lst index 71ec5655163c..e69de29bb2d1 100644 --- a/fpicker/prj/d.lst +++ b/fpicker/prj/d.lst @@ -1,13 +0,0 @@ -mkdir: %COMMON_DEST%\bin\hid - -..\%COMMON_OUTDIR%\misc\*.hid %COMMON_DEST%\bin\hid\*.hid - -..\%__SRC%\bin\f*.res %_DEST%\bin\ -..\%__SRC%\bin\f*.dll %_DEST%\bin\ -..\%__SRC%\bin\kdefilepicker %_DEST%\bin\kdefilepicker -..\%__SRC%\lib\f*.so %_DEST%\lib\ -..\%__SRC%\lib\*.dylib %_DEST%\lib\*.dylib - -..\source\win32\filepicker\*.xml %_DEST%\xml\*.xml -..\source\win32\folderpicker\*.xml %_DEST%\xml\*.xml -..\%__SRC%\misc\*.component %_DEST%\xml\*.component diff --git a/fpicker/prj/makefile.mk b/fpicker/prj/makefile.mk new file mode 100644 index 000000000000..0997622e00f6 --- /dev/null +++ b/fpicker/prj/makefile.mk @@ -0,0 +1 @@ +.INCLUDE : gbuildbridge.mk diff --git a/fpicker/source/aqua/makefile.mk b/fpicker/source/aqua/makefile.mk deleted file mode 100644 index ff0473c8a71e..000000000000 --- a/fpicker/source/aqua/makefile.mk +++ /dev/null @@ -1,93 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/.. - -PRJNAME=fpicker -TARGET=fps_aqua.uno -TARGETTYPE=GUI -LIBTARGET=NO -ENABLE_EXCEPTIONS=TRUE - -# --- Settings ----------------------------------------------------- - -.INCLUDE : settings.mk - -DLLPRE= - -# ------------------------------------------------------------------ - -.IF "$(GUIBASE)" != "aqua" - -dummy: - @echo "Nothing to build. GUIBASE == $(GUIBASE)" - -.ELSE # we build for aqua -CFLAGSCXX+=$(OBJCXXFLAGS) - -# --- Files -------------------------------------------------------- - -SLOFILES =\ - $(SLO)$/resourceprovider.obj \ - $(SLO)$/FPentry.obj \ - $(SLO)$/SalAquaPicker.obj \ - $(SLO)$/SalAquaFilePicker.obj \ - $(SLO)$/SalAquaFolderPicker.obj \ - $(SLO)$/CFStringUtilities.obj \ - $(SLO)$/FilterHelper.obj \ - $(SLO)$/ControlHelper.obj \ - $(SLO)$/NSString_OOoAdditions.obj \ - $(SLO)$/NSURL_OOoAdditions.obj \ - $(SLO)$/AquaFilePickerDelegate.obj - -SHL1NOCHECK=TRUE -SHL1TARGET= $(TARGET) -SHL1OBJS= $(SLOFILES) -SHL1STDLIBS=\ - $(VCLLIB) \ - $(TOOLSLIB) \ - $(CPPUHELPERLIB) \ - $(CPPULIB) \ - $(SALLIB) - -SHL1VERSIONMAP=$(SOLARENV)/src/component.map -SHL1DEF= $(MISC)$/$(SHL1TARGET).def -DEF1NAME=$(SHL1TARGET) - -.ENDIF # "$(GUIBASE)" != "aqua" - -# --- Targets ------------------------------------------------------ - -.INCLUDE : target.mk - -ALLTAR : $(MISC)/fps_aqua.component - -$(MISC)/fps_aqua.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ - fps_aqua.component - $(XSLTPROC) --nonet --stringparam uri \ - '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ - $(SOLARENV)/bin/createcomponent.xslt fps_aqua.component diff --git a/fpicker/source/generic/makefile.mk b/fpicker/source/generic/makefile.mk deleted file mode 100644 index 29f900ac41da..000000000000 --- a/fpicker/source/generic/makefile.mk +++ /dev/null @@ -1,71 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/.. - -PRJNAME=fpicker -TARGET=fpicker.uno -LIBTARGET=NO -ENABLE_EXCEPTIONS=TRUE - -# --- Settings ----------------------------------------------------- - -.INCLUDE : settings.mk -DLLPRE= - -# --- Files -------------------------------------------------------- - -SLOFILES= \ - $(SLO)$/fpicker.obj - -SHL1TARGET= $(TARGET) -SHL1IMPLIB= i$(TARGET) -SHL1OBJS= $(SLOFILES) -SHL1STDLIBS=\ - $(ODMA_LIB_LIB) \ - $(VCLLIB) \ - $(SVLLIB) \ - $(SVTOOLLIB) \ - $(CPPUHELPERLIB) \ - $(CPPULIB) \ - $(SALLIB) - -SHL1VERSIONMAP=$(SOLARENV)/src/component.map -SHL1DEF= $(MISC)$/$(SHL1TARGET).def -DEF1NAME= $(SHL1TARGET) - -# --- Targets ------------------------------------------------------ - -.INCLUDE : target.mk - -ALLTAR : $(MISC)/fpicker.component - -$(MISC)/fpicker.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ - fpicker.component - $(XSLTPROC) --nonet --stringparam uri \ - '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ - $(SOLARENV)/bin/createcomponent.xslt fpicker.component diff --git a/fpicker/source/odma/makefile.mk b/fpicker/source/odma/makefile.mk deleted file mode 100644 index 3cc62d6f94c4..000000000000 --- a/fpicker/source/odma/makefile.mk +++ /dev/null @@ -1,72 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# Copyright 2010 Novell, Inc. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/.. - -PRJNAME=fpicker -TARGET=fps_odma -LIBTARGET=NO -ENABLE_EXCEPTIONS=TRUE -GEN_HID=TRUE - -# --- Settings ----------------------------------------------------- - -.INCLUDE : settings.mk -DLLPRE= - -# --- Files -------------------------------------------------------- - -SLOFILES=\ - $(SLO)$/ODMAFilePicker.obj \ - $(SLO)$/ODMAFolderPicker.obj \ - $(SLO)$/fps_odma.obj - -SHL1TARGET= $(TARGET).uno -SHL1IMPLIB= i$(TARGET) -SHL1OBJS= $(SLOFILES) -SHL1STDLIBS=\ - $(ODMA_LIB_LIB) \ - $(SVTOOLLIB) \ - $(TKLIB) \ - $(VCLLIB) \ - $(SVLLIB) \ - $(UNOTOOLSLIB) \ - $(TOOLSLIB) \ - $(UCBHELPERLIB) \ - $(COMPHELPERLIB) \ - $(CPPUHELPERLIB) \ - $(CPPULIB) \ - $(SALLIB) - -SHL1VERSIONMAP=exports.map -SHL1DEF= $(MISC)$/$(SHL1TARGET).def -DEF1NAME= $(SHL1TARGET) - -# --- Targets ------------------------------------------------------ - -.INCLUDE : target.mk diff --git a/fpicker/source/office/makefile.mk b/fpicker/source/office/makefile.mk deleted file mode 100644 index 7481fd867ca7..000000000000 --- a/fpicker/source/office/makefile.mk +++ /dev/null @@ -1,96 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/.. - -PRJNAME=fpicker -TARGET=fps_office -LIBTARGET=NO -ENABLE_EXCEPTIONS=TRUE -VISIBILITY_HIDDEN=TRUE -GEN_HID=TRUE - -# --- Settings ----------------------------------------------------- - -.INCLUDE : settings.mk -DLLPRE= - -# --- Files -------------------------------------------------------- - -SLOFILES=\ - $(SLO)$/asyncfilepicker.obj \ - $(SLO)$/commonpicker.obj \ - $(SLO)$/OfficeControlAccess.obj \ - $(SLO)$/OfficeFilePicker.obj \ - $(SLO)$/OfficeFolderPicker.obj \ - $(SLO)$/fpinteraction.obj \ - $(SLO)$/fpsmartcontent.obj \ - $(SLO)$/fps_office.obj \ - $(SLO)$/iodlg.obj \ - $(SLO)$/iodlgimp.obj - -SHL1TARGET= $(TARGET).uno -SHL1IMPLIB= i$(TARGET) -SHL1OBJS= $(SLOFILES) -SHL1STDLIBS=\ - $(SVTOOLLIB) \ - $(TKLIB) \ - $(VCLLIB) \ - $(SVLLIB) \ - $(UNOTOOLSLIB) \ - $(TOOLSLIB) \ - $(UCBHELPERLIB) \ - $(COMPHELPERLIB) \ - $(CPPUHELPERLIB) \ - $(CPPULIB) \ - $(SALLIB) - -SHL1VERSIONMAP=$(SOLARENV)/src/component.map -SHL1DEF= $(MISC)$/$(SHL1TARGET).def -DEF1NAME= $(SHL1TARGET) - -SRS1NAME= $(TARGET) -SRC1FILES= \ - OfficeFilePicker.src \ - iodlg.src - -RESLIB1NAME=$(TARGET) -RESLIB1IMAGES=$(PRJ)$/res -RESLIB1SRSFILES=\ - $(SRS)$/fps_office.srs - -# --- Targets ------------------------------------------------------ - -.INCLUDE : target.mk - -ALLTAR : $(MISC)/fps_office.component - -$(MISC)/fps_office.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ - fps_office.component - $(XSLTPROC) --nonet --stringparam uri \ - '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ - $(SOLARENV)/bin/createcomponent.xslt fps_office.component diff --git a/fpicker/source/unx/kde/makefile.mk b/fpicker/source/unx/kde/makefile.mk deleted file mode 100644 index 1548d7b2db85..000000000000 --- a/fpicker/source/unx/kde/makefile.mk +++ /dev/null @@ -1,77 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2010 Novell, Inc. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/..$/.. - -PRJNAME=fpicker -TARGET=kdefilepicker -LIBTARGET=NO -ENABLE_EXCEPTIONS=TRUE -EXTERNAL_WARNINGS_NOT_ERRORS=TRUE - -# --- Settings ----------------------------------------------------- - -.INCLUDE : settings.mk - -# ------------------------------------------------------------------ - -.IF "$(GUIBASE)" != "unx" || "$(ENABLE_KDE)" != "TRUE" - -dummy: - @echo "Nothing to build. GUIBASE == $(GUIBASE), ENABLE_KDE is not set" - -.ELSE # we build for KDE - -CFLAGS+= $(KDE_CFLAGS) - -.IF "$(COM)" == "GCC" -CFLAGSCXX+=-Wno-shadow -.ENDIF - -# --- Files -------------------------------------------------------- - -SLOFILES =\ - $(SLO)$/kdecommandthread.obj \ - $(SLO)$/kdefilepicker.obj \ - $(SLO)$/kdefilepicker.moc.obj \ - $(SLO)$/kdefpmain.obj \ - $(SLO)$/kdemodalityfilter.obj - -APP1TARGET=$(TARGET) -APP1OBJS=$(SLOFILES) -APP1RPATH=OOO -APP1LINKFLAGS=$(KDE_LIBS) -lkio -lX11 -APP1STDLIBS=$(SALLIB) - -.ENDIF # "$(GUIBASE)" != "unx" || "$(ENABLE_KDE)" != "TRUE" - -# --- Targets ------------------------------------------------------ - -.INCLUDE : target.mk - -$(MISC)$/kdefilepicker.moc.cxx : kdefilepicker.hxx - $(MOC) $< -o $@ diff --git a/fpicker/source/unx/kde4/makefile.mk b/fpicker/source/unx/kde4/makefile.mk deleted file mode 100644 index 7ccf6df6a0ce..000000000000 --- a/fpicker/source/unx/kde4/makefile.mk +++ /dev/null @@ -1,90 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/..$/.. - -PRJNAME=fpicker -TARGET=fps_kde4.uno -LIBTARGET=NO -ENABLE_EXCEPTIONS=TRUE - -# --- Settings ----------------------------------------------------- - -.INCLUDE : settings.mk -DLLPRE= - -# ------------------------------------------------------------------ - -# Currently just KDE is supported... -.IF "$(GUIBASE)" != "unx" || "$(ENABLE_KDE4)" != "TRUE" - -dummy: - @echo "Nothing to build. GUIBASE == $(GUIBASE), ENABLE_KDE4 is not set" - -.ELSE # we build for KDE - -CFLAGS+= $(KDE4_CFLAGS) - -# --- Files -------------------------------------------------------- - -SLOFILES =\ - $(SLO)$/KDE4FilePicker.obj \ - $(SLO)$/KDE4FilePicker.moc.obj \ - $(SLO)$/KDE4FPEntry.obj - -SHL1NOCHECK=TRUE -SHL1TARGET=$(TARGET) -SHL1STDLIBS=$(CPPULIB)\ - $(CPPUHELPERLIB)\ - $(SALLIB)\ - $(VCLLIB)\ - $(TOOLSLIB) \ - $(KDE4_LIBS) -lkio -lkfile - - -SHL1OBJS=$(SLOFILES) -SHL1DEF=$(MISC)$/$(SHL1TARGET).def - -DEF1NAME=$(SHL1TARGET) -DEF1VERSIONMAP=exports.map - -.ENDIF - -# --- Targets ------------------------------------------------------ - -.INCLUDE : target.mk - -$(MISC)$/KDE4FilePicker.moc.cxx : KDE4FilePicker.hxx - $(MOC4) $< -o $@ - -ALLTAR : $(MISC)/fps_kde4.component - -$(MISC)/fps_kde4.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ - fps_kde4.component - $(XSLTPROC) --nonet --stringparam uri \ - '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ - $(SOLARENV)/bin/createcomponent.xslt fps_kde4.component diff --git a/fpicker/source/unx/kde_unx/makefile.mk b/fpicker/source/unx/kde_unx/makefile.mk deleted file mode 100644 index 067399bf0837..000000000000 --- a/fpicker/source/unx/kde_unx/makefile.mk +++ /dev/null @@ -1,77 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# Copyright 2010 Novell, Inc. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/..$/.. - -PRJNAME=fpicker -TARGET=fps_kde.uno -LIBTARGET=NO -ENABLE_EXCEPTIONS=TRUE - -# --- Settings ----------------------------------------------------- - -.INCLUDE : settings.mk -DLLPRE= - -# ------------------------------------------------------------------ - -# Currently just KDE is supported... -.IF "$(GUIBASE)" != "unx" || "$(ENABLE_KDE)" != "TRUE" - -dummy: - @echo "Nothing to build. GUIBASE == $(GUIBASE), ENABLE_KDE is not set" - -.ELSE # we build for KDE - -# --- Files -------------------------------------------------------- - -SLOFILES =\ - $(SLO)$/UnxCommandThread.obj \ - $(SLO)$/UnxFilePicker.obj \ - $(SLO)$/UnxNotifyThread.obj \ - $(SLO)$/UnxFPentry.obj - -SHL1NOCHECK=TRUE -SHL1TARGET=fps_kde.uno -SHL1STDLIBS=$(CPPULIB)\ - $(CPPUHELPERLIB)\ - $(SALLIB)\ - $(VCLLIB)\ - $(TOOLSLIB) - -SHL1OBJS=$(SLOFILES) -SHL1DEF=$(MISC)$/$(SHL1TARGET).def - -DEF1NAME=$(SHL1TARGET) -DEF1VERSIONMAP=$(SOLARENV)/src/component.map - -.ENDIF # "$(GUIBASE)" != "unx" || "$(ENABLE_KDE)" != "TRUE" - -# --- Targets ------------------------------------------------------ - -.INCLUDE : target.mk diff --git a/fpicker/source/win32/filepicker/makefile.mk b/fpicker/source/win32/filepicker/makefile.mk deleted file mode 100644 index 32ecc8618dcd..000000000000 --- a/fpicker/source/win32/filepicker/makefile.mk +++ /dev/null @@ -1,80 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/..$/.. - -PRJNAME=fpicker -TARGET=fps -ENABLE_EXCEPTIONS=TRUE -COMP1TYPELIST=$(TARGET) - -# --- Settings ----------------------------------------------------- - -.INCLUDE : settings.mk - -# ------------------------------------------------------------------ - -CDEFS+=-D_UNICODE -CDEFS+=-DUNICODE -CDEFS+=-U_WIN32_WINNT -D_WIN32_WINNT=0x0600 - -# --- Resources ---------------------------------------------------- - -.IF "$(GUI)" == "WNT" -RCFILES=Fps.rc -.ENDIF - -# --- Files -------------------------------------------------------- - -SLOFILES=$(SLO)$/FileOpenDlg.obj\ - $(SLO)$/FPentry.obj\ - $(SLO)$/FilePicker.obj\ - $(SLO)$/WinFileOpenImpl.obj\ - $(SLO)$/FilterContainer.obj\ - $(SLO)$/controlaccess.obj\ - $(SLO)$/dibpreview.obj\ - $(SLO)$/helppopupwindow.obj\ - $(SLO)$/controlcommand.obj\ - $(SLO)$/filepickerstate.obj\ - $(SLO)$/getfilenamewrapper.obj\ - $(SLO)$/asynceventnotifier.obj\ - $(SLO)$/previewadapter.obj\ - $(SLO)$/previewbase.obj\ - $(SLO)$/filepickereventnotification.obj\ - $(SLO)$/customcontrol.obj\ - $(SLO)$/customcontrolcontainer.obj\ - $(SLO)$/customcontrolfactory.obj\ - $(SLO)$/dialogcustomcontrols.obj\ - $(SLO)$/asyncrequests.obj\ - $(SLO)$/VistaFilePickerEventHandler.obj\ - $(SLO)$/VistaFilePickerImpl.obj\ - $(SLO)$/VistaFilePicker.obj\ - $(SLO)$/SolarMutex.obj - -# --- Targets ------------------------------------------------------ - -.INCLUDE : target.mk diff --git a/fpicker/source/win32/folderpicker/makefile.mk b/fpicker/source/win32/folderpicker/makefile.mk deleted file mode 100644 index 68c0e5c8ce70..000000000000 --- a/fpicker/source/win32/folderpicker/makefile.mk +++ /dev/null @@ -1,52 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/..$/.. -PRJNAME=fpicker -TARGET=fop -ENABLE_EXCEPTIONS=TRUE -COMP1TYPELIST=$(TARGET) - -# --- Settings ----------------------------------------------------- - -.INCLUDE : settings.mk - -# --- Files -------------------------------------------------------- - -# enable rtti -.IF "$(COM)" == "MSC" -CFLAGS+=-GR -.ENDIF - -SLOFILES=$(SLO)$/Fopentry.obj\ - $(SLO)$/FolderPicker.obj\ - $(SLO)$/WinFOPImpl.obj\ - $(SLO)$/MtaFop.obj - -# --- Targets ------------------------------------------------------ - -.INCLUDE : target.mk diff --git a/fpicker/source/win32/misc/makefile.mk b/fpicker/source/win32/misc/makefile.mk deleted file mode 100644 index 70faefdeaef4..000000000000 --- a/fpicker/source/win32/misc/makefile.mk +++ /dev/null @@ -1,57 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/..$/.. -PRJNAME=fpicker -TARGET=utils -LIBTARGET=NO -ENABLE_EXCEPTIONS=TRUE - -# --- Settings ---------------------------------- - -.INCLUDE : settings.mk - -.IF "$(COM)"=="GCC" -CFLAGSAPPEND+=-fexceptions -fno-enforce-eh-specs -DUNICODE -D_UNICODE -.ELSE -CFLAGS+=-EHa -DUNICODE -D_UNICODE -.ENDIF - -# --- Files ------------------------------------- - -SLOFILES=$(SLO)$/WinImplHelper.obj\ - $(SLO)$/AutoBuffer.obj\ - $(SLO)$/resourceprovider.obj - -LIB1TARGET=$(SLB)$/$(TARGET).lib -LIB1OBJFILES=$(SLOFILES) - -# --- Targets ---------------------------------- - -.INCLUDE : target.mk - - diff --git a/fpicker/util/exports.dxp b/fpicker/util/exports.dxp deleted file mode 100644 index 70033078921a..000000000000 --- a/fpicker/util/exports.dxp +++ /dev/null @@ -1 +0,0 @@ -component_getFactory diff --git a/fpicker/util/makefile.mk b/fpicker/util/makefile.mk deleted file mode 100644 index 7d42971c25ef..000000000000 --- a/fpicker/util/makefile.mk +++ /dev/null @@ -1,121 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=.. - -PRJNAME=fpicker -TARGET=fpicker -TARGET1=fps -TARGET2=fop -USE_LDUMP2=TRUE - -# --- Settings ----------------------------------------------------- - -.INCLUDE : settings.mk - -# --- fps dynlib ---------------------------------------------- - -COMMON_LIBS=$(CPPULIB)\ - $(CPPUHELPERLIB)\ - $(COMPHELPERLIB)\ - $(SALLIB)\ - $(VCLLIB)\ - $(TOOLSLIB) - -.IF "$(GUI)"=="WNT" - -SHL1TARGET=$(TARGET1) -SHL1STDLIBS= $(COMMON_LIBS) \ - $(UWINAPILIB) \ - $(ADVAPI32LIB) \ - $(SHELL32LIB)\ - $(OLE32LIB)\ - $(GDI32LIB)\ - $(OLEAUT32LIB)\ - $(COMDLG32LIB)\ - $(KERNEL32LIB)\ - $(UUIDLIB) - -.IF "$(COM)" == "MSC" -SHL1STDLIBS+=\ - Delayimp.lib\ - /DELAYLOAD:shell32.dll -.ENDIF - -SHL1DEPN= -SHL1IMPLIB=i$(SHL1TARGET) -SHL1LIBS=$(SLB)$/fps.lib\ - $(SLB)$/utils.lib -SHL1RES=$(RES)$/$(TARGET1).res -SHL1DEF=$(MISC)$/$(SHL1TARGET).def - -DEF1NAME=$(SHL1TARGET) -DEF1EXPORTFILE= exports.dxp - -.ENDIF # "$(GUI)"=="WNT" - -# --- fop dynlib -------------------------------------------------- - -.IF "$(GUI)"=="WNT" -SHL2NOCHECK=TRUE -SHL2TARGET=$(TARGET2) - -SHL2STDLIBS= $(COMMON_LIBS) \ - $(UWINAPILIB) \ - $(ADVAPI32LIB) \ - $(OLE32LIB)\ - $(GDI32LIB)\ - $(SHELL32LIB)\ - $(OLEAUT32LIB) - -SHL2DEPN= -SHL2IMPLIB=i$(SHL2TARGET) -SHL2LIBS=$(SLB)$/fop.lib\ - $(SLB)$/utils.lib -SHL2DEF=$(MISC)$/$(SHL2TARGET).def - -DEF2NAME=$(SHL2TARGET) -DEF2EXPORTFILE= exports.dxp - -.ENDIF # "$(GUI)"=="WNT" - - -.INCLUDE : target.mk - -ALLTAR : $(MISC)/fop.component $(MISC)/fps.component - -$(MISC)/fop.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ - fop.component - $(XSLTPROC) --nonet --stringparam uri \ - '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL2TARGETN:f)' -o $@ \ - $(SOLARENV)/bin/createcomponent.xslt fop.component - -$(MISC)/fps.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ - fps.component - $(XSLTPROC) --nonet --stringparam uri \ - '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ - $(SOLARENV)/bin/createcomponent.xslt fps.component |