Merge branch 'feature/gbuild_extensions'
Conflicts: extensions/source/ole/servreg.cxx extensions/source/plugin/util/makefile.mk postprocess/packcomponents/makefile.mk postprocess/prj/build.lst tail_build/prj/build.lst
This commit is contained in:
@@ -27,19 +27,28 @@ $(eval $(call gb_Module_Module,tail_end))
|
|||||||
$(eval $(call gb_Module_add_moduledirs,tail_end,\
|
$(eval $(call gb_Module_add_moduledirs,tail_end,\
|
||||||
accessibility \
|
accessibility \
|
||||||
animations \
|
animations \
|
||||||
|
avmedia \
|
||||||
basctl \
|
basctl \
|
||||||
|
basic \
|
||||||
bean \
|
bean \
|
||||||
|
canvas \
|
||||||
chart2 \
|
chart2 \
|
||||||
|
cppcanvas \
|
||||||
cui \
|
cui \
|
||||||
dbaccess \
|
dbaccess \
|
||||||
desktop \
|
desktop \
|
||||||
dtrans \
|
dtrans \
|
||||||
|
drawinglayer \
|
||||||
|
editeng \
|
||||||
eventattacher \
|
eventattacher \
|
||||||
|
extensions \
|
||||||
fileaccess \
|
fileaccess \
|
||||||
filter \
|
filter \
|
||||||
forms \
|
forms \
|
||||||
formula \
|
formula \
|
||||||
|
framework \
|
||||||
hwpfilter \
|
hwpfilter \
|
||||||
|
idl \
|
||||||
lingucomponent \
|
lingucomponent \
|
||||||
linguistic \
|
linguistic \
|
||||||
lotuswordpro \
|
lotuswordpro \
|
||||||
@@ -55,8 +64,10 @@ $(eval $(call gb_Module_add_moduledirs,tail_end,\
|
|||||||
sccomp \
|
sccomp \
|
||||||
scripting \
|
scripting \
|
||||||
sd \
|
sd \
|
||||||
|
sfx2 \
|
||||||
slideshow \
|
slideshow \
|
||||||
starmath \
|
starmath \
|
||||||
|
svx \
|
||||||
sw \
|
sw \
|
||||||
swext \
|
swext \
|
||||||
UnoControls \
|
UnoControls \
|
||||||
@@ -67,6 +78,7 @@ $(eval $(call gb_Module_add_moduledirs,tail_end,\
|
|||||||
writerfilter \
|
writerfilter \
|
||||||
writerperfect \
|
writerperfect \
|
||||||
xmerge \
|
xmerge \
|
||||||
|
xmloff \
|
||||||
xmlsecurity \
|
xmlsecurity \
|
||||||
))
|
))
|
||||||
|
|
||||||
|
@@ -97,8 +97,28 @@ endif
|
|||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($(WITH_MOZILLA),NO)
|
||||||
|
$(eval $(call gb_Helper_register_executables,OOO,\
|
||||||
|
nspugin \
|
||||||
|
pluginapp.bin \
|
||||||
|
))
|
||||||
|
$(eval $(call gb_Helper_register_libraries,OOOLIBS, \
|
||||||
|
pl \
|
||||||
|
))
|
||||||
|
endif # WITH_MOZILLA
|
||||||
|
|
||||||
|
|
||||||
|
ifeq ($(OS),MACOSX)
|
||||||
|
|
||||||
|
$(eval $(call gb_Helper_register_libraries,PLAINLIBS_NONE, \
|
||||||
|
OOoSpotlightImporter \
|
||||||
|
))
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(call gb_Helper_register_libraries,OOOLIBS, \
|
$(eval $(call gb_Helper_register_libraries,OOOLIBS, \
|
||||||
PptImporter \
|
PptImporter \
|
||||||
|
abp \
|
||||||
adabas \
|
adabas \
|
||||||
adabasui \
|
adabasui \
|
||||||
acc \
|
acc \
|
||||||
@@ -107,6 +127,7 @@ $(eval $(call gb_Helper_register_libraries,OOOLIBS, \
|
|||||||
animcore \
|
animcore \
|
||||||
basctl \
|
basctl \
|
||||||
basebmp \
|
basebmp \
|
||||||
|
bib \
|
||||||
canvastools \
|
canvastools \
|
||||||
communi \
|
communi \
|
||||||
date \
|
date \
|
||||||
@@ -132,6 +153,7 @@ $(eval $(call gb_Helper_register_libraries,OOOLIBS, \
|
|||||||
dba \
|
dba \
|
||||||
dbaxml \
|
dbaxml \
|
||||||
dbmm \
|
dbmm \
|
||||||
|
dbp \
|
||||||
dbtools \
|
dbtools \
|
||||||
dbu \
|
dbu \
|
||||||
deploymentmisc \
|
deploymentmisc \
|
||||||
@@ -179,6 +201,7 @@ $(eval $(call gb_Helper_register_libraries,OOOLIBS, \
|
|||||||
iti \
|
iti \
|
||||||
lng \
|
lng \
|
||||||
lnth \
|
lnth \
|
||||||
|
log \
|
||||||
lwpft \
|
lwpft \
|
||||||
MacOSXSpell \
|
MacOSXSpell \
|
||||||
merged \
|
merged \
|
||||||
@@ -187,10 +210,12 @@ $(eval $(call gb_Helper_register_libraries,OOOLIBS, \
|
|||||||
msworks \
|
msworks \
|
||||||
odfflatxml \
|
odfflatxml \
|
||||||
offacc \
|
offacc \
|
||||||
|
pcr \
|
||||||
pdffilter \
|
pdffilter \
|
||||||
placeware \
|
placeware \
|
||||||
protocolhandler \
|
protocolhandler \
|
||||||
qstart_gtk \
|
qstart_gtk \
|
||||||
|
res \
|
||||||
resourcemodel \
|
resourcemodel \
|
||||||
rpt \
|
rpt \
|
||||||
rptui \
|
rptui \
|
||||||
@@ -201,6 +226,7 @@ $(eval $(call gb_Helper_register_libraries,OOOLIBS, \
|
|||||||
sc \
|
sc \
|
||||||
scd \
|
scd \
|
||||||
scfilt \
|
scfilt \
|
||||||
|
scn \
|
||||||
scui \
|
scui \
|
||||||
sd \
|
sd \
|
||||||
sdbt \
|
sdbt \
|
||||||
@@ -231,6 +257,7 @@ $(eval $(call gb_Helper_register_libraries,OOOLIBS, \
|
|||||||
tl \
|
tl \
|
||||||
unordf \
|
unordf \
|
||||||
unoxml \
|
unoxml \
|
||||||
|
updatecheckui \
|
||||||
utl \
|
utl \
|
||||||
uui \
|
uui \
|
||||||
vbahelper \
|
vbahelper \
|
||||||
@@ -249,6 +276,7 @@ $(eval $(call gb_Helper_register_libraries,OOOLIBS, \
|
|||||||
xcr \
|
xcr \
|
||||||
xmlfa \
|
xmlfa \
|
||||||
xmlfd \
|
xmlfd \
|
||||||
|
xmx \
|
||||||
xo \
|
xo \
|
||||||
xof \
|
xof \
|
||||||
xsltdlg \
|
xsltdlg \
|
||||||
@@ -287,6 +315,7 @@ $(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
|
|||||||
log_uno \
|
log_uno \
|
||||||
mcnttype \
|
mcnttype \
|
||||||
neon \
|
neon \
|
||||||
|
npsoplugin \
|
||||||
package2 \
|
package2 \
|
||||||
reg \
|
reg \
|
||||||
scriptframe \
|
scriptframe \
|
||||||
@@ -298,6 +327,7 @@ $(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
|
|||||||
ucb \
|
ucb \
|
||||||
ucpfile \
|
ucpfile \
|
||||||
unopkgapp \
|
unopkgapp \
|
||||||
|
updchk \
|
||||||
unsafe_uno \
|
unsafe_uno \
|
||||||
xmlsecurity \
|
xmlsecurity \
|
||||||
xsec_fw \
|
xsec_fw \
|
||||||
@@ -318,6 +348,8 @@ $(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
|
|||||||
fop \
|
fop \
|
||||||
fps \
|
fps \
|
||||||
ftransl \
|
ftransl \
|
||||||
|
so_activex \
|
||||||
|
so_activex_x64 \
|
||||||
sysdtrans \
|
sysdtrans \
|
||||||
))
|
))
|
||||||
endif
|
endif
|
||||||
@@ -373,6 +405,7 @@ $(eval $(call gb_Helper_register_libraries,UNOLIBS_OOO, \
|
|||||||
slideshow \
|
slideshow \
|
||||||
stocservices \
|
stocservices \
|
||||||
stringresource \
|
stringresource \
|
||||||
|
updatefeed \
|
||||||
vbaevents \
|
vbaevents \
|
||||||
vbaobj \
|
vbaobj \
|
||||||
vbaswobj \
|
vbaswobj \
|
||||||
@@ -393,6 +426,19 @@ $(eval $(call gb_Helper_register_libraries,UNOLIBS_OOO, \
|
|||||||
) \
|
) \
|
||||||
))
|
))
|
||||||
|
|
||||||
|
ifeq ($(OS),WNT)
|
||||||
|
$(eval $(call gb_Helper_register_libraries,UNOLIBS_OOO, \
|
||||||
|
oleautobridge \
|
||||||
|
oleautobridge2 \
|
||||||
|
))
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(WITH_LDAP),YES)
|
||||||
|
$(eval $(call gb_Helper_register_libraries,UNOLIBS_OOO, \
|
||||||
|
ldapbe2 \
|
||||||
|
))
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(call gb_Helper_register_libraries,UNOLIBS_URE, \
|
$(eval $(call gb_Helper_register_libraries,UNOLIBS_URE, \
|
||||||
binaryurp \
|
binaryurp \
|
||||||
))
|
))
|
||||||
|
@@ -905,6 +905,28 @@ endef
|
|||||||
endif # SYSTEM_CURL
|
endif # SYSTEM_CURL
|
||||||
|
|
||||||
|
|
||||||
|
ifeq ($(SYSTEM_MOZILLA_HEADERS),YES)
|
||||||
|
|
||||||
|
define gb_LinkTarget__use_mozilla_headers
|
||||||
|
$(eval $(call gb_LinkTarget_set_include,$(1),\
|
||||||
|
$$(INCLUDE) \
|
||||||
|
$(MOZILLA_HEADERS_CFLAGS)
|
||||||
|
))
|
||||||
|
endef
|
||||||
|
|
||||||
|
else #!SYSTEM_MOZILLA_HEADERS
|
||||||
|
|
||||||
|
define gb_LinkTarget__use_mozilla_headers
|
||||||
|
$(eval $(call gb_LinkTarget_set_include,$(1),\
|
||||||
|
$$(INCLUDE) \
|
||||||
|
-I$(OUTDIR)/inc/npsdk \
|
||||||
|
))
|
||||||
|
endef
|
||||||
|
|
||||||
|
endif #SYSTEM_MOZILLA_HEADERS
|
||||||
|
#TODO np_sdk $(eval $(call gb_LinkTarget_add_external_headers,$(1),np_sdk))
|
||||||
|
|
||||||
|
|
||||||
# MacOSX-only frameworks ############################################
|
# MacOSX-only frameworks ############################################
|
||||||
# (in alphabetical order)
|
# (in alphabetical order)
|
||||||
|
|
||||||
|
@@ -61,6 +61,8 @@ gb_Library_FILENAMES := $(patsubst sfx:isfx%,sfx:sfx%,$(gb_Library_FILENAMES))
|
|||||||
gb_Library_FILENAMES := $(patsubst svt:isvt%,svt:svtool%,$(gb_Library_FILENAMES))
|
gb_Library_FILENAMES := $(patsubst svt:isvt%,svt:svtool%,$(gb_Library_FILENAMES))
|
||||||
gb_Library_FILENAMES := $(patsubst tl:itl%,tl:itools%,$(gb_Library_FILENAMES))
|
gb_Library_FILENAMES := $(patsubst tl:itl%,tl:itools%,$(gb_Library_FILENAMES))
|
||||||
gb_Library_FILENAMES := $(patsubst vbahelper:ivbahelper%,vbahelper:vbahelper%,$(gb_Library_FILENAMES))
|
gb_Library_FILENAMES := $(patsubst vbahelper:ivbahelper%,vbahelper:vbahelper%,$(gb_Library_FILENAMES))
|
||||||
|
gb_Library_FILENAMES := $(patsubst curl:icurl%,curl:libcurl%,$(gb_Library_FILENAMES))
|
||||||
|
gb_Library_FILENAMES := $(patsubst npsoplugin:inpsoplugin%,npsoplugin:npsoplugin%,$(gb_Library_FILENAMES))
|
||||||
|
|
||||||
gb_StaticLibrary_FILENAMES := $(patsubst graphite:graphite%,graphite:graphite_dll%,$(gb_StaticLibrary_FILENAMES))
|
gb_StaticLibrary_FILENAMES := $(patsubst graphite:graphite%,graphite:graphite_dll%,$(gb_StaticLibrary_FILENAMES))
|
||||||
|
|
||||||
|
@@ -49,6 +49,7 @@ $(eval $(call gb_Module_add_moduledirs,ooo,\
|
|||||||
dtrans \
|
dtrans \
|
||||||
editeng \
|
editeng \
|
||||||
eventattacher \
|
eventattacher \
|
||||||
|
extensions \
|
||||||
fileaccess \
|
fileaccess \
|
||||||
filter \
|
filter \
|
||||||
forms \
|
forms \
|
||||||
|
@@ -123,7 +123,7 @@ run:
|
|||||||
adb shell am start -n $(APP_PACKAGE)/$(BOOTSTRAP) -e lo-main-library libcppunittester -e lo-main-cmdline "$(APP_DATA_PATH)/lib/libqa_sal_types.so"
|
adb shell am start -n $(APP_PACKAGE)/$(BOOTSTRAP) -e lo-main-library libcppunittester -e lo-main-cmdline "$(APP_DATA_PATH)/lib/libqa_sal_types.so"
|
||||||
#
|
#
|
||||||
sleep 10
|
sleep 10
|
||||||
adb shell am start -n $(APP_PACKAGE)/$(BOOTSTRAP) -e lo-main-library libcppunittester -e lo-main-cmdline "$(APP_DATA_PATH)/lib/libtest_i18npool_test_breakiterator.so --protector libunoexceptionprotector.so unoexceptionprotector '-env:UNO_TYPES=file:///assets/bin/udkapi.rdb file:///assets/bin/types.rdb' '-env:UNO_SERVICES=file:///assets/xml/ure/services.rdb file:///assets/ComponentTarget/i18npool/util/i18npool.component' -env:LO_LIB_DIR=file://$(APP_DATA_PATH)/lib"
|
adb shell am start -n $(APP_PACKAGE)/$(BOOTSTRAP) -e lo-main-library libcppunittester -e lo-main-cmdline "$(APP_DATA_PATH)/lib/libtest_i18npool_test_breakiterator.so --protector libunoexceptionprotector.so unoexceptionprotector '-env:UNO_TYPES=file:///assets/bin/udkapi.rdb file:///assets/bin/types.rdb' '-env:UNO_SERVICES=file:///assets/xml/ure/services.rdb file:///assets/ComponentTarget/i18npool/util/i18npool.component' -env:LO_LIB_DIR=file://$(APP_DATA_PATH)/lib"
|
||||||
#
|
#
|
||||||
# adb shell am start -n $(APP_PACKAGE)/$(BOOTSTRAP) -e lo-main-library libunoexe -e lo-main-cmdline "-ro /assets/lib/uno_services.rdb -ro /assets/lib/uno_types.rdb -s com.sun.star.test.bridge.BridgeTest -- com.sun.star.test.bridge.CppTestObject" -e lo-main-delay 2
|
# adb shell am start -n $(APP_PACKAGE)/$(BOOTSTRAP) -e lo-main-library libunoexe -e lo-main-cmdline "-ro /assets/lib/uno_services.rdb -ro /assets/lib/uno_types.rdb -s com.sun.star.test.bridge.BridgeTest -- com.sun.star.test.bridge.CppTestObject" -e lo-main-delay 2
|
||||||
|
|
||||||
|
@@ -54,4 +54,6 @@ $(eval $(call gb_SrsTarget_add_files,basctl/res,\
|
|||||||
basctl/source/dlged/managelang.src \
|
basctl/source/dlged/managelang.src \
|
||||||
))
|
))
|
||||||
|
|
||||||
|
$(call gb_SrsTemplateTarget_get_target,basctl/res) : $(call gb_Package_get_target,svx_globlmn_hrc)
|
||||||
|
|
||||||
# vim: set noet sw=4 ts=4:
|
# vim: set noet sw=4 ts=4:
|
||||||
|
@@ -90,6 +90,6 @@ $(eval $(call gb_SrsTarget_add_templates,dbaccess/dbu,\
|
|||||||
dbaccess/source/ui/inc/toolbox_tmpl.hrc \
|
dbaccess/source/ui/inc/toolbox_tmpl.hrc \
|
||||||
))
|
))
|
||||||
|
|
||||||
$(call gb_SrsTarget_get_target,dbaccess/dbu) :| $(OUTDIR)/inc/svx/globlmn.hrc
|
$(call gb_SrsTemplateTarget_get_target,dbaccess/dbu) : $(call gb_Package_get_target,svx_globlmn_hrc)
|
||||||
|
|
||||||
# vim: set noet sw=4 ts=4:
|
# vim: set noet sw=4 ts=4:
|
||||||
|
@@ -92,6 +92,6 @@ $(eval $(call gb_SrsTarget_add_templates,dbaccess/dbui,\
|
|||||||
dbaccess/source/ui/inc/toolbox_tmpl.hrc \
|
dbaccess/source/ui/inc/toolbox_tmpl.hrc \
|
||||||
))
|
))
|
||||||
|
|
||||||
$(call gb_SrsTarget_get_target,dbaccess/dbui) :| $(OUTDIR)/inc/svx/globlmn.hrc
|
$(call gb_SrsTemplateTarget_get_target,dbaccess/dbui) : $(call gb_Package_get_target,svx_globlmn_hrc)
|
||||||
|
|
||||||
# vim: set noet sw=4 ts=4:
|
# vim: set noet sw=4 ts=4:
|
||||||
|
48
extensions/AllLangResTarget_abp.mk
Normal file
48
extensions/AllLangResTarget_abp.mk
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
# -*- 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.
|
||||||
|
#
|
||||||
|
# The Initial Developer of the Original Code is
|
||||||
|
# Peter Foley <pefoley2@verizon.net>
|
||||||
|
# Portions created by the Initial Developer are Copyright (C) 2011 the
|
||||||
|
# Initial Developer. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
#
|
||||||
|
# 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,abp))
|
||||||
|
|
||||||
|
$(eval $(call gb_AllLangResTarget_set_reslocation,abp,extensions/res))
|
||||||
|
|
||||||
|
$(eval $(call gb_AllLangResTarget_add_srs,abp,abp/res))
|
||||||
|
|
||||||
|
$(eval $(call gb_SrsTarget_SrsTarget,abp/res))
|
||||||
|
|
||||||
|
$(eval $(call gb_SrsTarget_set_include,abp/res,\
|
||||||
|
$$(INCLUDE) \
|
||||||
|
-I$(SRCDIR)/extensions/inc \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_SrsTarget_add_files,abp/res,\
|
||||||
|
extensions/source/abpilot/abspilot.src \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
49
extensions/AllLangResTarget_bib.mk
Normal file
49
extensions/AllLangResTarget_bib.mk
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
# -*- 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.
|
||||||
|
#
|
||||||
|
# The Initial Developer of the Original Code is
|
||||||
|
# Peter Foley <pefoley2@verizon.net>
|
||||||
|
# Portions created by the Initial Developer are Copyright (C) 2011 the
|
||||||
|
# Initial Developer. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
#
|
||||||
|
# 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,bib))
|
||||||
|
|
||||||
|
$(eval $(call gb_AllLangResTarget_add_srs,bib,bib/res))
|
||||||
|
|
||||||
|
$(eval $(call gb_SrsTarget_SrsTarget,bib/res))
|
||||||
|
|
||||||
|
$(eval $(call gb_SrsTarget_set_include,bib/res,\
|
||||||
|
$$(INCLUDE) \
|
||||||
|
-I$(SRCDIR)/extensions/inc \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_SrsTarget_add_files,bib/res,\
|
||||||
|
extensions/source/bibliography/bib.src \
|
||||||
|
extensions/source/bibliography/datman.src \
|
||||||
|
extensions/source/bibliography/sections.src \
|
||||||
|
extensions/source/bibliography/toolbar.src \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
50
extensions/AllLangResTarget_dbp.mk
Normal file
50
extensions/AllLangResTarget_dbp.mk
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
# -*- 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.
|
||||||
|
#
|
||||||
|
# The Initial Developer of the Original Code is
|
||||||
|
# Peter Foley <pefoley2@verizon.net>
|
||||||
|
# Portions created by the Initial Developer are Copyright (C) 2011 the
|
||||||
|
# Initial Developer. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
#
|
||||||
|
# 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,dbp))
|
||||||
|
|
||||||
|
$(eval $(call gb_AllLangResTarget_add_srs,dbp,dbp/res))
|
||||||
|
|
||||||
|
$(eval $(call gb_SrsTarget_SrsTarget,dbp/res))
|
||||||
|
|
||||||
|
$(eval $(call gb_SrsTarget_set_include,dbp/res,\
|
||||||
|
$$(INCLUDE) \
|
||||||
|
-I$(SRCDIR)/extensions/inc \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_SrsTarget_add_files,dbp/res,\
|
||||||
|
extensions/source/dbpilots/commonpagesdbp.src \
|
||||||
|
extensions/source/dbpilots/dbpilots.src \
|
||||||
|
extensions/source/dbpilots/gridpages.src \
|
||||||
|
extensions/source/dbpilots/groupboxpages.src \
|
||||||
|
extensions/source/dbpilots/listcombopages.src \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
56
extensions/AllLangResTarget_pcr.mk
Normal file
56
extensions/AllLangResTarget_pcr.mk
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
# -*- 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 Red Hat, Inc., Michael Stahl <mstahl@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_AllLangResTarget_AllLangResTarget,pcr))
|
||||||
|
|
||||||
|
$(eval $(call gb_AllLangResTarget_set_reslocation,pcr,extensions))
|
||||||
|
|
||||||
|
$(eval $(call gb_AllLangResTarget_add_srs,pcr,\
|
||||||
|
pcr/res \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_SrsTarget_SrsTarget,pcr/res))
|
||||||
|
|
||||||
|
$(eval $(call gb_SrsTarget_set_include,pcr/res,\
|
||||||
|
-I$(SRCDIR)/extensions/inc \
|
||||||
|
$$(INCLUDE) \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_SrsTarget_add_files,pcr/res,\
|
||||||
|
extensions/source/propctrlr/propres.src \
|
||||||
|
extensions/source/propctrlr/formres.src \
|
||||||
|
extensions/source/propctrlr/pcrmiscres.src \
|
||||||
|
extensions/source/propctrlr/taborder.src \
|
||||||
|
extensions/source/propctrlr/fontdialog.src \
|
||||||
|
extensions/source/propctrlr/selectlabeldialog.src \
|
||||||
|
extensions/source/propctrlr/formlinkdialog.src \
|
||||||
|
extensions/source/propctrlr/listselectiondlg.src \
|
||||||
|
extensions/source/propctrlr/newdatatype.src \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
49
extensions/AllLangResTarget_scn.mk
Normal file
49
extensions/AllLangResTarget_scn.mk
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
# -*- 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 Red Hat, Inc., Michael Stahl <mstahl@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_AllLangResTarget_AllLangResTarget,scn))
|
||||||
|
|
||||||
|
$(eval $(call gb_AllLangResTarget_set_reslocation,scn,extensions/source/scanner))
|
||||||
|
|
||||||
|
$(eval $(call gb_AllLangResTarget_add_srs,scn,\
|
||||||
|
scn/res \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_SrsTarget_SrsTarget,scn/res))
|
||||||
|
|
||||||
|
$(eval $(call gb_SrsTarget_set_include,scn/res,\
|
||||||
|
$$(INCLUDE) \
|
||||||
|
-I$(SRCDIR)/extensions/source/scanner \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_SrsTarget_add_files,scn/res,\
|
||||||
|
extensions/source/scanner/grid.src \
|
||||||
|
extensions/source/scanner/sanedlg.src \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
41
extensions/AllLangResTarget_upd.mk
Normal file
41
extensions/AllLangResTarget_upd.mk
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
# -*- 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 Red Hat, Inc., Michael Stahl <mstahl@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_AllLangResTarget_AllLangResTarget,upd))
|
||||||
|
|
||||||
|
$(eval $(call gb_AllLangResTarget_add_srs,upd,\
|
||||||
|
upd/res \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_SrsTarget_SrsTarget,upd/res))
|
||||||
|
|
||||||
|
$(eval $(call gb_SrsTarget_add_files,upd/res,\
|
||||||
|
extensions/source/update/check/updatehdl.src \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
43
extensions/AllLangResTarget_updchk.mk
Normal file
43
extensions/AllLangResTarget_updchk.mk
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
# -*- 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 Red Hat, Inc., Michael Stahl <mstahl@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_AllLangResTarget_AllLangResTarget,updchk))
|
||||||
|
|
||||||
|
$(eval $(call gb_AllLangResTarget_set_reslocation,updchk,extensions/source/update/ui))
|
||||||
|
|
||||||
|
$(eval $(call gb_AllLangResTarget_add_srs,updchk,\
|
||||||
|
updchk/res \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_SrsTarget_SrsTarget,updchk/res))
|
||||||
|
|
||||||
|
$(eval $(call gb_SrsTarget_add_files,updchk/res,\
|
||||||
|
extensions/source/update/ui/updatecheckui.src \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
42
extensions/Configuration_updchk.mk
Normal file
42
extensions/Configuration_updchk.mk
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
# -*- 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 Peter Foley <pefoley2@verizon.net> (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.
|
||||||
|
#
|
||||||
|
|
||||||
|
# TODO is this really supposed to be delivered to the officecfg registry?
|
||||||
|
$(eval $(call gb_Configuration_Configuration,updchk))
|
||||||
|
|
||||||
|
$(eval $(call gb_Configuration_add_spool_modules,updchk,extensions/source/update/check,\
|
||||||
|
org/openoffice/Office/Jobs-onlineupdate.xcu \
|
||||||
|
org/openoffice/Office/Addons-onlineupdate.xcu \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Configuration_add_localized_datas,updchk,extensions/source/update/check,\
|
||||||
|
org/openoffice/Office/Jobs.xcu \
|
||||||
|
org/openoffice/Office/Addons.xcu \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
@@ -1,3 +1,4 @@
|
|||||||
|
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
|
||||||
#
|
#
|
||||||
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
|
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
|
||||||
#
|
#
|
||||||
@@ -28,16 +29,11 @@
|
|||||||
$(eval $(call gb_CppunitTest_CppunitTest,extensions_test_update))
|
$(eval $(call gb_CppunitTest_CppunitTest,extensions_test_update))
|
||||||
|
|
||||||
$(eval $(call gb_CppunitTest_add_exception_objects,extensions_test_update, \
|
$(eval $(call gb_CppunitTest_add_exception_objects,extensions_test_update, \
|
||||||
extensions/source/update/check/download \
|
|
||||||
extensions/source/update/check/updatecheck \
|
|
||||||
extensions/source/update/check/updatecheckconfig \
|
|
||||||
extensions/source/update/check/updatehdl \
|
|
||||||
extensions/source/update/check/updateprotocol \
|
|
||||||
\
|
|
||||||
extensions/qa/update/test_update \
|
extensions/qa/update/test_update \
|
||||||
))
|
))
|
||||||
|
|
||||||
$(eval $(call gb_CppunitTest_add_linked_libs,extensions_test_update, \
|
$(eval $(call gb_CppunitTest_add_linked_libs,extensions_test_update, \
|
||||||
|
updchk \
|
||||||
cppu \
|
cppu \
|
||||||
cppuhelper \
|
cppuhelper \
|
||||||
sal \
|
sal \
|
||||||
@@ -46,11 +42,18 @@ $(eval $(call gb_CppunitTest_add_linked_libs,extensions_test_update, \
|
|||||||
$(gb_STDLIBS) \
|
$(gb_STDLIBS) \
|
||||||
))
|
))
|
||||||
|
|
||||||
|
ifeq ($(OS),WNT)
|
||||||
|
$(eval $(call gb_CppunitTest_add_linked_libs,extensions_test_update,\
|
||||||
|
shell32 \
|
||||||
|
ole32 \
|
||||||
|
))
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(call gb_CppunitTest_use_external,extensions_test_update,curl))
|
$(eval $(call gb_CppunitTest_use_external,extensions_test_update,curl))
|
||||||
|
|
||||||
$(eval $(call gb_CppunitTest_set_include,extensions_test_update,\
|
$(eval $(call gb_CppunitTest_set_include,extensions_test_update,\
|
||||||
$$(INCLUDE) \
|
$$(INCLUDE) \
|
||||||
-I$(realpath $(SRCDIR)/extensions/inc) \
|
-I$(SRCDIR)/extensions/inc \
|
||||||
-I$(OUTDIR)/inc \
|
-I$(OUTDIR)/inc \
|
||||||
))
|
))
|
||||||
|
|
||||||
@@ -67,13 +70,13 @@ $(eval $(call gb_CppunitTest_add_type_rdbs,extensions_test_update,\
|
|||||||
|
|
||||||
$(eval $(call gb_CppunitTest_add_components,extensions_test_update,\
|
$(eval $(call gb_CppunitTest_add_components,extensions_test_update,\
|
||||||
configmgr/source/configmgr \
|
configmgr/source/configmgr \
|
||||||
|
extensions/source/update/feed/updatefeed \
|
||||||
unoxml/source/service/unoxml \
|
unoxml/source/service/unoxml \
|
||||||
))
|
))
|
||||||
|
|
||||||
$(eval $(call gb_CppunitTest_add_old_components,extensions_test_update,\
|
$(eval $(call gb_CppunitTest_add_old_components,extensions_test_update,\
|
||||||
ucb1 \
|
ucb1 \
|
||||||
ucpfile1 \
|
ucpfile1 \
|
||||||
updatefeed \
|
|
||||||
))
|
))
|
||||||
|
|
||||||
$(eval $(call gb_CppunitTest_set_args,extensions_test_update,\
|
$(eval $(call gb_CppunitTest_set_args,extensions_test_update,\
|
||||||
|
82
extensions/Executable_nsplugin.mk
Normal file
82
extensions/Executable_nsplugin.mk
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
# -*- 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.
|
||||||
|
#
|
||||||
|
# The Initial Developer of the Original Code is
|
||||||
|
# Peter Foley <pefoley2@verizon.net>
|
||||||
|
# Portions created by the Initial Developer are Copyright (C) 2011 the
|
||||||
|
# Initial Developer. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
#
|
||||||
|
# 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,nsplugin))
|
||||||
|
|
||||||
|
$(eval $(call gb_Executable_add_api,nsplugin,\
|
||||||
|
offapi \
|
||||||
|
udkapi \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Executable_add_exception_objects,nsplugin,\
|
||||||
|
extensions/source/nsplugin/source/so_closelistener \
|
||||||
|
extensions/source/nsplugin/source/so_instance \
|
||||||
|
extensions/source/nsplugin/source/so_env \
|
||||||
|
extensions/source/nsplugin/source/so_main \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Executable_add_linked_libs,nsplugin,\
|
||||||
|
cppu \
|
||||||
|
cppuhelper \
|
||||||
|
sal \
|
||||||
|
$(if $(filter $(GUI),UNX), \
|
||||||
|
dl \
|
||||||
|
) \
|
||||||
|
$(if $(filter $(OS),SOLARIS), \
|
||||||
|
nsl \
|
||||||
|
socket \
|
||||||
|
) \
|
||||||
|
))
|
||||||
|
|
||||||
|
ifeq ($(GUI),WNT)
|
||||||
|
$(eval $(call gb_Executable_add_ldflags,nsplugin,\
|
||||||
|
$(OUTDIR)/lib/pathutils-obj.obj \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Executable_add_exception_objects,nsplugin,\
|
||||||
|
extensions/source/nsplugin/source/nsp_windows \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Executable_add_linked_libs,nsplugin,\
|
||||||
|
ws2_32 \
|
||||||
|
shell32 \
|
||||||
|
ole32 \
|
||||||
|
kernel32 \
|
||||||
|
user32 \
|
||||||
|
gdi32 \
|
||||||
|
winspool \
|
||||||
|
comdlg32 \
|
||||||
|
advapi32 \
|
||||||
|
oleaut32 \
|
||||||
|
uuid \
|
||||||
|
))
|
||||||
|
endif # WNT
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
99
extensions/Executable_pluginapp.bin.mk
Normal file
99
extensions/Executable_pluginapp.bin.mk
Normal file
@@ -0,0 +1,99 @@
|
|||||||
|
# -*- 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.
|
||||||
|
#
|
||||||
|
# The Initial Developer of the Original Code is
|
||||||
|
# Peter Foley <pefoley2@verizon.net>
|
||||||
|
# Portions created by the Initial Developer are Copyright (C) 2011 the
|
||||||
|
# Initial Developer. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
#
|
||||||
|
# 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,pluginapp.bin))
|
||||||
|
|
||||||
|
$(eval $(call gb_Executable_set_include,pluginapp.bin,\
|
||||||
|
$$(INCLUDE) \
|
||||||
|
-I$(SRCDIR)/extensions/source/plugin/inc \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Executable_add_api,pluginapp.bin,\
|
||||||
|
offapi \
|
||||||
|
udkapi \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Executable_add_exception_objects,pluginapp.bin,\
|
||||||
|
extensions/source/plugin/unx/npwrap \
|
||||||
|
extensions/source/plugin/unx/npnapi \
|
||||||
|
extensions/source/plugin/unx/mediator \
|
||||||
|
extensions/source/plugin/unx/plugcon \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Executable_add_linked_libs,pluginapp.bin,\
|
||||||
|
sal \
|
||||||
|
))
|
||||||
|
|
||||||
|
ifeq ($(OS),SOLARIS)
|
||||||
|
$(eval $(call gb_Executable_add_libs,pluginapp.bin,\
|
||||||
|
-lXm \
|
||||||
|
-lXt \
|
||||||
|
-lXext \
|
||||||
|
-lX11 \
|
||||||
|
-ldl \
|
||||||
|
))
|
||||||
|
else ifeq ($(filter-out FREEBSD NETBSD OPENBSD DRAGONFLY,$(OS)),)
|
||||||
|
$(eval $(call gb_Executable_add_libs,pluginapp.bin,\
|
||||||
|
-lXt \
|
||||||
|
-lXext \
|
||||||
|
-lX11 \
|
||||||
|
))
|
||||||
|
else ifeq ($(OS),AIX)
|
||||||
|
$(eval $(call gb_Executable_add_libs,pluginapp.bin,\
|
||||||
|
-lXpm \
|
||||||
|
-lXmu \
|
||||||
|
-lXt \
|
||||||
|
-lXext \
|
||||||
|
-lX11 \
|
||||||
|
-ldl \
|
||||||
|
))
|
||||||
|
else
|
||||||
|
$(eval $(call gb_Executable_add_libs,pluginapp.bin,\
|
||||||
|
-lXt \
|
||||||
|
-lXext \
|
||||||
|
-lX11 \
|
||||||
|
-ldl \
|
||||||
|
))
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
ifeq ($(ENABLE_GTK),TRUE)
|
||||||
|
$(eval $(call gb_Executable_use_external,pluginapp.bin,gtk))
|
||||||
|
|
||||||
|
# the orignal dmakefile said: don't ask, it's ugly
|
||||||
|
ifeq ($(OS),SOLARIS)
|
||||||
|
$(eval $(call gb_Executable_set_ldflags,pluginapp.bin,\
|
||||||
|
-z nodefs \
|
||||||
|
))
|
||||||
|
endif
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
51
extensions/Library_OOoSpotlightImporter.mk
Normal file
51
extensions/Library_OOoSpotlightImporter.mk
Normal file
@@ -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.
|
||||||
|
#
|
||||||
|
# The Initial Developer of the Original Code is
|
||||||
|
# Peter Foley <pefoley2@verizon.net>
|
||||||
|
# Portions created by the Initial Developer are Copyright (C) 2011 the
|
||||||
|
# Initial Developer. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
#
|
||||||
|
# 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_Bundle,OOoSpotlightImporter))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_objcobjects,OOoSpotlightImporter,\
|
||||||
|
extensions/source/macosx/spotlight/GetMetadataForFile \
|
||||||
|
extensions/source/macosx/spotlight/OOoContentDataParser \
|
||||||
|
extensions/source/macosx/spotlight/OOoMetaDataParser \
|
||||||
|
extensions/source/macosx/spotlight/OOoSpotlightImporter \
|
||||||
|
extensions/source/macosx/spotlight/ioapi \
|
||||||
|
extensions/source/macosx/spotlight/main \
|
||||||
|
extensions/source/macosx/spotlight/unzip \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_ldflags,OOoSpotlightImporter,\
|
||||||
|
-framework CoreFoundation \
|
||||||
|
-framework Foundation \
|
||||||
|
-framework CoreServices \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_use_external,OOoSpotlightImporter,zlib))
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
91
extensions/Library_abp.mk
Normal file
91
extensions/Library_abp.mk
Normal file
@@ -0,0 +1,91 @@
|
|||||||
|
# -*- 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.
|
||||||
|
#
|
||||||
|
# The Initial Developer of the Original Code is
|
||||||
|
# Peter Foley <pefoley2@verizon.net>
|
||||||
|
# Portions created by the Initial Developer are Copyright (C) 2011 the
|
||||||
|
# Initial Developer. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
#
|
||||||
|
# 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,abp))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_componentfile,abp,extensions/source/abpilot/abp))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_include,abp,\
|
||||||
|
$$(INCLUDE) \
|
||||||
|
-I$(SRCDIR)/extensions/inc \
|
||||||
|
-I$(SRCDIR)/extensions/source/inc \
|
||||||
|
))
|
||||||
|
|
||||||
|
ifneq ($(WITH_MOZILLA),NO)
|
||||||
|
ifneq ($(SYSTEM_MOZILLA),YES)
|
||||||
|
$(eval $(call gb_Library_add_defs,abp,\
|
||||||
|
-DWITH_MOZILLA \
|
||||||
|
))
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_defs,abp,\
|
||||||
|
-DCOMPMOD_NAMESPACE=abp \
|
||||||
|
-DCOMPMOD_RESPREFIX=abp \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_api,abp,\
|
||||||
|
offapi \
|
||||||
|
udkapi \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,abp,\
|
||||||
|
extensions/source/abpilot/abpfinalpage \
|
||||||
|
extensions/source/abpilot/abpservices \
|
||||||
|
extensions/source/abpilot/abspage \
|
||||||
|
extensions/source/abpilot/abspilot \
|
||||||
|
extensions/source/abpilot/admininvokationimpl \
|
||||||
|
extensions/source/abpilot/admininvokationpage \
|
||||||
|
extensions/source/abpilot/datasourcehandling \
|
||||||
|
extensions/source/abpilot/fieldmappingimpl \
|
||||||
|
extensions/source/abpilot/fieldmappingpage \
|
||||||
|
extensions/source/abpilot/moduleabp \
|
||||||
|
extensions/source/abpilot/tableselectionpage \
|
||||||
|
extensions/source/abpilot/typeselectionpage \
|
||||||
|
extensions/source/abpilot/unodialogabp \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_linked_libs,abp,\
|
||||||
|
comphelper \
|
||||||
|
cppuhelper \
|
||||||
|
cppu \
|
||||||
|
sal \
|
||||||
|
sfx \
|
||||||
|
svl \
|
||||||
|
svt \
|
||||||
|
svxcore \
|
||||||
|
svx \
|
||||||
|
tk \
|
||||||
|
tl \
|
||||||
|
utl \
|
||||||
|
vcl \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
75
extensions/Library_bib.mk
Normal file
75
extensions/Library_bib.mk
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
# -*- 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.
|
||||||
|
#
|
||||||
|
# The Initial Developer of the Original Code is
|
||||||
|
# Peter Foley <pefoley2@verizon.net>
|
||||||
|
# Portions created by the Initial Developer are Copyright (C) 2011 the
|
||||||
|
# Initial Developer. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
#
|
||||||
|
# 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,bib))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_componentfile,bib,extensions/source/bibliography/bib))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_include,bib,\
|
||||||
|
$$(INCLUDE) \
|
||||||
|
-I$(SRCDIR)/extensions/inc \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_api,bib,\
|
||||||
|
offapi \
|
||||||
|
udkapi \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,bib,\
|
||||||
|
extensions/source/bibliography/bibbeam \
|
||||||
|
extensions/source/bibliography/bibconfig \
|
||||||
|
extensions/source/bibliography/bibcont \
|
||||||
|
extensions/source/bibliography/bibload \
|
||||||
|
extensions/source/bibliography/bibmod \
|
||||||
|
extensions/source/bibliography/bibview \
|
||||||
|
extensions/source/bibliography/datman \
|
||||||
|
extensions/source/bibliography/formcontrolcontainer \
|
||||||
|
extensions/source/bibliography/framectr \
|
||||||
|
extensions/source/bibliography/general \
|
||||||
|
extensions/source/bibliography/loadlisteneradapter \
|
||||||
|
extensions/source/bibliography/toolbar \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_linked_libs,bib,\
|
||||||
|
dbtools \
|
||||||
|
sot \
|
||||||
|
svt \
|
||||||
|
svl \
|
||||||
|
tk \
|
||||||
|
vcl \
|
||||||
|
utl \
|
||||||
|
tl \
|
||||||
|
comphelper \
|
||||||
|
cppuhelper \
|
||||||
|
cppu \
|
||||||
|
sal \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
77
extensions/Library_dbp.mk
Normal file
77
extensions/Library_dbp.mk
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
# -*- 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.
|
||||||
|
#
|
||||||
|
# The Initial Developer of the Original Code is
|
||||||
|
# Peter Foley <pefoley2@verizon.net>
|
||||||
|
# Portions created by the Initial Developer are Copyright (C) 2011 the
|
||||||
|
# Initial Developer. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
#
|
||||||
|
# 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,dbp))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_componentfile,dbp,extensions/source/dbpilots/dbp))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_include,dbp,\
|
||||||
|
$$(INCLUDE) \
|
||||||
|
-I$(SRCDIR)/extensions/inc \
|
||||||
|
-I$(SRCDIR)/extensions/source/inc \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_defs,dbp,\
|
||||||
|
-DCOMPMOD_NAMESPACE=dbp \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_api,dbp,\
|
||||||
|
offapi \
|
||||||
|
udkapi \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,dbp,\
|
||||||
|
extensions/source/dbpilots/commonpagesdbp \
|
||||||
|
extensions/source/dbpilots/controlwizard \
|
||||||
|
extensions/source/dbpilots/dbpservices \
|
||||||
|
extensions/source/dbpilots/dbptools \
|
||||||
|
extensions/source/dbpilots/gridwizard \
|
||||||
|
extensions/source/dbpilots/groupboxwiz \
|
||||||
|
extensions/source/dbpilots/listcombowizard \
|
||||||
|
extensions/source/dbpilots/moduledbp \
|
||||||
|
extensions/source/dbpilots/optiongrouplayouter \
|
||||||
|
extensions/source/dbpilots/wizardservices \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_linked_libs,dbp,\
|
||||||
|
svt \
|
||||||
|
vcl \
|
||||||
|
tl \
|
||||||
|
svl \
|
||||||
|
sfx \
|
||||||
|
dbtools \
|
||||||
|
utl \
|
||||||
|
comphelper \
|
||||||
|
cppuhelper \
|
||||||
|
cppu \
|
||||||
|
sal \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
86
extensions/Library_ldapbe2.mk
Normal file
86
extensions/Library_ldapbe2.mk
Normal file
@@ -0,0 +1,86 @@
|
|||||||
|
# -*- 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.
|
||||||
|
#
|
||||||
|
# The Initial Developer of the Original Code is
|
||||||
|
# Peter Foley <pefoley2@verizon.net>
|
||||||
|
# Portions created by the Initial Developer are Copyright (C) 2011 the
|
||||||
|
# Initial Developer. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
#
|
||||||
|
# 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,ldapbe2))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_componentfile,ldapbe2,extensions/source/config/ldap/ldapbe2))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_api,ldapbe2,\
|
||||||
|
offapi \
|
||||||
|
udkapi \
|
||||||
|
))
|
||||||
|
|
||||||
|
ifeq ($(LDAPSDKINCLUDES),)
|
||||||
|
ifneq ($(WITH_OPENLDAP),YES)
|
||||||
|
ifeq ($(SYSTEM_MOZILLA),YES)
|
||||||
|
$(eval $(call gb_Library_set_include,ldapbe2,\
|
||||||
|
$$(INCLUDE) \
|
||||||
|
$(MOZ_LDAP_CFLAGS) \
|
||||||
|
))
|
||||||
|
else # SYSTEM_MOZILLA=NO
|
||||||
|
$(eval $(call gb_Library_set_include,ldapbe2,\
|
||||||
|
$$(INCLUDE) \
|
||||||
|
-I$(OUTDIR)/inc/mozilla \
|
||||||
|
))
|
||||||
|
endif # SYSTEM_MOZILLA=YES
|
||||||
|
else # WITH_OPENLDAP=YES
|
||||||
|
$(eval $(call gb_Library_add_defs,ldapbe2,\
|
||||||
|
-DWITH_OPENLDAP \
|
||||||
|
-DLDAP_DEPRECATED \
|
||||||
|
))
|
||||||
|
endif # WITH_OPENLDAP=NO
|
||||||
|
endif # LDAPSDKINCLUDES=
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,ldapbe2,\
|
||||||
|
extensions/source/config/ldap/componentdef \
|
||||||
|
extensions/source/config/ldap/ldapaccess \
|
||||||
|
extensions/source/config/ldap/ldapuserprofilebe \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_linked_libs,ldapbe2,\
|
||||||
|
cppuhelper \
|
||||||
|
cppu \
|
||||||
|
salhelper \
|
||||||
|
sal \
|
||||||
|
))
|
||||||
|
|
||||||
|
ifeq ($(OS),FREEBSD)
|
||||||
|
$(eval $(call gb_Library_add_libs,ldapbe2,\
|
||||||
|
-lcompat \
|
||||||
|
))
|
||||||
|
ifneq ($(WITH_OPENLDAP),YES)
|
||||||
|
$(eval $(call gb_Library_add_libs,ldapbe2,\
|
||||||
|
-Wl,-Bstatic
|
||||||
|
-llber50 \
|
||||||
|
))
|
||||||
|
endif # WITH_OPENLDAP=NO
|
||||||
|
endif # OS=FREEBSD
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
64
extensions/Library_log.mk
Normal file
64
extensions/Library_log.mk
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
# -*- 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.
|
||||||
|
#
|
||||||
|
# The Initial Developer of the Original Code is
|
||||||
|
# Peter Foley <pefoley2@verizon.net>
|
||||||
|
# Portions created by the Initial Developer are Copyright (C) 2011 the
|
||||||
|
# Initial Developer. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
#
|
||||||
|
# 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,log))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_componentfile,log,extensions/source/logging/log))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_api,log,\
|
||||||
|
offapi \
|
||||||
|
udkapi \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_noexception_objects,log,\
|
||||||
|
extensions/source/logging/log_module \
|
||||||
|
extensions/source/logging/logrecord \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,log,\
|
||||||
|
extensions/source/logging/consolehandler \
|
||||||
|
extensions/source/logging/csvformatter \
|
||||||
|
extensions/source/logging/filehandler \
|
||||||
|
extensions/source/logging/log_services \
|
||||||
|
extensions/source/logging/logger \
|
||||||
|
extensions/source/logging/loggerconfig \
|
||||||
|
extensions/source/logging/loghandler \
|
||||||
|
extensions/source/logging/plaintextformatter \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_linked_libs,log,\
|
||||||
|
comphelper \
|
||||||
|
cppuhelper \
|
||||||
|
cppu \
|
||||||
|
sal \
|
||||||
|
$(gb_STDLIBS) \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
93
extensions/Library_npsoplugin.mk
Normal file
93
extensions/Library_npsoplugin.mk
Normal file
@@ -0,0 +1,93 @@
|
|||||||
|
# -*- 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.
|
||||||
|
#
|
||||||
|
# The Initial Developer of the Original Code is
|
||||||
|
# Peter Foley <pefoley2@verizon.net>
|
||||||
|
# Portions created by the Initial Developer are Copyright (C) 2011 the
|
||||||
|
# Initial Developer. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
#
|
||||||
|
# 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,npsoplugin))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_use_external,npsoplugin,mozilla_headers))
|
||||||
|
|
||||||
|
ifeq ($(GUI),UNX)
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_ldflags,npsoplugin,\
|
||||||
|
$(OUTDIR)/lib/npunix.o \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_libs,npsoplugin,\
|
||||||
|
-ldl \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_use_external,npsoplugin,gtk))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_defs,npsoplugin,\
|
||||||
|
-DMOZ_X11 \
|
||||||
|
))
|
||||||
|
|
||||||
|
ifeq ($(filter-out LINUX FREEBSD NETBSD OPENBSD DRAGONFLY,$(OS)),)
|
||||||
|
$(eval $(call gb_Library_add_defs,npsoplugin,\
|
||||||
|
-DNP_LINUX \
|
||||||
|
))
|
||||||
|
endif
|
||||||
|
|
||||||
|
endif # GUI=UNX
|
||||||
|
|
||||||
|
ifeq ($(GUI),WNT)
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_ldflags,npsoplugin,\
|
||||||
|
$(OUTDIR)/lib/pathutils-obj.obj \
|
||||||
|
$(OUTDIR)/lib/npwin.obj \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_linked_libs,npsoplugin,\
|
||||||
|
ws2_32 \
|
||||||
|
shell32 \
|
||||||
|
ole32 \
|
||||||
|
kernel32 \
|
||||||
|
user32 \
|
||||||
|
gdi32 \
|
||||||
|
winspool \
|
||||||
|
comdlg32 \
|
||||||
|
advapi32 \
|
||||||
|
oleaut32 \
|
||||||
|
uuid \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_defs,npsoplugin,\
|
||||||
|
-DENGLISH \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_nativeres,npsoplugin,npsoplugin_res))
|
||||||
|
|
||||||
|
endif # GUI=WNT
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,npsoplugin,\
|
||||||
|
extensions/source/nsplugin/source/so_env \
|
||||||
|
extensions/source/nsplugin/source/npshell \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
79
extensions/Library_oleautobridge.mk
Normal file
79
extensions/Library_oleautobridge.mk
Normal file
@@ -0,0 +1,79 @@
|
|||||||
|
# -*- 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 Red Hat, Inc., Michael Stahl <mstahl@redhat.com> (initial developer) ]
|
||||||
|
# [ Copyright (C) 2011 Peter Foley <pefoley2@verizon.net> ]
|
||||||
|
#
|
||||||
|
# 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,oleautobridge))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_componentfile,oleautobridge,extensions/source/ole/oleautobridge))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_api,oleautobridge,\
|
||||||
|
udkapi \
|
||||||
|
offapi \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_include,oleautobridge,\
|
||||||
|
$(foreach inc,$(ATL_INCLUDE),-I$(inc)) \
|
||||||
|
$$(INCLUDE) \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_linked_libs,oleautobridge,\
|
||||||
|
cppuhelper \
|
||||||
|
cppu \
|
||||||
|
sal \
|
||||||
|
advapi32 \
|
||||||
|
ole32 \
|
||||||
|
oleaut32 \
|
||||||
|
uuid \
|
||||||
|
))
|
||||||
|
|
||||||
|
ifeq ($(COM),MSC)
|
||||||
|
ifneq ($(USE_DEBUG_RUNTIME),)
|
||||||
|
$(eval $(call gb_Library_add_libs,oleautobridge,\
|
||||||
|
$(ATL_LIB)/atlsd.lib \
|
||||||
|
))
|
||||||
|
else
|
||||||
|
$(eval $(call gb_Library_add_libs,oleautobridge,\
|
||||||
|
$(ATL_LIB)/atls.lib \
|
||||||
|
))
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,oleautobridge,\
|
||||||
|
extensions/source/ole/jscriptclasses \
|
||||||
|
extensions/source/ole/ole2uno \
|
||||||
|
extensions/source/ole/oledll \
|
||||||
|
extensions/source/ole/oleobjw \
|
||||||
|
extensions/source/ole/olethread \
|
||||||
|
extensions/source/ole/servprov \
|
||||||
|
extensions/source/ole/servreg \
|
||||||
|
extensions/source/ole/unoobjw \
|
||||||
|
extensions/source/ole/unotypewrapper \
|
||||||
|
extensions/source/ole/windata \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
87
extensions/Library_oleautobridge2.mk
Normal file
87
extensions/Library_oleautobridge2.mk
Normal file
@@ -0,0 +1,87 @@
|
|||||||
|
# -*- 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 Red Hat, Inc., Michael Stahl <mstahl@redhat.com> (initial developer) ]
|
||||||
|
# [ Copyright (C) 2011 Peter Foley <pefoley2@verizon.net> ]
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
# TODO: do we really need 2 of these?
|
||||||
|
$(eval $(call gb_Library_Library,oleautobridge2))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_defs,oleautobridge2,\
|
||||||
|
-DOWNGUID \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_api,oleautobridge2,\
|
||||||
|
udkapi \
|
||||||
|
offapi \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_include,oleautobridge2,\
|
||||||
|
-I$(SRCDIR)/extensions/source/ole \
|
||||||
|
$(foreach inc,$(ATL_INCLUDE),-I$(inc)) \
|
||||||
|
$$(INCLUDE) \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_linked_libs,oleautobridge2,\
|
||||||
|
cppuhelper \
|
||||||
|
cppu \
|
||||||
|
sal \
|
||||||
|
advapi32 \
|
||||||
|
ole32 \
|
||||||
|
oleaut32 \
|
||||||
|
uuid \
|
||||||
|
))
|
||||||
|
|
||||||
|
ifeq ($(COM),MSC)
|
||||||
|
ifneq ($(USE_DEBUG_RUNTIME),)
|
||||||
|
$(eval $(call gb_Library_add_libs,oleautobridge2,\
|
||||||
|
$(ATL_LIB)/atlsd.lib \
|
||||||
|
))
|
||||||
|
else
|
||||||
|
$(eval $(call gb_Library_add_libs,oleautobridge2,\
|
||||||
|
$(ATL_LIB)/atls.lib \
|
||||||
|
))
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
$(WORKDIR)/CustomTarget/extensions/source/ole/%.cxx: $(SRCDIR)/extensions/source/ole/%.cxx
|
||||||
|
mkdir -p $(dir $@)
|
||||||
|
cp $< $@
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_generated_exception_objects,oleautobridge2,\
|
||||||
|
CustomTarget/extensions/source/ole/jscriptclasses \
|
||||||
|
CustomTarget/extensions/source/ole/ole2uno \
|
||||||
|
CustomTarget/extensions/source/ole/oledll \
|
||||||
|
CustomTarget/extensions/source/ole/oleobjw \
|
||||||
|
CustomTarget/extensions/source/ole/olethread \
|
||||||
|
CustomTarget/extensions/source/ole/servprov \
|
||||||
|
CustomTarget/extensions/source/ole/servreg \
|
||||||
|
CustomTarget/extensions/source/ole/unoobjw \
|
||||||
|
CustomTarget/extensions/source/ole/unotypewrapper \
|
||||||
|
CustomTarget/extensions/source/ole/windata \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
121
extensions/Library_pcr.mk
Normal file
121
extensions/Library_pcr.mk
Normal file
@@ -0,0 +1,121 @@
|
|||||||
|
# -*- 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 Red Hat, Inc., Michael Stahl <mstahl@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_Library_Library,pcr))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_componentfile,pcr,extensions/source/propctrlr/pcr))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_api,pcr,\
|
||||||
|
udkapi \
|
||||||
|
offapi \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_include,pcr,\
|
||||||
|
-I$(SRCDIR)/extensions/inc \
|
||||||
|
$$(INCLUDE) \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_linked_libs,pcr,\
|
||||||
|
svx \
|
||||||
|
svxcore \
|
||||||
|
editeng \
|
||||||
|
sfx \
|
||||||
|
svt \
|
||||||
|
tk \
|
||||||
|
vcl \
|
||||||
|
svl \
|
||||||
|
utl \
|
||||||
|
tl \
|
||||||
|
dbtools \
|
||||||
|
i18nisolang1 \
|
||||||
|
comphelper \
|
||||||
|
cppuhelper \
|
||||||
|
cppu \
|
||||||
|
sal \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,pcr,\
|
||||||
|
extensions/source/propctrlr/MasterDetailLinkDialog \
|
||||||
|
extensions/source/propctrlr/browserline \
|
||||||
|
extensions/source/propctrlr/browserlistbox \
|
||||||
|
extensions/source/propctrlr/browserpage \
|
||||||
|
extensions/source/propctrlr/browserview \
|
||||||
|
extensions/source/propctrlr/buttonnavigationhandler \
|
||||||
|
extensions/source/propctrlr/cellbindinghandler \
|
||||||
|
extensions/source/propctrlr/cellbindinghelper \
|
||||||
|
extensions/source/propctrlr/commoncontrol \
|
||||||
|
extensions/source/propctrlr/composeduiupdate \
|
||||||
|
extensions/source/propctrlr/controlfontdialog \
|
||||||
|
extensions/source/propctrlr/defaultforminspection \
|
||||||
|
extensions/source/propctrlr/defaulthelpprovider \
|
||||||
|
extensions/source/propctrlr/editpropertyhandler \
|
||||||
|
extensions/source/propctrlr/eformshelper \
|
||||||
|
extensions/source/propctrlr/eformspropertyhandler \
|
||||||
|
extensions/source/propctrlr/eventhandler \
|
||||||
|
extensions/source/propctrlr/fontdialog \
|
||||||
|
extensions/source/propctrlr/formbrowsertools \
|
||||||
|
extensions/source/propctrlr/formcomponenthandler \
|
||||||
|
extensions/source/propctrlr/formcontroller \
|
||||||
|
extensions/source/propctrlr/formgeometryhandler \
|
||||||
|
extensions/source/propctrlr/formlinkdialog \
|
||||||
|
extensions/source/propctrlr/formmetadata \
|
||||||
|
extensions/source/propctrlr/formstrings \
|
||||||
|
extensions/source/propctrlr/genericpropertyhandler \
|
||||||
|
extensions/source/propctrlr/handlerhelper \
|
||||||
|
extensions/source/propctrlr/inspectorhelpwindow \
|
||||||
|
extensions/source/propctrlr/inspectormodelbase \
|
||||||
|
extensions/source/propctrlr/listselectiondlg \
|
||||||
|
extensions/source/propctrlr/modulepcr \
|
||||||
|
extensions/source/propctrlr/newdatatype \
|
||||||
|
extensions/source/propctrlr/objectinspectormodel \
|
||||||
|
extensions/source/propctrlr/pcrcommon \
|
||||||
|
extensions/source/propctrlr/pcrcomponentcontext \
|
||||||
|
extensions/source/propctrlr/pcrservices \
|
||||||
|
extensions/source/propctrlr/pcrstrings \
|
||||||
|
extensions/source/propctrlr/pcrunodialogs \
|
||||||
|
extensions/source/propctrlr/propcontroller \
|
||||||
|
extensions/source/propctrlr/propertycomposer \
|
||||||
|
extensions/source/propctrlr/propertycontrolextender \
|
||||||
|
extensions/source/propctrlr/propertyeditor \
|
||||||
|
extensions/source/propctrlr/propertyhandler \
|
||||||
|
extensions/source/propctrlr/propeventtranslation \
|
||||||
|
extensions/source/propctrlr/pushbuttonnavigation \
|
||||||
|
extensions/source/propctrlr/selectlabeldialog \
|
||||||
|
extensions/source/propctrlr/sqlcommanddesign \
|
||||||
|
extensions/source/propctrlr/standardcontrol \
|
||||||
|
extensions/source/propctrlr/stringrepresentation \
|
||||||
|
extensions/source/propctrlr/submissionhandler \
|
||||||
|
extensions/source/propctrlr/taborder \
|
||||||
|
extensions/source/propctrlr/unourl \
|
||||||
|
extensions/source/propctrlr/usercontrol \
|
||||||
|
extensions/source/propctrlr/xsddatatypes \
|
||||||
|
extensions/source/propctrlr/xsdvalidationhelper \
|
||||||
|
extensions/source/propctrlr/xsdvalidationpropertyhandler \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
160
extensions/Library_pl.mk
Normal file
160
extensions/Library_pl.mk
Normal file
@@ -0,0 +1,160 @@
|
|||||||
|
# -*- 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.
|
||||||
|
#
|
||||||
|
# The Initial Developer of the Original Code is
|
||||||
|
# Peter Foley <pefoley2@verizon.net>
|
||||||
|
# Portions created by the Initial Developer are Copyright (C) 2011 the
|
||||||
|
# Initial Developer. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
#
|
||||||
|
# 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,pl))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_componentfile,pl,extensions/source/plugin/pl))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_include,pl,\
|
||||||
|
$$(INCLUDE) \
|
||||||
|
-I$(SRCDIR)/extensions/source/plugin/inc \
|
||||||
|
-I$(OUTDIR)/inc/mozilla/plugin \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_api,pl,\
|
||||||
|
offapi \
|
||||||
|
udkapi \
|
||||||
|
))
|
||||||
|
|
||||||
|
ifneq ($(SOLAR_JAVA),)
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_include,pl,\
|
||||||
|
$$(INCLUDE) \
|
||||||
|
-I$(OUTDIR)/mozilla/java \
|
||||||
|
-I$(OUTDIR)/mozilla/nspr \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_defs,pl,\
|
||||||
|
-DOJI \
|
||||||
|
))
|
||||||
|
|
||||||
|
ifeq ($(GUIBASE),aqua)
|
||||||
|
$(eval $(call gb_Library_set_include,pl,\
|
||||||
|
$$(INCLUDE) \
|
||||||
|
-I$(OUTDIR)/npsdk \
|
||||||
|
))
|
||||||
|
endif # GUIBASE=aqua
|
||||||
|
|
||||||
|
endif # SOLAR_JAVA=YES
|
||||||
|
|
||||||
|
ifeq ($(SYSTEM_MOZILLA),YES)
|
||||||
|
$(eval $(call gb_Library_add_defs,pl,\
|
||||||
|
-DSYSTEM_MOZILLA \
|
||||||
|
))
|
||||||
|
endif # SYSTEM_MOZILLA=YES
|
||||||
|
|
||||||
|
ifeq ($(OS),SOLARIS)
|
||||||
|
$(eval $(call gb_Library_add_libs,pl,\
|
||||||
|
-lsocket \
|
||||||
|
))
|
||||||
|
endif # OS=SOLARIS
|
||||||
|
|
||||||
|
ifeq ($(GUI),WNT)
|
||||||
|
$(eval $(call gb_Library_add_linked_libs,pl,\
|
||||||
|
version \
|
||||||
|
ole32 \
|
||||||
|
advapi32 \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,pl,\
|
||||||
|
extensions/source/plugin/win/winmgr \
|
||||||
|
extensions/source/plugin/win/sysplug \
|
||||||
|
))
|
||||||
|
endif # GUI=WNT
|
||||||
|
|
||||||
|
ifeq ($(GUI),UNX)
|
||||||
|
|
||||||
|
ifeq ($(GUIBASE),aqua)
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,pl,\
|
||||||
|
extensions/source/plugin/aqua/macmgr \
|
||||||
|
))
|
||||||
|
$(eval $(call gb_Library_add_objcxxobjects,pl,\
|
||||||
|
extensions/source/plugin/aqua/sysplug \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_include,pl,\
|
||||||
|
$$(INCLUDE) \
|
||||||
|
-I$(FRAMEWORKSHOME)/ApplicationServices.framework/Version/Current/Frameworks/QD.framework/Headers \
|
||||||
|
-I$(FRAMEWORKSHOME)/Carbon.framework/Versions/Current/Frameworks/HIToolbox.framework/Versions/Current/Headers \
|
||||||
|
))
|
||||||
|
|
||||||
|
endif # GUIBASE=aqua
|
||||||
|
|
||||||
|
ifeq ($(ENABLE_GTK),TRUE)
|
||||||
|
$(eval $(call gb_Library_add_defs,pl,\
|
||||||
|
-DENABLE_GTK \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_use_external,pl,gtk))
|
||||||
|
endif # ENABLE_GTK=TRUE
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,pl,\
|
||||||
|
extensions/source/plugin/unx/mediator \
|
||||||
|
extensions/source/plugin/unx/nppapi \
|
||||||
|
extensions/source/plugin/unx/plugcon \
|
||||||
|
extensions/source/plugin/unx/sysplug \
|
||||||
|
extensions/source/plugin/unx/unxmgr \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_libs,pl,\
|
||||||
|
-lX11 \
|
||||||
|
))
|
||||||
|
|
||||||
|
endif # GUI=UNX
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_linked_libs,pl,\
|
||||||
|
tk \
|
||||||
|
vcl \
|
||||||
|
svl \
|
||||||
|
utl \
|
||||||
|
tl \
|
||||||
|
ucbhelper \
|
||||||
|
cppuhelper \
|
||||||
|
cppu \
|
||||||
|
sal \
|
||||||
|
salhelper \
|
||||||
|
$(gb_STDLIBS) \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,pl,\
|
||||||
|
extensions/source/plugin/base/context \
|
||||||
|
extensions/source/plugin/base/evtlstnr \
|
||||||
|
extensions/source/plugin/base/manager \
|
||||||
|
extensions/source/plugin/base/multiplx \
|
||||||
|
extensions/source/plugin/base/nfuncs \
|
||||||
|
extensions/source/plugin/base/plcom \
|
||||||
|
extensions/source/plugin/base/plctrl \
|
||||||
|
extensions/source/plugin/base/plmodel \
|
||||||
|
extensions/source/plugin/base/service \
|
||||||
|
extensions/source/plugin/base/xplugin \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
56
extensions/Library_res.mk
Normal file
56
extensions/Library_res.mk
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
# -*- 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.
|
||||||
|
#
|
||||||
|
# The Initial Developer of the Original Code is
|
||||||
|
# Peter Foley <pefoley2@verizon.net>
|
||||||
|
# Portions created by the Initial Developer are Copyright (C) 2011 the
|
||||||
|
# Initial Developer. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
#
|
||||||
|
# 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,res))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_componentfile,res,extensions/source/resource/res))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_api,res,\
|
||||||
|
udkapi \
|
||||||
|
offapi \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_linked_libs,res,\
|
||||||
|
vcl \
|
||||||
|
tl \
|
||||||
|
comphelper \
|
||||||
|
cppu \
|
||||||
|
cppuhelper \
|
||||||
|
sal \
|
||||||
|
$(gb_STDLIBS) \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,res,\
|
||||||
|
extensions/source/resource/ResourceIndexAccess \
|
||||||
|
extensions/source/resource/oooresourceloader \
|
||||||
|
extensions/source/resource/resourceservices \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
73
extensions/Library_scn.mk
Normal file
73
extensions/Library_scn.mk
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
# -*- 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 Red Hat, Inc., Michael Stahl <mstahl@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_Library_Library,scn))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_componentfile,scn,extensions/source/scanner/scn))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_api,scn,\
|
||||||
|
udkapi \
|
||||||
|
offapi \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_linked_libs,scn,\
|
||||||
|
svt \
|
||||||
|
vcl \
|
||||||
|
tl \
|
||||||
|
comphelper \
|
||||||
|
cppuhelper \
|
||||||
|
cppu \
|
||||||
|
sal \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,scn,\
|
||||||
|
extensions/source/scanner/scnserv \
|
||||||
|
extensions/source/scanner/scanner \
|
||||||
|
))
|
||||||
|
|
||||||
|
ifeq ($(GUI),WNT)
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,scn,\
|
||||||
|
extensions/source/scanner/scanwin \
|
||||||
|
))
|
||||||
|
else
|
||||||
|
ifeq ($(GUI),UNX)
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,scn,\
|
||||||
|
extensions/source/scanner/grid \
|
||||||
|
extensions/source/scanner/sane \
|
||||||
|
extensions/source/scanner/sanedlg \
|
||||||
|
extensions/source/scanner/scanunx \
|
||||||
|
))
|
||||||
|
ifeq ($(OS),LINUX)
|
||||||
|
$(eval $(call gb_Library_add_linked_libs,scn,\
|
||||||
|
dl \
|
||||||
|
))
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
92
extensions/Library_so_activex.mk
Normal file
92
extensions/Library_so_activex.mk
Normal file
@@ -0,0 +1,92 @@
|
|||||||
|
# -*- 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.
|
||||||
|
#
|
||||||
|
# The Initial Developer of the Original Code is
|
||||||
|
# Peter Foley <pefoley2@verizon.net>
|
||||||
|
# Portions created by the Initial Developer are Copyright (C) 2011 the
|
||||||
|
# Initial Developer. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
#
|
||||||
|
# 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,so_activex))
|
||||||
|
|
||||||
|
$(SRCDIR)/extensions/source/activex/so_activex.cxx: $(WORKDIR)/CustomTarget/so_activex/so_activex.tlb
|
||||||
|
|
||||||
|
$(WORKDIR)/CustomTarget/so_activex/so_activex.tlb: $(SRCDIR)/extensions/source/activex/so_activex.idl
|
||||||
|
mkdir -p $(WORKDIR)/CustomTarget/so_activex
|
||||||
|
midl.exe -out $(call gb_Helper_convert_native,$(WORKDIR)/CustomTarget/so_activex) -Oicf $(call gb_Helper_convert_native,$<) \
|
||||||
|
$(foreach i,$(SOLARINC_FOR_BUILD), $(patsubst -I,/I,$(i)))
|
||||||
|
|
||||||
|
$(call gb_Library_get_clean_target,so_activex) : extensions_activex_idlclean
|
||||||
|
|
||||||
|
.PHONY: extensions_activex_idlclean
|
||||||
|
extensions_activex_idlclean:
|
||||||
|
rm -rf $(WORKDIR)/CustomTarget/so_activex
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_include,so_activex,\
|
||||||
|
$$(INCLUDE) \
|
||||||
|
-I$(WORKDIR)/CustomTarget/so_activex \
|
||||||
|
$(foreach i,$(ATL_INCLUDE), -I$(i)) \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_api,so_activex,\
|
||||||
|
offapi \
|
||||||
|
udkapi \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_nativeres,so_activex,activex_res))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,so_activex,\
|
||||||
|
extensions/source/activex/so_activex \
|
||||||
|
extensions/source/activex/SOActiveX \
|
||||||
|
extensions/source/activex/SOComWindowPeer \
|
||||||
|
extensions/source/activex/SODispatchInterceptor \
|
||||||
|
extensions/source/activex/SOActionsApproval \
|
||||||
|
extensions/source/activex/StdAfx2 \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_ldflags,so_activex,\
|
||||||
|
/DEF:$(call gb_Helper_convert_native,$(SRCDIR)/extensions/source/activex/so_activex.def) \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_linked_libs,so_activex,\
|
||||||
|
uuid \
|
||||||
|
advapi32 \
|
||||||
|
ole32 \
|
||||||
|
oleaut32 \
|
||||||
|
gdi32 \
|
||||||
|
urlmon \
|
||||||
|
shlwapi \
|
||||||
|
))
|
||||||
|
|
||||||
|
ifneq ($(USE_DEBUG_RUNTIME),)
|
||||||
|
$(eval $(call gb_Library_add_libs,so_activex,\
|
||||||
|
$(ATL_LIB)/atlsd.lib \
|
||||||
|
))
|
||||||
|
else
|
||||||
|
$(eval $(call gb_Library_add_libs,so_activex,\
|
||||||
|
$(ATL_LIB)/atls.lib \
|
||||||
|
))
|
||||||
|
endif
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
89
extensions/Library_so_activex_x64.mk
Normal file
89
extensions/Library_so_activex_x64.mk
Normal file
@@ -0,0 +1,89 @@
|
|||||||
|
# -*- 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.
|
||||||
|
#
|
||||||
|
# The Initial Developer of the Original Code is
|
||||||
|
# Peter Foley <pefoley2@verizon.net>
|
||||||
|
# Portions created by the Initial Developer are Copyright (C) 2011 the
|
||||||
|
# Initial Developer. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
#
|
||||||
|
# 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,so_activex_x64))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_x64,so_activex_x64,YES))
|
||||||
|
|
||||||
|
$(SRCDIR)/extensions/source/activex/so_activex.cxx: $(WORKDIR)/CustomTarget/so_activex/so_activex.tlb
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_include,so_activex_x64,\
|
||||||
|
$$(INCLUDE) \
|
||||||
|
-I$(SRCDIR)/extensions/source/activex \
|
||||||
|
-I$(WORKDIR)/CustomTarget/so_activex \
|
||||||
|
$(foreach i,$(ATL_INCLUDE), -I$(i)) \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_api,so_activex_x64,\
|
||||||
|
offapi \
|
||||||
|
udkapi \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_nativeres,so_activex_x64,activex_res))
|
||||||
|
|
||||||
|
$(WORKDIR)/CustomTarget/extensions/source/activex/%.cxx : \
|
||||||
|
$(SRCDIR)/extensions/source/activex/%.cxx
|
||||||
|
mkdir -p $(dir $@)
|
||||||
|
cp $< $@
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_x64_generated_exception_objects,so_activex_x64,\
|
||||||
|
CustomTarget/extensions/source/activex/so_activex \
|
||||||
|
CustomTarget/extensions/source/activex/SOActiveX \
|
||||||
|
CustomTarget/extensions/source/activex/SOComWindowPeer \
|
||||||
|
CustomTarget/extensions/source/activex/SODispatchInterceptor \
|
||||||
|
CustomTarget/extensions/source/activex/SOActionsApproval \
|
||||||
|
CustomTarget/extensions/source/activex/StdAfx2 \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_ldflags,so_activex_x64,\
|
||||||
|
/DEF:$(call gb_Helper_convert_native,$(SRCDIR)/extensions/source/activex/so_activex.def) \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_linked_libs,so_activex_x64,\
|
||||||
|
uuid \
|
||||||
|
advapi32 \
|
||||||
|
ole32 \
|
||||||
|
oleaut32 \
|
||||||
|
gdi32 \
|
||||||
|
urlmon \
|
||||||
|
shlwapi \
|
||||||
|
))
|
||||||
|
|
||||||
|
ifneq ($(USE_DEBUG_RUNTIME),)
|
||||||
|
$(eval $(call gb_Library_add_libs,so_activex_x64,\
|
||||||
|
$(ATL_LIB)/amd64/atlsd.lib \
|
||||||
|
))
|
||||||
|
else
|
||||||
|
$(eval $(call gb_Library_add_libs,so_activex_x64,\
|
||||||
|
$(ATL_LIB)/amd64/atls.lib \
|
||||||
|
))
|
||||||
|
endif
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
51
extensions/Library_updatecheckui.mk
Normal file
51
extensions/Library_updatecheckui.mk
Normal file
@@ -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 Red Hat, Inc., Michael Stahl <mstahl@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_Library_Library,updatecheckui))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_componentfile,updatecheckui,extensions/source/update/ui/updchk))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_api,updatecheckui,\
|
||||||
|
udkapi \
|
||||||
|
offapi \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_linked_libs,updatecheckui,\
|
||||||
|
vcl \
|
||||||
|
tl \
|
||||||
|
comphelper \
|
||||||
|
cppuhelper \
|
||||||
|
cppu \
|
||||||
|
sal \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,updatecheckui,\
|
||||||
|
extensions/source/update/ui/updatecheckui \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
48
extensions/Library_updatefeed.mk
Normal file
48
extensions/Library_updatefeed.mk
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
# -*- 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 Red Hat, Inc., Michael Stahl <mstahl@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_Library_Library,updatefeed))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_componentfile,updatefeed,extensions/source/update/feed/updatefeed))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_api,updatefeed,\
|
||||||
|
udkapi \
|
||||||
|
offapi \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_linked_libs,updatefeed,\
|
||||||
|
cppuhelper \
|
||||||
|
cppu \
|
||||||
|
sal \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,updatefeed,\
|
||||||
|
extensions/source/update/feed/updatefeed \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
73
extensions/Library_updchk.mk
Normal file
73
extensions/Library_updchk.mk
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
# -*- 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 Red Hat, Inc., Michael Stahl <mstahl@redhat.com> (initial developer) ]
|
||||||
|
# [ Copyright (C) 2011 Peter Foley <pefoley2@verizon.net> ]
|
||||||
|
#
|
||||||
|
# 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,updchk))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_componentfile,updchk,extensions/source/update/check/updchk.uno))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_include,updchk,\
|
||||||
|
$$(INCLUDE) \
|
||||||
|
-I$(SRCDIR)/extensions/inc \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_api,updchk,\
|
||||||
|
udkapi \
|
||||||
|
offapi \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_linked_libs,updchk,\
|
||||||
|
cppuhelper \
|
||||||
|
cppu \
|
||||||
|
sal \
|
||||||
|
))
|
||||||
|
|
||||||
|
ifeq ($(OS),WNT)
|
||||||
|
$(eval $(call gb_Library_add_linked_libs,updchk,\
|
||||||
|
ole32 \
|
||||||
|
shell32 \
|
||||||
|
wininet \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,updchk,\
|
||||||
|
extensions/source/update/check/onlinecheck \
|
||||||
|
))
|
||||||
|
endif # OS WNT
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_use_external,updchk,curl))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,updchk,\
|
||||||
|
extensions/source/update/check/download \
|
||||||
|
extensions/source/update/check/updatecheck \
|
||||||
|
extensions/source/update/check/updatecheckconfig \
|
||||||
|
extensions/source/update/check/updatecheckjob \
|
||||||
|
extensions/source/update/check/updatehdl \
|
||||||
|
extensions/source/update/check/updateprotocol \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
54
extensions/Library_xmx.mk
Normal file
54
extensions/Library_xmx.mk
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
# -*- 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.
|
||||||
|
#
|
||||||
|
# The Initial Developer of the Original Code is
|
||||||
|
# Peter Foley <pefoley2@verizon.net>
|
||||||
|
# Portions created by the Initial Developer are Copyright (C) 2011 the
|
||||||
|
# Initial Developer. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
#
|
||||||
|
# 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,xmx))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_componentfile,xmx,extensions/source/xmlextract/xmx))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_api,xmx,\
|
||||||
|
offapi \
|
||||||
|
udkapi \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,xmx,\
|
||||||
|
extensions/source/xmlextract/xmxtrct \
|
||||||
|
extensions/source/xmlextract/xmxuno \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_linked_libs,xmx,\
|
||||||
|
sot \
|
||||||
|
utl \
|
||||||
|
tl \
|
||||||
|
cppuhelper \
|
||||||
|
cppu \
|
||||||
|
sal \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
@@ -13,6 +13,7 @@
|
|||||||
#
|
#
|
||||||
# Major Contributor(s):
|
# Major Contributor(s):
|
||||||
# Copyright (C) 2011 Jan Holesovsky <kendy@suse.cz> (initial developer)
|
# Copyright (C) 2011 Jan Holesovsky <kendy@suse.cz> (initial developer)
|
||||||
|
# Copyright (C) 2011 Peter Foley <pefoley2@verizon.net>
|
||||||
#
|
#
|
||||||
# All Rights Reserved.
|
# All Rights Reserved.
|
||||||
#
|
#
|
||||||
@@ -26,6 +27,99 @@
|
|||||||
|
|
||||||
$(eval $(call gb_Module_Module,extensions))
|
$(eval $(call gb_Module_Module,extensions))
|
||||||
|
|
||||||
|
$(eval $(call gb_Module_add_targets,extensions,\
|
||||||
|
AllLangResTarget_abp \
|
||||||
|
AllLangResTarget_bib \
|
||||||
|
AllLangResTarget_dbp \
|
||||||
|
AllLangResTarget_pcr \
|
||||||
|
AllLangResTarget_scn \
|
||||||
|
AllLangResTarget_upd \
|
||||||
|
AllLangResTarget_updchk \
|
||||||
|
Configuration_updchk \
|
||||||
|
Library_abp \
|
||||||
|
Library_bib \
|
||||||
|
Library_dbp \
|
||||||
|
Library_log \
|
||||||
|
Library_pcr \
|
||||||
|
Library_res \
|
||||||
|
Library_scn \
|
||||||
|
Library_updatecheckui \
|
||||||
|
Library_updatefeed \
|
||||||
|
Library_updchk \
|
||||||
|
Library_xmx \
|
||||||
|
Package_bib \
|
||||||
|
Package_pcr \
|
||||||
|
))
|
||||||
|
|
||||||
|
ifeq ($(OS),WNT)
|
||||||
|
|
||||||
|
ifeq ($(COM),MSC)
|
||||||
|
ifneq ($(DISABLE_ACTIVEX),TRUE)
|
||||||
|
$(eval $(call gb_Module_add_targets,extensions,\
|
||||||
|
WinResTarget_activex \
|
||||||
|
Library_so_activex \
|
||||||
|
))
|
||||||
|
|
||||||
|
ifeq ($(BUILD_X64),TRUE)
|
||||||
|
$(eval $(call gb_Module_add_targets,extensions,\
|
||||||
|
Library_so_activex_x64 \
|
||||||
|
))
|
||||||
|
endif # BUILD_X64
|
||||||
|
endif # DISABLE_ACTIVEX
|
||||||
|
endif # COM=MSC
|
||||||
|
|
||||||
|
ifeq ($(DISABLE_ATL),)
|
||||||
|
$(eval $(call gb_Module_add_targets,extensions,\
|
||||||
|
Library_oleautobridge \
|
||||||
|
Library_oleautobridge2 \
|
||||||
|
))
|
||||||
|
endif # DISABLE_ATL
|
||||||
|
|
||||||
|
endif # WNT
|
||||||
|
|
||||||
|
ifneq ($(WITH_MOZILLA),NO)
|
||||||
|
|
||||||
|
$(eval $(call gb_Module_add_targets,extensions,\
|
||||||
|
Library_pl \
|
||||||
|
Executable_nsplugin \
|
||||||
|
))
|
||||||
|
|
||||||
|
ifeq ($(GUI),WNT)
|
||||||
|
$(eval $(call gb_Module_add_targets,extensions,\
|
||||||
|
Library_npsoplugin \
|
||||||
|
WinResTarget_npsoplugin \
|
||||||
|
))
|
||||||
|
endif # GUI=WNT
|
||||||
|
|
||||||
|
ifeq ($(GUI),UNX)
|
||||||
|
|
||||||
|
$(eval $(call gb_Module_add_targets,extensions,\
|
||||||
|
Executable_pluginapp.bin \
|
||||||
|
))
|
||||||
|
|
||||||
|
ifneq ($(ENABLE_GTK),)
|
||||||
|
$(eval $(call gb_Module_add_targets,extensions,\
|
||||||
|
Library_npsoplugin \
|
||||||
|
))
|
||||||
|
endif # ENABLE_GTK
|
||||||
|
|
||||||
|
endif # GUI=UNX
|
||||||
|
|
||||||
|
endif # WITH_MOZILLA=YES
|
||||||
|
|
||||||
|
ifeq ($(OS),MACOSX)
|
||||||
|
$(eval $(call gb_Module_add_targets,extensions,\
|
||||||
|
Library_OOoSpotlightImporter \
|
||||||
|
Zip_mdibundle \
|
||||||
|
))
|
||||||
|
endif # OS=MACOSX
|
||||||
|
|
||||||
|
ifeq ($(WITH_LDAP),YES)
|
||||||
|
$(eval $(call gb_Module_add_targets,extensions,\
|
||||||
|
Library_ldapbe2 \
|
||||||
|
))
|
||||||
|
endif # WITH_LDAP=YES
|
||||||
|
|
||||||
$(eval $(call gb_Module_add_check_targets,extensions,\
|
$(eval $(call gb_Module_add_check_targets,extensions,\
|
||||||
CppunitTest_extensions_test_update \
|
CppunitTest_extensions_test_update \
|
||||||
))
|
))
|
||||||
|
35
extensions/Package_bib.mk
Normal file
35
extensions/Package_bib.mk
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
# -*- 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.
|
||||||
|
#
|
||||||
|
# The Initial Developer of the Original Code is
|
||||||
|
# Peter Foley <pefoley2@verizon.net>
|
||||||
|
# Portions created by the Initial Developer are Copyright (C) 2011 the
|
||||||
|
# Initial Developer. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
#
|
||||||
|
# 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,bib,$(SRCDIR)/extensions/source/bibliography/uiconfig/sbibliography/menubar))
|
||||||
|
|
||||||
|
$(eval $(call gb_Package_add_file,bib,xml/uiconfig/modules/sbibliography/menubar/menubar.xml,menubar.xml))
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
35
extensions/Package_pcr.mk
Normal file
35
extensions/Package_pcr.mk
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
# -*- 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.
|
||||||
|
#
|
||||||
|
# The Initial Developer of the Original Code is
|
||||||
|
# Peter Foley <pefoley2@verizon.net>
|
||||||
|
# Portions created by the Initial Developer are Copyright (C) 2011 the
|
||||||
|
# Initial Developer. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
#
|
||||||
|
# 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,pcr,$(SRCDIR)/extensions/source/propctrlr))
|
||||||
|
|
||||||
|
$(eval $(call gb_Package_add_file,pcr,xml/pcr.xml,pcr.xml))
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
49
extensions/WinResTarget_activex.mk
Normal file
49
extensions/WinResTarget_activex.mk
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
# -*- 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.
|
||||||
|
#
|
||||||
|
# The Initial Developer of the Original Code is
|
||||||
|
# Peter Foley <pefoley2@verizon.net>
|
||||||
|
# Portions created by the Initial Developer are Copyright (C) 2011 the
|
||||||
|
# Initial Developer. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
#
|
||||||
|
# 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,activex_res))
|
||||||
|
|
||||||
|
ifneq ($(PRODUCT),)
|
||||||
|
$(eval $(call gb_WinResTarget_set_defs,activex_res,\
|
||||||
|
$$(DEFS) \
|
||||||
|
-DPRODUCT \
|
||||||
|
))
|
||||||
|
endif
|
||||||
|
|
||||||
|
$(eval $(call gb_WinResTarget_add_file,activex_res,extensions/source/activex/so_activex))
|
||||||
|
|
||||||
|
$(SRCDIR)/extensions/source/activex/so_activex.rc: $(WORKDIR)/CustomTarget/so_activex/so_activex.tlb
|
||||||
|
|
||||||
|
$(eval $(call gb_WinResTarget_set_defs,activex_res,\
|
||||||
|
$$(DEFS) \
|
||||||
|
-DMISC=$(call gb_Helper_convert_native,$(WORKDIR)/CustomTarget/so_activex) \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
35
extensions/WinResTarget_npsoplugin.mk
Normal file
35
extensions/WinResTarget_npsoplugin.mk
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
# -*- 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.
|
||||||
|
#
|
||||||
|
# The Initial Developer of the Original Code is
|
||||||
|
# Peter Foley <pefoley2@verizon.net>
|
||||||
|
# Portions created by the Initial Developer are Copyright (C) 2011 the
|
||||||
|
# Initial Developer. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
#
|
||||||
|
# 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,npsoplugin_res))
|
||||||
|
|
||||||
|
$(eval $(call gb_WinResTarget_add_file,npsoplugin_res,extensions/source/nsplugin/source/nsplugin_oo))
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
38
extensions/Zip_mdibundle.mk
Normal file
38
extensions/Zip_mdibundle.mk
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
# -*- 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.
|
||||||
|
#
|
||||||
|
# The Initial Developer of the Original Code is
|
||||||
|
# Peter Foley <pefoley2@verizon.net>
|
||||||
|
# Portions created by the Initial Developer are Copyright (C) 2011 the
|
||||||
|
# Initial Developer. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Major Contributor(s):
|
||||||
|
#
|
||||||
|
# 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_Zip_Zip,mdibundle,$(WORKDIR)/Zip/mdibundle))
|
||||||
|
|
||||||
|
$(eval $(call gb_Zip_add_file,mdibundle,schema.xml,$(SRCDIR)/extensions/source/macosx/spotlight/mdimporter/schema.xml))
|
||||||
|
$(eval $(call gb_Zip_add_file,mdibundle,Info.plist,$(SRCDIR)/extensions/source/macosx/spotlight/mdimporter/Info.plist))
|
||||||
|
$(eval $(call gb_Zip_add_file,mdibundle,en.lproj/schema.strings,$(SRCDIR)/extensions/source/macosx/spotlight/mdimporter/en.lproj/schema.strings))
|
||||||
|
$(eval $(call gb_Zip_add_file,mdibundle,MacOS/OOoSpotlightImporter,$(OUTDIR)/lib/libOOoSpotlightImporter.dylib))
|
||||||
|
|
||||||
|
# vim:set shiftwidth=4 softtabstop=4 expandtab:
|
@@ -1,45 +0,0 @@
|
|||||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
||||||
/*************************************************************************
|
|
||||||
*
|
|
||||||
* 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.
|
|
||||||
*
|
|
||||||
************************************************************************/
|
|
||||||
#ifndef _APPSETTINGS_HXX
|
|
||||||
#define _APPSETTINGS_HXX
|
|
||||||
|
|
||||||
#include <stardiv/uno/util/containr.hxx>
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
XNameContainer* getApplicationSettings();
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@@ -1,39 +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=extensions
|
|
||||||
TARGET=inc
|
|
||||||
|
|
||||||
# --- Settings -----------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : settings.mk
|
|
||||||
|
|
||||||
# --- Files --------------------------------------------------------
|
|
||||||
# --- Targets -------------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : target.mk
|
|
@@ -1,35 +1,5 @@
|
|||||||
ex extensions : officecfg TRANSLATIONS:translations DESKTOP:rdbmaker svx SANE:sane TWAIN:twain np_sdk offapi stoc ZLIB:zlib CURL:curl LIBXSLT:libxslt CPPUNIT:cppunit NULL
|
ex extensions : officecfg TRANSLATIONS:translations DESKTOP:rdbmaker svx SANE:sane TWAIN:twain np_sdk offapi stoc ZLIB:zlib CURL:curl LIBXSLT:libxslt CPPUNIT:cppunit NULL
|
||||||
|
ex extensions\prj nmake - all ex_prj NULL
|
||||||
ex extensions usr1 - all ex_mkout NULL
|
|
||||||
ex extensions\inc nmake - all ex_inc NULL
|
|
||||||
ex extensions\inc\ucbhelper get - all ex_incucbh ex_inc NULL
|
|
||||||
ex extensions\source\plugin\workben get - all ex_plwkb ex_inc NULL
|
|
||||||
ex extensions\source\plugin\inc\plugin\win get - all ex_piwi ex_inc NULL
|
|
||||||
ex extensions\source\plugin\inc\plugin\unx get - all ex_piux ex_inc NULL
|
|
||||||
ex extensions\source\activex\msidl nmake - w ex_axmsidl ex_inc NULL
|
|
||||||
ex extensions\source\activex\main nmake - w ex_axmain ex_axmsidl.w ex_inc NULL
|
|
||||||
ex extensions\source\ole nmake - w ex_ole ex_xmlextr ex_inc NULL
|
|
||||||
ex extensions\source\resource nmake - all ex_resrc ex_inc NULL
|
|
||||||
ex extensions\source\plugin\aqua nmake - u ex_plaqua ex_plbase NULL
|
|
||||||
ex extensions\source\plugin\base nmake - all ex_plbase ex_inc NULL
|
|
||||||
ex extensions\source\plugin\win nmake - w ex_plwin ex_plbase ex_inc NULL
|
|
||||||
ex extensions\source\plugin\unx nmake - u ex_plunx ex_inc NULL
|
|
||||||
ex extensions\source\plugin\util nmake - all ex_plutil ex_plbase ex_plunx.u ex_plwin.w ex_plaqua.u ex_inc NULL
|
|
||||||
ex extensions\source\macosx\spotlight nmake - u ex_mxspotlight NULL
|
|
||||||
ex extensions\source\scanner nmake - all ex_scan ex_resrc ex_inc NULL
|
|
||||||
ex extensions\source\bibliography nmake - all ex_bib ex_inc NULL
|
|
||||||
ex extensions\source\xmlextract nmake - all ex_xmlextr ex_inc NULL
|
|
||||||
ex extensions\source\propctrlr nmake - all ex_propctrlr ex_bib ex_inc NULL
|
|
||||||
ex extensions\source\dbpilots nmake - all ex_dbpilots ex_inc NULL
|
|
||||||
ex extensions\source\abpilot nmake - all ex_abpilot ex_inc NULL
|
|
||||||
ex extensions\source\logging nmake - all ex_logging ex_inc NULL
|
|
||||||
ex extensions\source\config\ldap nmake - all ex_ldap ex_inc NULL
|
|
||||||
ex extensions\source\nsplugin\source nmake - u ex_nsplugin ex_inc NULL
|
|
||||||
ex extensions\source\nsplugin\source nmake - w ex_nsplugin ex_inc NULL
|
|
||||||
ex extensions\source\update\feed nmake - all ex_updchkfeed ex_inc NULL
|
|
||||||
ex extensions\source\update\check nmake - all ex_updchk ex_inc NULL
|
|
||||||
ex extensions\source\update\ui nmake - all ex_updchkui ex_inc NULL
|
|
||||||
ex extensions\util nmake - all ex_util ex_abpilot ex_dbpilots ex_logging ex_ldap ex_propctrlr ex_bib ex_plutil NULL
|
|
||||||
|
|
||||||
# Fails at the moment
|
# Fails at the moment
|
||||||
# ex extensions\qa\complex\extensions nmake - all ex_complex ex_util NULL
|
# ex extensions\qa\complex\extensions nmake - all ex_complex ex_util NULL
|
||||||
|
@@ -1,55 +0,0 @@
|
|||||||
mkdir: %COMMON_DEST%\bin\hid
|
|
||||||
mkdir: %_DEST%\xml\uiconfig
|
|
||||||
mkdir: %_DEST%\xml\uiconfig\modules
|
|
||||||
mkdir: %_DEST%\xml\uiconfig\modules\sbibliography
|
|
||||||
mkdir: %_DEST%\xml\uiconfig\modules\sbibliography\menubar
|
|
||||||
mkdir: %_DEST%\bin\odf4ms
|
|
||||||
mkdir: %_DEST%\bin\so
|
|
||||||
|
|
||||||
..\%COMMON_OUTDIR%\misc\*.hid %COMMON_DEST%\bin\hid\*.hid
|
|
||||||
..\%__SRC%\bin\*.dll %_DEST%\bin\*.dll
|
|
||||||
..\%__SRC%\lib\lib*.so %_DEST%\lib
|
|
||||||
..\%__SRC%\lib\ldapbe2.uno.so %_DEST%\lib\ldapbe2.uno.so
|
|
||||||
..\%__SRC%\lib\updchk.uno.so %_DEST%\lib\updchk.uno.so
|
|
||||||
..\%__SRC%\lib\updatefeed.uno.so %_DEST%\lib\updatefeed.uno.so
|
|
||||||
..\%__SRC%\bin\oleautobridge2.uno.dll %_DEST%\bin\odf4ms\oleautobridge.uno.dll
|
|
||||||
..\%__SRC%\lib\*.dylib %_DEST%\lib\*.dylib
|
|
||||||
..\%__SRC%\bin\pluginapp.bin %_DEST%\bin\pluginapp.bin
|
|
||||||
..\%__SRC%\bin\*.res %_DEST%\bin\*.res
|
|
||||||
..\%__SRC%\bin\nsplugin.exe %_DEST%\bin\nsplugin.exe
|
|
||||||
..\%__SRC%\bin\nsplugin %_DEST%\bin\nsplugin
|
|
||||||
..\%__SRC%\bin\npsoplugin.dll %_DEST%\bin\npsoplugin.dll
|
|
||||||
..\%__SRC%\bin\npsoplugin_so.dll %_DEST%\bin\so\npsoplugin.dll
|
|
||||||
..\%__SRC%\bin\x64\so_activex.dll %_DEST%\bin\so_activex_x64.dll
|
|
||||||
..\%__SRC%\bin\mdibundle.zip %_DEST%\bin\mdibundle.zip
|
|
||||||
..\%__SRC%\misc\oleautobridge.component %_DEST%\xml\oleautobridge.component
|
|
||||||
|
|
||||||
..\source\bibliography\uiconfig\sbibliography\menubar\*.xml %_DEST%\xml\uiconfig\modules\sbibliography\menubar\*.xml
|
|
||||||
|
|
||||||
..\source\propctrlr\pcr.xml %_DEST%\xml\pcr.xml
|
|
||||||
|
|
||||||
mkdir: %_DEST%\xml\registry\spool
|
|
||||||
mkdir: %_DEST%\xml\registry\spool\org
|
|
||||||
mkdir: %_DEST%\xml\registry\spool\org\openoffice
|
|
||||||
mkdir: %_DEST%\xml\registry\spool\org\openoffice\Office\Addons
|
|
||||||
mkdir: %_DEST%\xml\registry\spool\org\openoffice\Office\Jobs
|
|
||||||
mkdir: %_DEST%\xml\registry\spool\org\openoffice\Office\Logging
|
|
||||||
|
|
||||||
..\%__SRC%\misc\registry\spool\org\openoffice\Office\Addons\*.xcu %_DEST%\xml\registry\spool\org\openoffice\Office\Addons
|
|
||||||
..\%__SRC%\misc\registry\spool\org\openoffice\Office\Jobs\*.xcu %_DEST%\xml\registry\spool\org\openoffice\Office\Jobs
|
|
||||||
..\%__SRC%\misc\registry\spool\org\openoffice\Office\Logging\*.xcu %_DEST%\xml\registry\spool\org\openoffice\Office\Logging
|
|
||||||
|
|
||||||
..\%__SRC%\bin\*.oxt %_DEST%\pck\*
|
|
||||||
..\%__SRC%\misc\abp.component %_DEST%\xml\abp.component
|
|
||||||
..\%__SRC%\misc\bib.component %_DEST%\xml\bib.component
|
|
||||||
..\%__SRC%\misc\dbp.component %_DEST%\xml\dbp.component
|
|
||||||
..\%__SRC%\misc\ldapbe2.component %_DEST%\xml\ldapbe2.component
|
|
||||||
..\%__SRC%\misc\log.component %_DEST%\xml\log.component
|
|
||||||
..\%__SRC%\misc\pcr.component %_DEST%\xml\pcr.component
|
|
||||||
..\%__SRC%\misc\pl.component %_DEST%\xml\pl.component
|
|
||||||
..\%__SRC%\misc\res.component %_DEST%\xml\res.component
|
|
||||||
..\%__SRC%\misc\scn.component %_DEST%\xml\scn.component
|
|
||||||
..\%__SRC%\misc\updatefeed.component %_DEST%\xml\updatefeed.component
|
|
||||||
..\%__SRC%\misc\updchk.component %_DEST%\xml\updchk.component
|
|
||||||
..\%__SRC%\misc\updchk.uno.component %_DEST%\xml\updchk.uno.component
|
|
||||||
..\%__SRC%\misc\xmx.component %_DEST%\xml\xmx.component
|
|
||||||
|
1
extensions/prj/makefile.mk
Normal file
1
extensions/prj/makefile.mk
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.INCLUDE : gbuildbridge.mk
|
@@ -1 +0,0 @@
|
|||||||
component_getFactory
|
|
@@ -1,115 +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=..$/..
|
|
||||||
PRJINC=..$/inc
|
|
||||||
|
|
||||||
PRJNAME=extensions
|
|
||||||
TARGET=abp
|
|
||||||
USE_DEFFILE=TRUE
|
|
||||||
VISIBILITY_HIDDEN=TRUE
|
|
||||||
|
|
||||||
# --- Settings -----------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : $(PRJ)$/util$/makefile.pmk
|
|
||||||
|
|
||||||
# --- defines ------------------------------------------------------
|
|
||||||
|
|
||||||
CDEFS+=-DCOMPMOD_NAMESPACE=abp
|
|
||||||
CDEFS+=-DCOMPMOD_RESPREFIX=abp
|
|
||||||
|
|
||||||
# --- Files --------------------------------------------------------
|
|
||||||
|
|
||||||
EXCEPTIONSFILES= \
|
|
||||||
$(SLO)$/abpfinalpage.obj \
|
|
||||||
$(SLO)$/abpservices.obj \
|
|
||||||
$(SLO)$/abspage.obj \
|
|
||||||
$(SLO)$/abspilot.obj \
|
|
||||||
$(SLO)$/admininvokationimpl.obj \
|
|
||||||
$(SLO)$/admininvokationpage.obj \
|
|
||||||
$(SLO)$/datasourcehandling.obj \
|
|
||||||
$(SLO)$/fieldmappingimpl.obj \
|
|
||||||
$(SLO)$/fieldmappingpage.obj \
|
|
||||||
$(SLO)$/moduleabp.obj \
|
|
||||||
$(SLO)$/tableselectionpage.obj \
|
|
||||||
$(SLO)$/typeselectionpage.obj \
|
|
||||||
$(SLO)$/unodialogabp.obj \
|
|
||||||
|
|
||||||
SLOFILES= \
|
|
||||||
$(EXCEPTIONSFILES)
|
|
||||||
|
|
||||||
|
|
||||||
.IF "$(WITH_MOZILLA)" != "NO"
|
|
||||||
.IF "$(SYSTEM_MOZILLA)" != "YES"
|
|
||||||
CDEFS+=-DWITH_MOZILLA
|
|
||||||
.ENDIF
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
SRS1NAME=$(TARGET)
|
|
||||||
SRC1FILES= abspilot.src
|
|
||||||
|
|
||||||
RESLIB1NAME=abp
|
|
||||||
RESLIB1IMAGES=$(PRJ)$/res
|
|
||||||
RESLIB1SRSFILES= $(SRS)$/abp.srs
|
|
||||||
|
|
||||||
SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
|
|
||||||
SHL1VERSIONMAP=$(SOLARENV)/src/component.map
|
|
||||||
|
|
||||||
SHL1STDLIBS= \
|
|
||||||
$(COMPHELPERLIB) \
|
|
||||||
$(CPPUHELPERLIB) \
|
|
||||||
$(CPPULIB) \
|
|
||||||
$(SALLIB) \
|
|
||||||
$(SFXLIB) \
|
|
||||||
$(SVLLIB) \
|
|
||||||
$(SVTLIB) \
|
|
||||||
$(SVTOOLLIB) \
|
|
||||||
$(SVXCORELIB) \
|
|
||||||
$(SVXLIB) \
|
|
||||||
$(TKLIB) \
|
|
||||||
$(TOOLSLIB) \
|
|
||||||
$(UNOTOOLSLIB) \
|
|
||||||
$(VCLLIB) \
|
|
||||||
|
|
||||||
SHL1LIBS= $(SLB)$/$(TARGET).lib
|
|
||||||
SHL1IMPLIB= i$(TARGET)
|
|
||||||
SHL1DEPN= $(SHL1LIBS)
|
|
||||||
SHL1DEF= $(MISC)$/$(SHL1TARGET).def
|
|
||||||
|
|
||||||
DEF1NAME= $(SHL1TARGET)
|
|
||||||
DEF1EXPORTFILE= exports.dxp
|
|
||||||
|
|
||||||
# --- Targets ------------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : target.mk
|
|
||||||
|
|
||||||
ALLTAR : $(MISC)/abp.component
|
|
||||||
|
|
||||||
$(MISC)/abp.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
|
|
||||||
abp.component
|
|
||||||
$(XSLTPROC) --nonet --stringparam uri \
|
|
||||||
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
|
|
||||||
$(SOLARENV)/bin/createcomponent.xslt abp.component
|
|
@@ -1,157 +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=extensions
|
|
||||||
TARGET=so_activex
|
|
||||||
|
|
||||||
use_shl_versions=
|
|
||||||
|
|
||||||
# --- Settings ----------------------------------
|
|
||||||
.INCLUDE : settings.mk
|
|
||||||
|
|
||||||
.IF "$(GUI)$(COM)" == "WNTMSC" && "$(DISABLE_ACTIVEX)"==""
|
|
||||||
|
|
||||||
VERSIONOBJ=
|
|
||||||
LIBTARGET=NO
|
|
||||||
USE_DEFFILE=YES
|
|
||||||
UWINAPILIB=
|
|
||||||
|
|
||||||
.IF "$(BUILD_X64)"!=""
|
|
||||||
USE_DEFFILE_X64=TRUE
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
INCPRE+=$(foreach,i,$(ATL_INCLUDE) -I$(i)) \
|
|
||||||
-I$(MISC) \
|
|
||||||
|
|
||||||
# --- Files -------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
.IF "$(PRODUCT)"!=""
|
|
||||||
RC+=-DPRODUCT
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
RCFILES=\
|
|
||||||
$(TARGET).rc
|
|
||||||
RCDEPN=$(MISC)$/envsettings.h
|
|
||||||
|
|
||||||
SLOFILES=\
|
|
||||||
$(SLO)$/so_activex.obj \
|
|
||||||
$(SLO)$/SOActiveX.obj \
|
|
||||||
$(SLO)$/SOComWindowPeer.obj \
|
|
||||||
$(SLO)$/SODispatchInterceptor.obj \
|
|
||||||
$(SLO)$/SOActionsApproval.obj \
|
|
||||||
$(SLO)$/StdAfx2.obj
|
|
||||||
|
|
||||||
SHL1TARGET=$(TARGET)
|
|
||||||
SHL1STDLIBS=\
|
|
||||||
$(UUIDLIB) \
|
|
||||||
$(ADVAPI32LIB) \
|
|
||||||
$(OLE32LIB) \
|
|
||||||
$(OLEAUT32LIB) \
|
|
||||||
$(GDI32LIB) \
|
|
||||||
$(URLMONLIB) \
|
|
||||||
$(SHLWAPILIB)
|
|
||||||
|
|
||||||
.IF "$(COM)" == "MSC"
|
|
||||||
.IF "$(USE_DEBUG_RUNTIME)" != ""
|
|
||||||
SHL1STDLIBS+= $(ATL_LIB)$/atlsd.lib
|
|
||||||
.ELSE
|
|
||||||
SHL1STDLIBS+= $(ATL_LIB)$/atls.lib
|
|
||||||
.ENDIF
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
|
|
||||||
# $(KERNEL32LIB) \
|
|
||||||
# rpcndr.lib \
|
|
||||||
# rpcns4.lib \
|
|
||||||
# rpcrt4.lib
|
|
||||||
|
|
||||||
#$(KERNEL32LIB) rpcndr.lib rpcns4.lib rpcrt4.lib
|
|
||||||
|
|
||||||
SHL1OBJS=$(SLOFILES)
|
|
||||||
|
|
||||||
SHL1LIBS=
|
|
||||||
SHL1DEF=$(TARGET).def
|
|
||||||
SHL1RES=$(RES)$/$(TARGET).res
|
|
||||||
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
.IF "$(BUILD_X64)"!=""
|
|
||||||
# -------------------- x64 -----------------------
|
|
||||||
|
|
||||||
CDEFS_X64+:=$(foreach,i,$(CDEFS) $(subst,-D_X86_=1, $i))
|
|
||||||
LIBTARGET_X64=NO
|
|
||||||
USE_DEFFILE_X64=YES
|
|
||||||
UWINAPILIB_X64=
|
|
||||||
|
|
||||||
SLOFILES_X64= \
|
|
||||||
$(SLO_X64)$/so_activex.obj \
|
|
||||||
$(SLO_X64)$/SOActiveX.obj \
|
|
||||||
$(SLO_X64)$/SOComWindowPeer.obj \
|
|
||||||
$(SLO_X64)$/SODispatchInterceptor.obj \
|
|
||||||
$(SLO_X64)$/SOActionsApproval.obj \
|
|
||||||
$(SLO_X64)$/StdAfx2.obj
|
|
||||||
|
|
||||||
SHL1TARGET_X64=$(TARGET)
|
|
||||||
|
|
||||||
SHL1STDLIBS_X64+=\
|
|
||||||
$(UUIDLIB_X64) \
|
|
||||||
$(ADVAPI32LIB_X64) \
|
|
||||||
$(OLE32LIB_X64) \
|
|
||||||
$(OLEAUT32LIB_X64) \
|
|
||||||
$(GDI32LIB_X64) \
|
|
||||||
$(URLMONLIB_X64) \
|
|
||||||
$(SHLWAPILIB_X64) \
|
|
||||||
$(KERNEL32LIB_X64) \
|
|
||||||
$(USER32LIB_X64) \
|
|
||||||
$(MSVCRT_X64) \
|
|
||||||
$(MSVCPRT_X64) \
|
|
||||||
$(OLDNAMESLIB_X64)
|
|
||||||
|
|
||||||
SHL1OBJS_X64=$(SLOFILES_X64)
|
|
||||||
SHL1DEF_X64=$(TARGET).def
|
|
||||||
|
|
||||||
.IF "$(USE_DEBUG_RUNTIME)" != ""
|
|
||||||
SHL1STDLIBS_X64+= $(ATL_LIB)$/amd64$/atlsd.lib
|
|
||||||
.ELSE
|
|
||||||
SHL1STDLIBS_X64+= $(ATL_LIB)$/amd64$/atls.lib
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
.ENDIF # "$(BUILD_X64)"!=""
|
|
||||||
|
|
||||||
# --- Targets ----------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : set_wntx64.mk
|
|
||||||
VERSIONOBJ_X64=
|
|
||||||
.INCLUDE : target.mk
|
|
||||||
.INCLUDE : tg_wntx64.mk
|
|
||||||
|
|
||||||
$(MISC)$/envsettings.h : makefile.mk
|
|
||||||
-$(RM) $@
|
|
||||||
# it looks wrong; but rc likes it that way...
|
|
||||||
echo "#define MISC .\..\$(INPATH)\misc" > $@
|
|
@@ -1,62 +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=extensions
|
|
||||||
TARGET=msidl
|
|
||||||
|
|
||||||
# --- Settings ----------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : settings.mk
|
|
||||||
|
|
||||||
.IF "$(GUI)$(COM)" == "WNTMSC" && "$(DISABLE_ACTIVEX)"==""
|
|
||||||
|
|
||||||
# --- Targets ----------------------------------
|
|
||||||
|
|
||||||
ALL : $(MISC)$/activex_component
|
|
||||||
|
|
||||||
MTL=midl.exe
|
|
||||||
MTL_PROJ=
|
|
||||||
|
|
||||||
SOURCE=so_activex.idl
|
|
||||||
|
|
||||||
MTL_SWITCHES=-tlb $(MISC)$/so_activex.tlb -h $(MISC)$/so_activex.h -iid $(MISC)$/so_activex_i.c -dlldata $(MISC)$/so_activex_dll.c -proxy $(MISC)$/so_activex_p.c -Oicf
|
|
||||||
|
|
||||||
.IF "$(COM)"=="GCC"
|
|
||||||
MTL_SWITCHES+=-cpp_cmd gcc -cpp_opt "-x c -E -D__stdcall= -D_stdcall= -nostdinc -I $(shell @cygpath -w $(PSDK_HOME)/include)"
|
|
||||||
|
|
||||||
$(MISC)$/activex_component : $(SOURCE)
|
|
||||||
$(MTL) $(MTL_SWITCHES) -I $(shell @cygpath -w $(PSDK_HOME)/include|sed 's#\\#\\\\#g') $(SOURCE)
|
|
||||||
.ELSE
|
|
||||||
$(MISC)$/activex_component : $(SOURCE)
|
|
||||||
$(WRAPCMD) $(MTL) $(MTL_SWITCHES) $(INCLUDE) $(SOURCE) && $(TOUCH) $@
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
.INCLUDE : target.mk
|
|
||||||
|
|
@@ -104,8 +104,6 @@ END
|
|||||||
// Generated from the TEXTINCLUDE 3 resource.
|
// Generated from the TEXTINCLUDE 3 resource.
|
||||||
//
|
//
|
||||||
|
|
||||||
#include "envsettings.h"
|
|
||||||
|
|
||||||
1 TYPELIB MISC\so_activex.tlb
|
1 TYPELIB MISC\so_activex.tlb
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
@@ -1,98 +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=extensions
|
|
||||||
TARGET=bib
|
|
||||||
ENABLE_EXCEPTIONS=TRUE
|
|
||||||
|
|
||||||
# --- Settings -----------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : $(PRJ)$/util$/makefile.pmk
|
|
||||||
|
|
||||||
# --- Files --------------------------------------------------------
|
|
||||||
|
|
||||||
SLOFILES= $(SLO)$/formcontrolcontainer.obj \
|
|
||||||
$(SLO)$/loadlisteneradapter.obj \
|
|
||||||
$(SLO)$/bibconfig.obj \
|
|
||||||
$(SLO)$/bibcont.obj \
|
|
||||||
$(SLO)$/bibload.obj \
|
|
||||||
$(SLO)$/bibmod.obj \
|
|
||||||
$(SLO)$/general.obj \
|
|
||||||
$(SLO)$/framectr.obj \
|
|
||||||
$(SLO)$/bibview.obj \
|
|
||||||
$(SLO)$/bibbeam.obj \
|
|
||||||
$(SLO)$/toolbar.obj \
|
|
||||||
$(SLO)$/datman.obj \
|
|
||||||
|
|
||||||
|
|
||||||
SRS1NAME=$(TARGET)
|
|
||||||
SRC1FILES= bib.src \
|
|
||||||
datman.src \
|
|
||||||
sections.src \
|
|
||||||
toolbar.src
|
|
||||||
|
|
||||||
RESLIB1NAME=bib
|
|
||||||
RESLIB1SRSFILES= $(SRS)$/bib.srs
|
|
||||||
RESLIB1DEPN= bib.src bib.hrc
|
|
||||||
|
|
||||||
|
|
||||||
SHL1STDLIBS= \
|
|
||||||
$(SOTLIB) \
|
|
||||||
$(SVTOOLLIB) \
|
|
||||||
$(TKLIB) \
|
|
||||||
$(VCLLIB) \
|
|
||||||
$(SVLLIB) \
|
|
||||||
$(UNOTOOLSLIB) \
|
|
||||||
$(TOOLSLIB) \
|
|
||||||
$(DBTOOLSLIB) \
|
|
||||||
$(COMPHELPERLIB) \
|
|
||||||
$(CPPUHELPERLIB) \
|
|
||||||
$(CPPULIB) \
|
|
||||||
$(SALLIB)
|
|
||||||
|
|
||||||
|
|
||||||
SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
|
|
||||||
SHL1LIBS= $(SLB)$/$(TARGET).lib
|
|
||||||
SHL1IMPLIB= i$(TARGET)
|
|
||||||
SHL1DEPN= $(SHL1LIBS)
|
|
||||||
SHL1DEF= $(MISC)$/$(SHL1TARGET).def
|
|
||||||
SHL1VERSIONMAP=$(SOLARENV)/src/component.map
|
|
||||||
DEF1NAME= $(SHL1TARGET)
|
|
||||||
|
|
||||||
# --- Targets ------------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : target.mk
|
|
||||||
|
|
||||||
|
|
||||||
ALLTAR : $(MISC)/bib.component
|
|
||||||
|
|
||||||
$(MISC)/bib.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
|
|
||||||
bib.component
|
|
||||||
$(XSLTPROC) --nonet --stringparam uri \
|
|
||||||
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
|
|
||||||
$(SOLARENV)/bin/createcomponent.xslt bib.component
|
|
@@ -1 +0,0 @@
|
|||||||
component_getFactory
|
|
@@ -1,105 +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=extensions
|
|
||||||
TARGET=ldapbe
|
|
||||||
ENABLE_EXCEPTIONS=TRUE
|
|
||||||
|
|
||||||
# Version
|
|
||||||
LDAP_MAJOR=2
|
|
||||||
|
|
||||||
# --- Settings ---
|
|
||||||
|
|
||||||
.INCLUDE : settings.mk
|
|
||||||
DLLPRE =
|
|
||||||
|
|
||||||
.IF "$(WITH_LDAP)" != "YES"
|
|
||||||
@all:
|
|
||||||
@echo "LDAP disabled."
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
.IF "$(LDAPSDKINCLUDES)" == ""
|
|
||||||
|
|
||||||
.IF "$(SYSTEM_MOZILLA)" == "YES" && "$(WITH_OPENLDAP)" != "YES"
|
|
||||||
LDAPSDKINCLUDES = $(MOZ_LDAP_CFLAGS)
|
|
||||||
.ELSE
|
|
||||||
LDAPSDKINCLUDES = -I$(SOLARINCDIR)$/mozilla
|
|
||||||
.ENDIF
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
.IF "$(WITH_OPENLDAP)" == "YES"
|
|
||||||
CFLAGS += -DWITH_OPENLDAP -DLDAP_DEPRECATED
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
SOLARINC+= $(LDAPSDKINCLUDES)
|
|
||||||
# --- Files ---
|
|
||||||
|
|
||||||
|
|
||||||
SLOFILES=\
|
|
||||||
$(SLO)$/ldapuserprofilebe.obj \
|
|
||||||
$(SLO)$/ldapaccess.obj \
|
|
||||||
$(SLO)$/componentdef.obj
|
|
||||||
|
|
||||||
LIB1TARGET=$(SLB)$/_$(TARGET).lib
|
|
||||||
LIB1OBJFILES=$(SLOFILES)
|
|
||||||
|
|
||||||
SHL1TARGET=$(TARGET)$(LDAP_MAJOR).uno
|
|
||||||
SHL1DEF=$(MISC)$/$(SHL1TARGET).def
|
|
||||||
SHL1LIBS=$(LIB1TARGET)
|
|
||||||
SHL1IMPLIB=i$(SHL1TARGET)
|
|
||||||
SHL1STDLIBS= \
|
|
||||||
$(CPPUHELPERLIB) \
|
|
||||||
$(CPPULIB) \
|
|
||||||
$(SALHELPERLIB) \
|
|
||||||
$(SALLIB)
|
|
||||||
.IF "$(OS)"=="FREEBSD"
|
|
||||||
SHL1STDLIBS+=-lcompat
|
|
||||||
# workaround for FreeBSD, which needs -llber50, too
|
|
||||||
.IF "$(WITH_OPENLDAP)" != "YES"
|
|
||||||
SHL1STDLIBS+=-Wl,-Bstatic -llber50
|
|
||||||
.ENDIF
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
DEF1NAME=$(SHL1TARGET)
|
|
||||||
DEF1EXPORTFILE=exports.dxp
|
|
||||||
DEF1DES=Configuration: LDAP User Profile Backend
|
|
||||||
|
|
||||||
# --- Targets ---
|
|
||||||
|
|
||||||
.INCLUDE : target.mk
|
|
||||||
.INCLUDE : $(PRJ)$/util$/target.pmk
|
|
||||||
|
|
||||||
|
|
||||||
ALLTAR : $(MISC)/ldapbe2.component
|
|
||||||
|
|
||||||
$(MISC)/ldapbe2.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
|
|
||||||
ldapbe2.component
|
|
||||||
$(XSLTPROC) --nonet --stringparam uri \
|
|
||||||
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
|
|
||||||
$(SOLARENV)/bin/createcomponent.xslt ldapbe2.component
|
|
@@ -1,111 +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=..$/..
|
|
||||||
PRJINC=..$/inc
|
|
||||||
|
|
||||||
PRJNAME=extensions
|
|
||||||
TARGET=dbp
|
|
||||||
ENABLE_EXCEPTIONS=TRUE
|
|
||||||
VISIBILITY_HIDDEN=TRUE
|
|
||||||
|
|
||||||
# --- Settings -----------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : $(PRJ)$/util$/makefile.pmk
|
|
||||||
|
|
||||||
# --- defines ------------------------------------------------------
|
|
||||||
|
|
||||||
CDEFS+=-DCOMPMOD_NAMESPACE=dbp
|
|
||||||
|
|
||||||
# --- Files --------------------------------------------------------
|
|
||||||
|
|
||||||
CXXFILES= dbptools.cxx \
|
|
||||||
gridwizard.cxx \
|
|
||||||
listcombowizard.cxx \
|
|
||||||
optiongrouplayouter.cxx \
|
|
||||||
commonpagesdbp.cxx \
|
|
||||||
groupboxwiz.cxx \
|
|
||||||
wizardservices.cxx \
|
|
||||||
controlwizard.cxx \
|
|
||||||
moduledbp.cxx \
|
|
||||||
dbpservices.cxx
|
|
||||||
|
|
||||||
SLOFILES= $(SLO)$/dbptools.obj \
|
|
||||||
$(SLO)$/gridwizard.obj \
|
|
||||||
$(SLO)$/listcombowizard.obj \
|
|
||||||
$(SLO)$/optiongrouplayouter.obj \
|
|
||||||
$(SLO)$/commonpagesdbp.obj \
|
|
||||||
$(SLO)$/groupboxwiz.obj \
|
|
||||||
$(SLO)$/wizardservices.obj \
|
|
||||||
$(SLO)$/controlwizard.obj \
|
|
||||||
$(SLO)$/moduledbp.obj \
|
|
||||||
$(SLO)$/dbpservices.obj
|
|
||||||
|
|
||||||
|
|
||||||
SRS1NAME=$(TARGET)
|
|
||||||
SRC1FILES= gridpages.src \
|
|
||||||
commonpagesdbp.src \
|
|
||||||
dbpilots.src \
|
|
||||||
groupboxpages.src \
|
|
||||||
listcombopages.src
|
|
||||||
|
|
||||||
RESLIB1NAME=dbp
|
|
||||||
RESLIB1SRSFILES= $(SRS)$/dbp.srs
|
|
||||||
|
|
||||||
SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
|
|
||||||
SHL1VERSIONMAP=$(SOLARENV)/src/component.map
|
|
||||||
|
|
||||||
SHL1STDLIBS= \
|
|
||||||
$(SVTOOLLIB) \
|
|
||||||
$(VCLLIB) \
|
|
||||||
$(TOOLSLIB) \
|
|
||||||
$(SVLLIB) \
|
|
||||||
$(SFXLIB) \
|
|
||||||
$(DBTOOLSLIB) \
|
|
||||||
$(UNOTOOLSLIB) \
|
|
||||||
$(COMPHELPERLIB) \
|
|
||||||
$(CPPUHELPERLIB) \
|
|
||||||
$(CPPULIB) \
|
|
||||||
$(SALLIB)
|
|
||||||
|
|
||||||
SHL1LIBS= $(SLB)$/$(TARGET).lib
|
|
||||||
SHL1IMPLIB= i$(TARGET)
|
|
||||||
SHL1DEPN= $(SHL1LIBS)
|
|
||||||
SHL1DEF= $(MISC)$/$(SHL1TARGET).def
|
|
||||||
|
|
||||||
DEF1NAME= $(SHL1TARGET)
|
|
||||||
|
|
||||||
# --- Targets ------------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : target.mk
|
|
||||||
|
|
||||||
ALLTAR : $(MISC)/dbp.component
|
|
||||||
|
|
||||||
$(MISC)/dbp.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
|
|
||||||
dbp.component
|
|
||||||
$(XSLTPROC) --nonet --stringparam uri \
|
|
||||||
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
|
|
||||||
$(SOLARENV)/bin/createcomponent.xslt dbp.component
|
|
@@ -1,84 +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=extensions
|
|
||||||
TARGET=log
|
|
||||||
|
|
||||||
# --- Settings ----------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : settings.mk
|
|
||||||
|
|
||||||
# --- Files -------------------------------------
|
|
||||||
|
|
||||||
# ... object files ............................
|
|
||||||
EXCEPTIONSFILES= \
|
|
||||||
$(SLO)$/consolehandler.obj \
|
|
||||||
$(SLO)$/csvformatter.obj \
|
|
||||||
$(SLO)$/filehandler.obj \
|
|
||||||
$(SLO)$/log_services.obj \
|
|
||||||
$(SLO)$/logger.obj \
|
|
||||||
$(SLO)$/loggerconfig.obj \
|
|
||||||
$(SLO)$/loghandler.obj \
|
|
||||||
$(SLO)$/plaintextformatter.obj \
|
|
||||||
|
|
||||||
SLOFILES= \
|
|
||||||
$(EXCEPTIONSFILES) \
|
|
||||||
$(SLO)$/log_module.obj \
|
|
||||||
$(SLO)$/logrecord.obj \
|
|
||||||
|
|
||||||
# --- library -----------------------------------
|
|
||||||
|
|
||||||
LIB1TARGET=$(SLB)$/$(TARGET)_t.lib
|
|
||||||
LIB1FILES=\
|
|
||||||
$(SLB)$/$(TARGET).lib
|
|
||||||
|
|
||||||
SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
|
|
||||||
|
|
||||||
SHL1STDLIBS= \
|
|
||||||
$(COMPHELPERLIB) \
|
|
||||||
$(CPPUHELPERLIB) \
|
|
||||||
$(CPPULIB) \
|
|
||||||
$(SALLIB)
|
|
||||||
|
|
||||||
SHL1LIBS=$(LIB1TARGET)
|
|
||||||
SHL1DEF=$(MISC)$/$(SHL1TARGET).def
|
|
||||||
DEF1NAME=$(SHL1TARGET)
|
|
||||||
SHL1VERSIONMAP=$(SOLARENV)/src/component.map
|
|
||||||
|
|
||||||
# --- Targets ----------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : target.mk
|
|
||||||
|
|
||||||
|
|
||||||
ALLTAR : $(MISC)/log.component
|
|
||||||
|
|
||||||
$(MISC)/log.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
|
|
||||||
log.component
|
|
||||||
$(XSLTPROC) --nonet --stringparam uri \
|
|
||||||
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
|
|
||||||
$(SOLARENV)/bin/createcomponent.xslt log.component
|
|
@@ -1,99 +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=extensions
|
|
||||||
TARGET=spotlightplugin
|
|
||||||
|
|
||||||
# --- Settings ----------------------------------
|
|
||||||
.INCLUDE : settings.mk
|
|
||||||
|
|
||||||
.IF "$(OS)"!="MACOSX"
|
|
||||||
dummy:
|
|
||||||
@echo Not using Mac OS X - nothing to build
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
# --- Files -------------------------------------
|
|
||||||
|
|
||||||
# ... object files ............................
|
|
||||||
SLOFILES= \
|
|
||||||
$(SLO)$/ioapi.obj \
|
|
||||||
$(SLO)$/unzip.obj \
|
|
||||||
$(SLO)$/main.obj \
|
|
||||||
$(SLO)$/GetMetadataForFile.obj \
|
|
||||||
$(SLO)$/OOoContentDataParser.obj \
|
|
||||||
$(SLO)$/OOoMetaDataParser.obj \
|
|
||||||
$(SLO)$/OOoSpotlightImporter.obj \
|
|
||||||
|
|
||||||
BUNDLE = $(MISC)$/OOoSpotlightImporter.mdimporter
|
|
||||||
CONTENTS = $(BUNDLE)$/Contents
|
|
||||||
RESOURCES = $(CONTENTS)$/Resources
|
|
||||||
MACOS = $(CONTENTS)$/MacOS
|
|
||||||
|
|
||||||
BUNDLELIBS= -framework CoreFoundation \
|
|
||||||
-framework Foundation \
|
|
||||||
-framework CoreServices \
|
|
||||||
$(ZLIB3RDLIB)
|
|
||||||
|
|
||||||
plistfiles = $(CONTENTS)$/Info.plist
|
|
||||||
binaries = $(MACOS)$/OOoSpotlightImporter
|
|
||||||
resources = $(RESOURCES)/en.lproj/schema.strings \
|
|
||||||
$(RESOURCES)/schema.xml
|
|
||||||
|
|
||||||
ZIPFLAGS = -r
|
|
||||||
ZIP1TARGET = mdibundle
|
|
||||||
ZIP1DIR = $(CONTENTS)
|
|
||||||
ZIP1LIST = *
|
|
||||||
|
|
||||||
|
|
||||||
# --- Targets ----------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : target.mk
|
|
||||||
|
|
||||||
.IF "$(ZIP1TARGETN)"!=""
|
|
||||||
$(ZIP1TARGETN) : $(plistfiles) $(binaries) $(resources)
|
|
||||||
|
|
||||||
.ENDIF # "$(ZIP1TARGETN)"!=""
|
|
||||||
|
|
||||||
# Info.plist is just versioned and copied into the bundle
|
|
||||||
$(CONTENTS)$/%.plist : mdimporter/%.plist
|
|
||||||
$(MKDIRHIER) $(@:d)
|
|
||||||
$(COPY) "$<" "$@"
|
|
||||||
|
|
||||||
$(MACOS)$/OOoSpotlightImporter: $(SLOFILES)
|
|
||||||
$(MKDIRHIER) $(@:d)
|
|
||||||
$(CC) -o $(MACOS)$/OOoSpotlightImporter $(SLOFILES:s/.obj/.o/) $(EXTRA_LINKFLAGS) $(BUNDLELIBS) -bundle
|
|
||||||
# we have to change the zlib install name, otherwise the plugin will not work
|
|
||||||
.IF "$(SYSTEM_ZLIB)"=="NO"
|
|
||||||
install_name_tool -change @executable_path/libz.1.dylib @executable_path/../../../../MacOS/libz.1.dylib $(MACOS)$/OOoSpotlightImporter
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
#the resources are just copied
|
|
||||||
$(RESOURCES)$/% : mdimporter/%
|
|
||||||
$(MKDIRHIER) $(@:d)
|
|
||||||
$(COPY) "$<" "$@"
|
|
||||||
|
|
@@ -1,16 +0,0 @@
|
|||||||
NPP_GetMIMEDescription
|
|
||||||
NPP_GetValue
|
|
||||||
NPP_Initialize
|
|
||||||
NPP_GetJavaClass
|
|
||||||
NPP_Shutdown
|
|
||||||
NPP_New
|
|
||||||
NPP_Destroy
|
|
||||||
NPP_SetWindow
|
|
||||||
NPP_NewStream
|
|
||||||
NPP_WriteReady
|
|
||||||
NPP_Write
|
|
||||||
NPP_DestroyStream
|
|
||||||
NPP_StreamAsFile
|
|
||||||
NPP_URLNotify
|
|
||||||
NPP_Print
|
|
||||||
NPP_Shutdown
|
|
@@ -1,18 +0,0 @@
|
|||||||
NPP_GetMIMEDescription
|
|
||||||
NPP_Initialize
|
|
||||||
NPP_Shutdown
|
|
||||||
NPP_New
|
|
||||||
NPP_Destroy
|
|
||||||
NPP_SetWindow
|
|
||||||
NPP_NewStream
|
|
||||||
NPP_WriteReady
|
|
||||||
NPP_Write
|
|
||||||
NPP_DestroyStream
|
|
||||||
NPP_StreamAsFile
|
|
||||||
NPP_URLNotify
|
|
||||||
NPP_Print
|
|
||||||
NPP_Shutdown
|
|
||||||
NP_GetEntryPoints
|
|
||||||
NP_Initialize
|
|
||||||
NP_Shutdown
|
|
||||||
NP_GetMIMEDescription
|
|
@@ -1,164 +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=extensions
|
|
||||||
TARGET=npsoplugin
|
|
||||||
|
|
||||||
ENABLE_EXCEPTIONS=TRUE
|
|
||||||
USE_DEFFILE=TRUE
|
|
||||||
|
|
||||||
# --- Settings ----------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : settings.mk
|
|
||||||
|
|
||||||
.IF "$(SYSTEM_MOZILLA_HEADERS)" == "YES"
|
|
||||||
INCPRE+=$(MOZILLA_HEADERS_CFLAGS)
|
|
||||||
.ELSE
|
|
||||||
INCPRE=$(SOLARINCDIR)$/npsdk
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
.IF "$(GUI)"=="UNX"
|
|
||||||
|
|
||||||
# not sure about -DMOZ_X11 but otheriwse some struct member don't exist...
|
|
||||||
CFLAGS+=-DMOZ_X11
|
|
||||||
|
|
||||||
.IF "$(ENABLE_NSPLUGIN)"=="NO"
|
|
||||||
|
|
||||||
dummy:
|
|
||||||
@echo Nsplugin disabled, nothing to build
|
|
||||||
|
|
||||||
.ELSE # ENABLE_NSPLUGIN
|
|
||||||
.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD" || "$(OS)"=="NETBSD" || \
|
|
||||||
"$(OS)"=="OPENBSD" || "$(OS)"=="DRAGONFLY"
|
|
||||||
INC+= -DNP_LINUX
|
|
||||||
.ENDIF
|
|
||||||
PKGCONFIG_MODULES=gtk+-2.0
|
|
||||||
.INCLUDE: pkg_config.mk
|
|
||||||
.ENDIF # ENABLE_NSPLUGIN
|
|
||||||
.ENDIF # "$(GUI)"=="UNX"
|
|
||||||
.IF "$(GUI)"=="WNT"
|
|
||||||
INC+= -DENGLISH
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
|
|
||||||
# --- Files -------------------------------------
|
|
||||||
|
|
||||||
SLOFILES= $(SLO)$/npshell.obj \
|
|
||||||
$(SLO)$/so_env.obj
|
|
||||||
|
|
||||||
SHL1OBJS= $(SLO)$/npshell.obj \
|
|
||||||
$(SLO)$/so_env.obj
|
|
||||||
|
|
||||||
.IF "$(GUI)"=="UNX"
|
|
||||||
STDLIBS+=$(SOLARLIBDIR)$/npunix.o
|
|
||||||
SHL1STDLIBS+=$(SOLARLIBDIR)$/npunix.o
|
|
||||||
.ENDIF #UNX
|
|
||||||
.IF "$(GUI)"=="WNT"
|
|
||||||
SHL1OBJS+=$(SOLARLIBDIR)$/pathutils-obj.obj
|
|
||||||
STDLIBS+=$(SOLARLIBDIR)$/npwin.obj
|
|
||||||
SHL1STDLIBS+= $(SHELL32LIB) $(SOLARLIBDIR)$/npwin.obj
|
|
||||||
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
OBJFILES=\
|
|
||||||
$(OBJ)$/so_closelistener.obj\
|
|
||||||
$(OBJ)$/so_instance.obj\
|
|
||||||
$(OBJ)$/so_env.obj\
|
|
||||||
$(OBJ)$/so_main.obj
|
|
||||||
|
|
||||||
# --- Plugin executable -------------------------
|
|
||||||
APP1TARGET=nsplugin$(EXEPOSTFIX)
|
|
||||||
APP1OBJS=$(OBJFILES)
|
|
||||||
|
|
||||||
APP1STDLIBS=\
|
|
||||||
$(CPPULIB) \
|
|
||||||
$(CPPUHELPERLIB) \
|
|
||||||
$(SALLIB)
|
|
||||||
|
|
||||||
.IF "$(OS)"=="SOLARIS"
|
|
||||||
APP1STDLIBS+= -lsocket -lnsl
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
.IF "$(GUI)"=="WNT"
|
|
||||||
DEPOBJFILES=$(OBJ)$/nsp_windows.obj
|
|
||||||
APP1OBJS+=$(OBJ)$/nsp_windows.obj $(SOLARLIBDIR)$/pathutils-obj.obj
|
|
||||||
APP1STDLIBS+= $(WS2_32LIB) $(SHELL32LIB) $(OLE32LIB) $(KERNEL32LIB) $(USER32LIB) $(GDI32LIB) $(WINSPOOLLIB) $(COMDLG32LIB) $(ADVAPI32LIB) $(OLEAAUT32LIB) $(UUIDLIB)
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
# --- Library -----------------------------------
|
|
||||||
|
|
||||||
SHL1TARGET=$(TARGET)_so
|
|
||||||
.IF "$(GUI)"=="WNT"
|
|
||||||
SHL1STDLIBS+= $(WS2_32LIB) $(SHELL32LIB) $(OLE32LIB) $(KERNEL32LIB) $(USER32LIB) $(GDI32LIB) $(WINSPOOLLIB) $(COMDLG32LIB) $(ADVAPI32LIB) $(OLE32LIB) $(OLEAAUT32LIB) $(UUIDLIB) $(KERNEL32LIB) $(USER32LIB) $(GDI32LIB) $(WINSPOOLLIB) $(COMDLG32LIB) $(ADVAPI32LIB)
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
SHL1DEPN=
|
|
||||||
SHL1IMPLIB= i$(SHL1TARGET)
|
|
||||||
SHL1DEF= $(MISC)$/$(SHL1TARGET).def
|
|
||||||
SHL1RPATH=OOO
|
|
||||||
|
|
||||||
# ----- get some additional keys in versioninfo ------------
|
|
||||||
SHL1ADD_VERINFO=nsplugin.rc
|
|
||||||
SHL1DEPN+=$(SHL1ADD_VERINFO)
|
|
||||||
|
|
||||||
DEF1NAME=$(SHL1TARGET)
|
|
||||||
.IF "$(GUI)"=="UNX"
|
|
||||||
DEF1EXPORTFILE=exports.dxp
|
|
||||||
.ENDIF
|
|
||||||
.IF "$(GUI)"=="WNT"
|
|
||||||
DEF1EXPORTFILE=exports_wnt.dxp
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
SHL2OBJS=$(SHL1OBJS)
|
|
||||||
SHL2STDLIBS=$(SHL1STDLIBS)
|
|
||||||
SHL2TARGET=$(TARGET)
|
|
||||||
.IF "$(GUI)"=="WNT"
|
|
||||||
SHL2STDLIBS+= $(WS2_32LIB) $(SHELL32LIB) $(OLE32LIB) $(KERNEL32LIB) $(USER32LIB) $(GDI32LIB) $(WINSPOOLLIB) $(COMDLG32LIB) $(ADVAPI32LIB) $(OLE32LIB) $(OLEAAUT32LIB) $(UUIDLIB) $(KERNEL32LIB) $(USER32LIB) $(GDI32LIB) $(WINSPOOLLIB) $(COMDLG32LIB) $(ADVAPI32LIB)
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
SHL2DEPN=
|
|
||||||
SHL2IMPLIB= i$(SHL2TARGET)
|
|
||||||
SHL2DEF= $(MISC)$/$(SHL2TARGET).def
|
|
||||||
SHL2RPATH=OOO
|
|
||||||
|
|
||||||
# ----- get some additional keys in versioninfo ------------
|
|
||||||
SHL2ADD_VERINFO=nsplugin_oo.rc
|
|
||||||
SHL2DEPN+=$(SHL2ADD_VERINFO)
|
|
||||||
|
|
||||||
DEF2NAME=$(SHL2TARGET)
|
|
||||||
.IF "$(GUI)"=="UNX"
|
|
||||||
DEF2EXPORTFILE=exports.dxp
|
|
||||||
.ENDIF
|
|
||||||
.IF "$(GUI)"=="WNT"
|
|
||||||
DEF2EXPORTFILE=exports_wnt.dxp
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
# --- Targets ----------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : target.mk
|
|
||||||
|
|
@@ -361,7 +361,7 @@ MIMETYPE_OASIS_OPENDOCUMENT_PRESENTATION_ASCII ":odp:OpenDocument Presentation;"
|
|||||||
MIMETYPE_OASIS_OPENDOCUMENT_PRESENTATION_TEMPLATE_ASCII ":otp:OpenDocument Presentation Template;"
|
MIMETYPE_OASIS_OPENDOCUMENT_PRESENTATION_TEMPLATE_ASCII ":otp:OpenDocument Presentation Template;"
|
||||||
MIMETYPE_OASIS_OPENDOCUMENT_FORMULA_ASCII ":odf:OpenDocument Formula;" );
|
MIMETYPE_OASIS_OPENDOCUMENT_FORMULA_ASCII ":odf:OpenDocument Formula;" );
|
||||||
|
|
||||||
char*
|
SAL_DLLPUBLIC_EXPORT char*
|
||||||
NPP_GetMIMEDescription(void)
|
NPP_GetMIMEDescription(void)
|
||||||
{
|
{
|
||||||
debug_fprintf(NSP_LOG_APPEND, "print by Netscape Plugin, NPP_GetMIMEDescription:%s.\n", pMimeTypes);
|
debug_fprintf(NSP_LOG_APPEND, "print by Netscape Plugin, NPP_GetMIMEDescription:%s.\n", pMimeTypes);
|
||||||
@@ -369,7 +369,7 @@ NPP_GetMIMEDescription(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef UNIX
|
#ifdef UNIX
|
||||||
NPError
|
SAL_DLLPUBLIC_EXPORT NPError
|
||||||
// I am not actually sure wrt this, it ast least compiles with external
|
// I am not actually sure wrt this, it ast least compiles with external
|
||||||
// npapi.h now...
|
// npapi.h now...
|
||||||
NPP_GetValue(NPP /*instance*/, NPPVariable variable, void *value)
|
NPP_GetValue(NPP /*instance*/, NPPVariable variable, void *value)
|
||||||
@@ -404,7 +404,7 @@ dupMimeType(NPMIMEType type)
|
|||||||
}
|
}
|
||||||
#endif // end of UNIX
|
#endif // end of UNIX
|
||||||
|
|
||||||
NPError
|
SAL_DLLPUBLIC_EXPORT NPError
|
||||||
NPP_Initialize(void)
|
NPP_Initialize(void)
|
||||||
{
|
{
|
||||||
debug_fprintf(NSP_LOG_NEW, "NS Plugin begin initialize.\n");
|
debug_fprintf(NSP_LOG_NEW, "NS Plugin begin initialize.\n");
|
||||||
@@ -419,7 +419,7 @@ NPP_GetJavaClass()
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void
|
SAL_DLLPUBLIC_EXPORT void
|
||||||
NPP_Shutdown(void)
|
NPP_Shutdown(void)
|
||||||
{
|
{
|
||||||
PLUGIN_MSG msg;
|
PLUGIN_MSG msg;
|
||||||
@@ -435,7 +435,7 @@ NPP_Shutdown(void)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
NPError
|
SAL_DLLPUBLIC_EXPORT NPError
|
||||||
NPP_New(NPMIMEType pluginType,
|
NPP_New(NPMIMEType pluginType,
|
||||||
NPP instance,
|
NPP instance,
|
||||||
uint16_t mode,
|
uint16_t mode,
|
||||||
@@ -487,7 +487,7 @@ NPP_New(NPMIMEType pluginType,
|
|||||||
return NPERR_NO_ERROR;
|
return NPERR_NO_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
NPError
|
SAL_DLLPUBLIC_EXPORT NPError
|
||||||
NPP_Destroy(NPP instance, NPSavedData** /*save*/)
|
NPP_Destroy(NPP instance, NPSavedData** /*save*/)
|
||||||
{
|
{
|
||||||
debug_fprintf(NSP_LOG_APPEND, "print by Nsplugin, enter NPP_Destroy.\n");
|
debug_fprintf(NSP_LOG_APPEND, "print by Nsplugin, enter NPP_Destroy.\n");
|
||||||
@@ -532,7 +532,7 @@ NPP_Destroy(NPP instance, NPSavedData** /*save*/)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
NPError
|
SAL_DLLPUBLIC_EXPORT NPError
|
||||||
NPP_SetWindow(NPP instance, NPWindow* window)
|
NPP_SetWindow(NPP instance, NPWindow* window)
|
||||||
{
|
{
|
||||||
PluginInstance* This;
|
PluginInstance* This;
|
||||||
@@ -626,7 +626,7 @@ NPP_SetWindow(NPP instance, NPWindow* window)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
NPError
|
SAL_DLLPUBLIC_EXPORT NPError
|
||||||
NPP_NewStream(NPP instance,
|
NPP_NewStream(NPP instance,
|
||||||
NPMIMEType /*type*/,
|
NPMIMEType /*type*/,
|
||||||
NPStream* /*stream*/,
|
NPStream* /*stream*/,
|
||||||
@@ -648,21 +648,21 @@ int32_t STREAMBUFSIZE = 0X0FFFFFFF;
|
|||||||
* mode so we can take any size stream in our
|
* mode so we can take any size stream in our
|
||||||
* write call (since we ignore it) */
|
* write call (since we ignore it) */
|
||||||
|
|
||||||
int32_t
|
SAL_DLLPUBLIC_EXPORT int32_t
|
||||||
NPP_WriteReady(NPP /*instance*/, NPStream* /*stream*/)
|
NPP_WriteReady(NPP /*instance*/, NPStream* /*stream*/)
|
||||||
{
|
{
|
||||||
return STREAMBUFSIZE;
|
return STREAMBUFSIZE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int32_t
|
SAL_DLLPUBLIC_EXPORT int32_t
|
||||||
NPP_Write(NPP /*instance*/, NPStream* /*stream*/, int32_t /*offset*/, int32_t len, void* /*buffer*/)
|
NPP_Write(NPP /*instance*/, NPStream* /*stream*/, int32_t /*offset*/, int32_t len, void* /*buffer*/)
|
||||||
{
|
{
|
||||||
return len; /* The number of bytes accepted */
|
return len; /* The number of bytes accepted */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
NPError
|
SAL_DLLPUBLIC_EXPORT NPError
|
||||||
NPP_DestroyStream(NPP instance, NPStream* /*stream*/, NPError /*reason*/)
|
NPP_DestroyStream(NPP instance, NPStream* /*stream*/, NPError /*reason*/)
|
||||||
{
|
{
|
||||||
if (instance == NULL)
|
if (instance == NULL)
|
||||||
@@ -671,7 +671,7 @@ NPP_DestroyStream(NPP instance, NPStream* /*stream*/, NPError /*reason*/)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// save fname to another file with the original file name
|
// save fname to another file with the original file name
|
||||||
void
|
SAL_DLLPUBLIC_EXPORT void
|
||||||
NPP_StreamAsFile(NPP instance, NPStream *stream, const char* fname)
|
NPP_StreamAsFile(NPP instance, NPStream *stream, const char* fname)
|
||||||
{
|
{
|
||||||
debug_fprintf(NSP_LOG_APPEND, "Into Stream\n");
|
debug_fprintf(NSP_LOG_APPEND, "Into Stream\n");
|
||||||
@@ -812,14 +812,14 @@ NPP_StreamAsFile(NPP instance, NPStream *stream, const char* fname)
|
|||||||
debug_fprintf(NSP_LOG_APPEND, "NPP_StreamAsFile send SO_SET_WINDOW return failure \n");
|
debug_fprintf(NSP_LOG_APPEND, "NPP_StreamAsFile send SO_SET_WINDOW return failure \n");
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
SAL_DLLPUBLIC_EXPORT void
|
||||||
NPP_URLNotify(NPP /*instance*/, const char* /*url*/,
|
NPP_URLNotify(NPP /*instance*/, const char* /*url*/,
|
||||||
NPReason /*reason*/, void* /*notifyData*/)
|
NPReason /*reason*/, void* /*notifyData*/)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
SAL_DLLPUBLIC_EXPORT void
|
||||||
NPP_Print(NPP instance, NPPrint* printInfo)
|
NPP_Print(NPP instance, NPPrint* printInfo)
|
||||||
{
|
{
|
||||||
if(printInfo == NULL)
|
if(printInfo == NULL)
|
||||||
|
@@ -1,30 +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.
|
|
||||||
*
|
|
||||||
************************************************************************/
|
|
||||||
#define ADDITIONAL_VERINFO1 VALUE "FileExtents", "sdc|sds|sda|sdd|sdp|smf|vor|sgl|sdw|sxc|stc|sxd|std|sxi|sti|sxm|sxw|sxg|stw|odt|ott|odm|oth|ods|ots|odg|otg|odp|otp|odf\0"\
|
|
||||||
VALUE "FileOpenName", "StarCalc 3.0 - 5.0|StarChart 3.0 - 5.0|StarDraw 3.0 - 5.0|StarImpress 3.0 - 5.0|StarImpress-packed 3.0 - 5.0|StarMath 3.0 - 5.0|StarWriter Template 3.0 - 5.0|StarWriter Global 3.0 - 5.0|StarWriter 3.0 - 5.0|StarOffice 6.0/7 Spreadsheet|StarOffice 6.0/7 Spreadsheet Template|StarOffice 6.0/7 Drawing|StarOffice 6.0/7 Drawing Template|StarOffice 6.0/7 Presentation|StarOffice 6.0/7 Presentation Template|StarOffice 6.0/7 Formula|StarOffice 6.0/7 Text Document|StarOffice 6.0/7 Master Document|StarOffice 6.0/7 Text Document Template|OpenDocument Text|OpenDocument Text Template|OpenDocument Master Document|HTML Document Template|OpenDocument Spreadsheet|OpenDocument Spreadsheet Template|OpenDocument Drawing|OpenDocument Drawing Template|OpenDocument Presentation|OpenDocument Presentation Template|OpenDocument Formula\0"
|
|
||||||
#define ADDITIONAL_VERINFO2 VALUE "FileDescription", "Oracle Open Office Plug-in handles all its documents" VALUE "ProductName", "Oracle Open Office Plug-in" VALUE "MIMEType", "application/vnd.stardivision.calc|application/vnd.stardivision.chart|application/vnd.stardivision.draw|application/vnd.stardivision.impress|application/vnd.stardivision.impress-packed|application/vnd.stardivision.math|application/vnd.stardivision.writer|application/vnd.stardivision.writer-global|application/vnd.staroffice.writer|application/vnd.sun.xml.calc|application/vnd.sun.xml.calc.template|application/vnd.sun.xml.draw|application/vnd.sun.xml.draw.template|"
|
|
||||||
#define ADDITIONAL_VERINFO3 "application/vnd.sun.xml.impress|application/vnd.sun.xml.impress.template|application/vnd.sun.xml.math|application/vnd.sun.xml.writer|application/vnd.sun.xml.writer.global|application/vnd.sun.xml.writer.template|application/vnd.oasis.opendocument.text|application/vnd.oasis.opendocument.text-template|application/vnd.oasis.opendocument.text-master|application/vnd.oasis.opendocument.text-web|application/vnd.oasis.opendocument.spreadsheet|application/vnd.oasis.opendocument.spreadsheet-template|application/vnd.oasis.opendocument.graphics|application/vnd.oasis.opendocument.graphics-template|application/vnd.oasis.opendocument.presentation|application/vnd.oasis.opendocument.presentation-template|application/vnd.oasis.opendocument.formula\0"
|
|
@@ -1,132 +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=extensions
|
|
||||||
TARGET=oleautobridge.uno
|
|
||||||
TARGET2=oleautobridge2.uno
|
|
||||||
|
|
||||||
ENABLE_EXCEPTIONS=TRUE
|
|
||||||
|
|
||||||
.INCLUDE : $(PRJ)$/util$/makefile.pmk
|
|
||||||
|
|
||||||
LIBTARGET=NO
|
|
||||||
USE_DEFFILE=YES
|
|
||||||
|
|
||||||
USE_DEFFILE=TRUE
|
|
||||||
|
|
||||||
INCPRE+= $(foreach,i,$(ATL_INCLUDE) -I$(i))
|
|
||||||
|
|
||||||
# --- Settings -----------------------------------------------------
|
|
||||||
|
|
||||||
.IF "$(GUI)" == "WNT" && "$(DISABLE_ATL)"==""
|
|
||||||
|
|
||||||
.IF "$(USE_DEBUG_RUNTIME)"!=""
|
|
||||||
CDEFS+=-D_DEBUG
|
|
||||||
.ENDIF # "$(USE_DEBUG_RUNTIME)"!=""
|
|
||||||
|
|
||||||
SLOFILES= \
|
|
||||||
$(SLO)$/servreg.obj \
|
|
||||||
$(SLO)$/servprov.obj \
|
|
||||||
$(SLO)$/unoobjw.obj \
|
|
||||||
$(SLO)$/oleobjw.obj \
|
|
||||||
$(SLO)$/olethread.obj \
|
|
||||||
$(SLO)$/oledll.obj \
|
|
||||||
$(SLO)$/jscriptclasses.obj \
|
|
||||||
$(SLO)$/ole2uno.obj \
|
|
||||||
$(SLO)$/windata.obj \
|
|
||||||
$(SLO)$/unotypewrapper.obj
|
|
||||||
|
|
||||||
SECOND_BUILD=OWNGUID
|
|
||||||
OWNGUID_SLOFILES=$(SLOFILES)
|
|
||||||
OWNGUIDCDEFS+= -DOWNGUID
|
|
||||||
|
|
||||||
# the original library
|
|
||||||
SHL1TARGET=$(TARGET)
|
|
||||||
SHL1STDLIBS=\
|
|
||||||
$(SALLIB) \
|
|
||||||
$(CPPULIB) \
|
|
||||||
$(CPPUHELPERLIB) \
|
|
||||||
$(OLE32LIB) \
|
|
||||||
$(UUIDLIB) \
|
|
||||||
$(ADVAPI32LIB) \
|
|
||||||
$(OLEAUT32LIB)
|
|
||||||
|
|
||||||
.IF "$(COM)"=="MSC"
|
|
||||||
.IF "$(USE_DEBUG_RUNTIME)" != ""
|
|
||||||
SHL1STDLIBS+= $(ATL_LIB)$/atlsd.lib
|
|
||||||
.ELSE
|
|
||||||
SHL1STDLIBS+= $(ATL_LIB)$/atls.lib
|
|
||||||
.ENDIF
|
|
||||||
.ENDIF # "$(COM)"=="MSC"
|
|
||||||
|
|
||||||
SHL1LIBS=
|
|
||||||
SHL1OBJS=$(SLOFILES)
|
|
||||||
|
|
||||||
DEF1NAME=$(SHL1TARGET)
|
|
||||||
DEF1EXPORTFILE=$(SHL1TARGET).dxp
|
|
||||||
|
|
||||||
# the second library
|
|
||||||
SHL2TARGET=$(TARGET2)
|
|
||||||
SHL2STDLIBS=\
|
|
||||||
$(SALLIB) \
|
|
||||||
$(CPPULIB) \
|
|
||||||
$(CPPUHELPERLIB) \
|
|
||||||
$(OLE32LIB) \
|
|
||||||
$(UUIDLIB) \
|
|
||||||
$(ADVAPI32LIB) \
|
|
||||||
$(OLEAUT32LIB)
|
|
||||||
|
|
||||||
.IF "$(COM)"=="MSC"
|
|
||||||
.IF "$(USE_DEBUG_RUNTIME)" != ""
|
|
||||||
SHL2STDLIBS+= $(ATL_LIB)$/atlsd.lib
|
|
||||||
.ELSE
|
|
||||||
SHL2STDLIBS+= $(ATL_LIB)$/atls.lib
|
|
||||||
.ENDIF
|
|
||||||
.ENDIF # "$(COM)"=="MSC"
|
|
||||||
|
|
||||||
SHL2LIBS=
|
|
||||||
SHL2OBJS=$(REAL_OWNGUID_SLOFILES)
|
|
||||||
|
|
||||||
DEF2NAME=$(SHL2TARGET)
|
|
||||||
DEF2EXPORTFILE=$(TARGET).dxp
|
|
||||||
|
|
||||||
.ENDIF # "$(GUI)" == "WNT" && "$(DISABLE_ATL)"==""
|
|
||||||
|
|
||||||
#----------------------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : target.mk
|
|
||||||
|
|
||||||
ALLTAR : $(MISC)/oleautobridge.component
|
|
||||||
|
|
||||||
$(MISC)/oleautobridge.component .ERRREMOVE : \
|
|
||||||
$(SOLARENV)/bin/createcomponent.xslt oleautobridge.component
|
|
||||||
$(XSLTPROC) --nonet --stringparam uri \
|
|
||||||
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
|
|
||||||
$(SOLARENV)/bin/createcomponent.xslt oleautobridge.component
|
|
@@ -1,2 +0,0 @@
|
|||||||
component_getFactory @101
|
|
||||||
component_canUnload @103
|
|
@@ -118,7 +118,8 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
|
|||||||
return pRet;
|
return pRet;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue* libUnused)
|
extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL
|
||||||
|
component_canUnload( TimeValue* libUnused)
|
||||||
{
|
{
|
||||||
return globalModuleCount.canUnload( &globalModuleCount, libUnused);
|
return globalModuleCount.canUnload( &globalModuleCount, libUnused);
|
||||||
}
|
}
|
||||||
|
@@ -1,63 +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=extensions
|
|
||||||
TARGET=plaqua
|
|
||||||
|
|
||||||
.INCLUDE : ..$/util$/makefile.pmk
|
|
||||||
|
|
||||||
.IF "$(GUIBASE)"!="aqua" || "$(WITH_MOZILLA)"=="NO"
|
|
||||||
|
|
||||||
dummy:
|
|
||||||
@echo "Nothing to build for GUIBASE $(GUIBASE)."
|
|
||||||
|
|
||||||
.ELSE
|
|
||||||
|
|
||||||
# --- Files --------------------------------------------------------
|
|
||||||
|
|
||||||
INCPRE+=-I$(SOLARINCDIR)$/mozilla$/plugin
|
|
||||||
.IF "$(SOLAR_JAVA)" != ""
|
|
||||||
INCPRE+=-I$(SOLARINCDIR)$/mozilla$/java
|
|
||||||
INCPRE+=-I$(SOLARINCDIR)$/mozilla$/nspr
|
|
||||||
INCPRE+=-I$(SOLARINCDIR)$/npsdk
|
|
||||||
CDEFS+=-DOJI
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
.IF "$(GUIBASE)"=="aqua"
|
|
||||||
CFLAGSCXX+=$(OBJCXXFLAGS)
|
|
||||||
.ENDIF # "$(GUIBASE)"=="aqua"
|
|
||||||
|
|
||||||
SLOFILES=\
|
|
||||||
$(SLO)$/macmgr.obj \
|
|
||||||
$(SLO)$/sysplug.obj
|
|
||||||
|
|
||||||
# --- Targets ------------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : target.mk
|
|
||||||
|
|
||||||
.ENDIF # $(GUIBASE)==aqua
|
|
@@ -1,65 +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=extensions
|
|
||||||
TARGET=plbase
|
|
||||||
TARGETTYPE=GUI
|
|
||||||
ENABLE_EXCEPTIONS=TRUE
|
|
||||||
|
|
||||||
.INCLUDE : ..$/util$/makefile.pmk
|
|
||||||
|
|
||||||
INCPRE+=-I$(SOLARINCDIR)$/mozilla$/plugin
|
|
||||||
.IF "$(SOLAR_JAVA)" != ""
|
|
||||||
INCPRE+=-I$(SOLARINCDIR)$/mozilla$/java
|
|
||||||
INCPRE+=-I$(SOLARINCDIR)$/mozilla$/nspr
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
.IF "$(WITH_MOZILLA)" != "NO"
|
|
||||||
|
|
||||||
.IF "$(GUIBASE)"=="aqua"
|
|
||||||
CFLAGSCXX+=$(OBJCXXFLAGS)
|
|
||||||
.ENDIF # "$(GUIBASE)"=="aqua"
|
|
||||||
|
|
||||||
SLOFILES= \
|
|
||||||
$(SLO)$/plctrl.obj \
|
|
||||||
$(SLO)$/service.obj \
|
|
||||||
$(SLO)$/xplugin.obj \
|
|
||||||
$(SLO)$/nfuncs.obj \
|
|
||||||
$(SLO)$/manager.obj \
|
|
||||||
$(SLO)$/context.obj \
|
|
||||||
$(SLO)$/evtlstnr.obj \
|
|
||||||
$(SLO)$/plcom.obj \
|
|
||||||
$(SLO)$/multiplx.obj \
|
|
||||||
$(SLO)$/plmodel.obj
|
|
||||||
|
|
||||||
.ENDIF # $(WITH_MOZILLA) != "NO"
|
|
||||||
|
|
||||||
# --- Targets ------------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : target.mk
|
|
||||||
|
|
@@ -1,104 +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=extensions
|
|
||||||
TARGET=plunx
|
|
||||||
TARGETTYPE=CUI
|
|
||||||
ENABLE_EXCEPTIONS=TRUE
|
|
||||||
|
|
||||||
.INCLUDE : ..$/util$/makefile.pmk
|
|
||||||
|
|
||||||
.IF "$(GUIBASE)"=="aqua"
|
|
||||||
dummy:
|
|
||||||
@echo "Nothing to build for GUIBASE aqua."
|
|
||||||
|
|
||||||
.ELSE
|
|
||||||
|
|
||||||
# --- Files --------------------------------------------------------
|
|
||||||
|
|
||||||
INCPRE+=-I$(SOLARINCDIR)$/mozilla$/plugin
|
|
||||||
.IF "$(SOLAR_JAVA)" != ""
|
|
||||||
INCPRE+=-I$(SOLARINCDIR)$/mozilla$/java
|
|
||||||
INCPRE+=-I$(SOLARINCDIR)$/mozilla$/nspr
|
|
||||||
CDEFS+=-DOJI
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
.IF "$(WITH_MOZILLA)" != "NO"
|
|
||||||
|
|
||||||
SLOFILES=\
|
|
||||||
$(SLO)$/nppapi.obj \
|
|
||||||
$(SLO)$/sysplug.obj \
|
|
||||||
$(SLO)$/mediator.obj \
|
|
||||||
$(SLO)$/plugcon.obj \
|
|
||||||
$(SLO)$/unxmgr.obj
|
|
||||||
|
|
||||||
OBJFILES=\
|
|
||||||
$(OBJ)$/npwrap.obj \
|
|
||||||
$(OBJ)$/npnapi.obj \
|
|
||||||
$(OBJ)$/mediator.obj \
|
|
||||||
$(OBJ)$/plugcon.obj
|
|
||||||
|
|
||||||
APP1TARGET=pluginapp.bin
|
|
||||||
APP1OBJS=$(OBJFILES)
|
|
||||||
APP1STDLIBS= $(SALLIB)
|
|
||||||
|
|
||||||
.IF "$(OS)"=="SOLARIS" || "$(OS)"=="SCO"
|
|
||||||
APP1STDLIBS+=-lXm -lXt $(X11LINK_DYNAMIC) -ldl
|
|
||||||
.ELSE
|
|
||||||
.IF "$(OS)"=="FREEBSD" || "$(OS)"=="NETBSD" || "$(OS)"=="OPENBSD" || "$(OS)"=="DRAGONFLY"
|
|
||||||
APP1STDLIBS+= -lXt -lXext -lX11
|
|
||||||
.ELIF "$(OS)"=="AIX"
|
|
||||||
APP1STDLIBS+= -lXpm -lXmu -lXt $(X11LINK_DYNAMIC) -ldl
|
|
||||||
.ELSE
|
|
||||||
APP1STDLIBS+= -lXt $(X11LINK_DYNAMIC) -ldl
|
|
||||||
.ENDIF
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
.IF "$(ENABLE_GTK)" == "TRUE"
|
|
||||||
# libs for gtk plugin
|
|
||||||
APP1STDLIBS+=$(PKGCONFIG_LIBS:s/ -lpangoxft-1.0//)
|
|
||||||
# hack for faked SO environment
|
|
||||||
.IF "$(PKGCONFIG_ROOT)"!=""
|
|
||||||
.IF "$(OS)" == "SOLARIS"
|
|
||||||
# don't ask, it's ugly
|
|
||||||
DIRECT :=-z nodefs $(DIRECT)
|
|
||||||
.ENDIF
|
|
||||||
.ENDIF # "$(PKGCONFIG_ROOT)"!=""
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
|
|
||||||
APP1DEF= $(MISC)$/$(TARGET).def
|
|
||||||
|
|
||||||
.ENDIF # $(WITH_MOZILLA) != "NO"
|
|
||||||
|
|
||||||
.ENDIF # $(GUIBASE)==aqua
|
|
||||||
|
|
||||||
# --- Targets ------------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : target.mk
|
|
||||||
|
|
@@ -1,110 +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=extensions
|
|
||||||
TARGET=pl
|
|
||||||
TARGETTYPE=GUI
|
|
||||||
|
|
||||||
# --- Settings -----------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : settings.mk
|
|
||||||
|
|
||||||
# --- Files --------------------------------------------------------
|
|
||||||
|
|
||||||
.IF "$(WITH_MOZILLA)" != "NO"
|
|
||||||
|
|
||||||
LIB1TARGET = $(SLB)$/plall.lib
|
|
||||||
LIB1FILES = \
|
|
||||||
$(SLB)$/plbase.lib \
|
|
||||||
$(SHL1LINKLIB)
|
|
||||||
|
|
||||||
.IF "$(GUI)" == "UNX"
|
|
||||||
.IF "$(GUIBASE)"=="aqua"
|
|
||||||
.IF "$(WITH_MOZILLA)"=="YES"
|
|
||||||
SHL1LINKLIB = $(SLB)$/plaqua.lib
|
|
||||||
.ENDIF
|
|
||||||
.ELSE
|
|
||||||
SHL1LINKLIB = $(SLB)$/plunx.lib
|
|
||||||
.ENDIF # $(GUIBASE)==aqua
|
|
||||||
.IF "$(OS)" == "SOLARIS"
|
|
||||||
SHL1OWNLIBS = -lsocket
|
|
||||||
.ENDIF # SOLARIS
|
|
||||||
.ENDIF # UNX
|
|
||||||
|
|
||||||
.IF "$(GUI)" == "WNT"
|
|
||||||
SHL1LINKLIB = $(SLB)$/plwin.lib
|
|
||||||
SHL1OWNLIBS = \
|
|
||||||
$(VERSIONLIB) \
|
|
||||||
$(OLE32LIB) \
|
|
||||||
$(ADVAPI32LIB)
|
|
||||||
.ENDIF # WNT
|
|
||||||
|
|
||||||
SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
|
|
||||||
SHL1IMPLIB= i$(TARGET)
|
|
||||||
|
|
||||||
SHL1VERSIONMAP=$(SOLARENV)/src/component.map
|
|
||||||
SHL1DEF=$(MISC)$/$(SHL1TARGET).def
|
|
||||||
DEF1NAME=$(SHL1TARGET)
|
|
||||||
|
|
||||||
SHL1LIBS=$(LIB1TARGET)
|
|
||||||
|
|
||||||
SHL1STDLIBS+= \
|
|
||||||
$(TKLIB) \
|
|
||||||
$(VCLLIB) \
|
|
||||||
$(SVLLIB) \
|
|
||||||
$(UNOTOOLSLIB) \
|
|
||||||
$(TOOLSLIB) \
|
|
||||||
$(UCBHELPERLIB) \
|
|
||||||
$(COMPHELPERLIB) \
|
|
||||||
$(CPPUHELPERLIB) \
|
|
||||||
$(CPPULIB) \
|
|
||||||
$(SALLIB) \
|
|
||||||
$(SALHELPERLIB)
|
|
||||||
|
|
||||||
.IF "$(GUIBASE)"=="unx"
|
|
||||||
SHL1STDLIBS+=$(X11LINK_DYNAMIC)
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
SHL1STDLIBS+=$(SHL1OWNLIBS)
|
|
||||||
|
|
||||||
.ENDIF # $(WITH_MOZILLA) != "NO"
|
|
||||||
|
|
||||||
# --- Targets ------------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : target.mk
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ALLTAR : $(MISC)/pl.component
|
|
||||||
|
|
||||||
$(MISC)/pl.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
|
|
||||||
pl.component
|
|
||||||
$(XSLTPROC) --nonet --stringparam uri \
|
|
||||||
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
|
|
||||||
$(SOLARENV)/bin/createcomponent.xslt pl.component
|
|
@@ -1,48 +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.
|
|
||||||
#
|
|
||||||
#*************************************************************************
|
|
||||||
NOUNODOC=true
|
|
||||||
|
|
||||||
.INCLUDE : settings.mk
|
|
||||||
|
|
||||||
.IF "$(SYSTEM_MOZILLA)" == "YES"
|
|
||||||
CFLAGS+=-DSYSTEM_MOZILLA
|
|
||||||
PKGCONFIG_MODULES+=$(MOZ_FLAVOUR)-plugin
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
.IF "$(GUIBASE)" == "unx" && "$(ENABLE_GTK)" == "TRUE"
|
|
||||||
CDEFS+=-DENABLE_GTK
|
|
||||||
PKGCONFIG_MODULES+=gtk+-2.0 gthread-2.0
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
.IF "$(GUIBASE)" == "aqua"
|
|
||||||
CFLAGS += -I$(FRAMEWORKSHOME)/ApplicationServices.framework/Versions/Current/Frameworks/QD.framework/Headers\
|
|
||||||
-I$(FRAMEWORKSHOME)/Carbon.framework/Versions/Current/Frameworks/HIToolbox.framework/Versions/Current/Headers
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
.IF "$(PKGCONFIG_MODULES)" != ""
|
|
||||||
.INCLUDE : pkg_config.mk
|
|
||||||
.ENDIF
|
|
@@ -1,58 +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=extensions
|
|
||||||
TARGET=plwin
|
|
||||||
ENABLE_EXCEPTIONS=TRUE
|
|
||||||
|
|
||||||
# --- Settings -----------------------------------------------------
|
|
||||||
.IF "$(GUI)" == "WNT"
|
|
||||||
|
|
||||||
.INCLUDE : ..$/util$/makefile.pmk
|
|
||||||
|
|
||||||
INCPRE+=-I$(SOLARINCDIR)$/mozilla$/plugin
|
|
||||||
.IF "$(SOLAR_JAVA)" != ""
|
|
||||||
INCPRE+=-I$(SOLARINCDIR)$/mozilla$/java
|
|
||||||
INCPRE+=-I$(SOLARINCDIR)$/mozilla$/nspr
|
|
||||||
CDEFS+=-DOJI
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
# --- Types -------------------------------------
|
|
||||||
|
|
||||||
.IF "$(WITH_MOZILLA)" != "NO"
|
|
||||||
SLOFILES = $(SLO)$/winmgr.obj \
|
|
||||||
$(SLO)$/sysplug.obj
|
|
||||||
.ENDIF # $(WITH_MOZILLA) != "NO"
|
|
||||||
|
|
||||||
.ENDIF
|
|
||||||
|
|
||||||
# ------------------------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : target.mk
|
|
||||||
|
|
@@ -1,154 +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=..$/..
|
|
||||||
PRJINC=..$/inc
|
|
||||||
|
|
||||||
PRJNAME=extensions
|
|
||||||
TARGET=pcr
|
|
||||||
USE_DEFFILE=TRUE
|
|
||||||
|
|
||||||
ENABLE_EXCEPTIONS=TRUE
|
|
||||||
VISIBILITY_HIDDEN=TRUE
|
|
||||||
|
|
||||||
# --- Settings -----------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : $(PRJ)$/util$/makefile.pmk
|
|
||||||
|
|
||||||
# --- Files --------------------------------------------------------
|
|
||||||
|
|
||||||
SLOFILES= $(SLO)$/controlfontdialog.obj \
|
|
||||||
$(SLO)$/fontdialog.obj \
|
|
||||||
$(SLO)$/pcrservices.obj \
|
|
||||||
$(SLO)$/selectlabeldialog.obj \
|
|
||||||
$(SLO)$/propcontroller.obj \
|
|
||||||
$(SLO)$/formcontroller.obj \
|
|
||||||
$(SLO)$/modulepcr.obj \
|
|
||||||
$(SLO)$/cellbindinghelper.obj \
|
|
||||||
$(SLO)$/taborder.obj \
|
|
||||||
$(SLO)$/pcrunodialogs.obj \
|
|
||||||
$(SLO)$/unourl.obj \
|
|
||||||
$(SLO)$/formlinkdialog.obj \
|
|
||||||
$(SLO)$/listselectiondlg.obj \
|
|
||||||
$(SLO)$/browserlistbox.obj \
|
|
||||||
$(SLO)$/stringrepresentation.obj \
|
|
||||||
$(SLO)$/eformshelper.obj \
|
|
||||||
$(SLO)$/xsddatatypes.obj \
|
|
||||||
$(SLO)$/xsdvalidationhelper.obj \
|
|
||||||
$(SLO)$/pushbuttonnavigation.obj \
|
|
||||||
$(SLO)$/sqlcommanddesign.obj \
|
|
||||||
$(SLO)$/composeduiupdate.obj \
|
|
||||||
$(SLO)$/propertycomposer.obj \
|
|
||||||
$(SLO)$/pcrcomponentcontext.obj \
|
|
||||||
$(SLO)$/commoncontrol.obj \
|
|
||||||
$(SLO)$/standardcontrol.obj \
|
|
||||||
$(SLO)$/usercontrol.obj \
|
|
||||||
$(SLO)$/browserline.obj \
|
|
||||||
$(SLO)$/genericpropertyhandler.obj \
|
|
||||||
$(SLO)$/buttonnavigationhandler.obj \
|
|
||||||
$(SLO)$/handlerhelper.obj \
|
|
||||||
$(SLO)$/propertyhandler.obj \
|
|
||||||
$(SLO)$/eventhandler.obj \
|
|
||||||
$(SLO)$/editpropertyhandler.obj \
|
|
||||||
$(SLO)$/eformspropertyhandler.obj \
|
|
||||||
$(SLO)$/cellbindinghandler.obj \
|
|
||||||
$(SLO)$/submissionhandler.obj \
|
|
||||||
$(SLO)$/xsdvalidationpropertyhandler.obj \
|
|
||||||
$(SLO)$/formcomponenthandler.obj \
|
|
||||||
$(SLO)$/formmetadata.obj \
|
|
||||||
$(SLO)$/defaultforminspection.obj \
|
|
||||||
$(SLO)$/formbrowsertools.obj \
|
|
||||||
$(SLO)$/browserpage.obj \
|
|
||||||
$(SLO)$/propertyeditor.obj \
|
|
||||||
$(SLO)$/formstrings.obj \
|
|
||||||
$(SLO)$/pcrstrings.obj \
|
|
||||||
$(SLO)$/browserview.obj \
|
|
||||||
$(SLO)$/pcrcommon.obj \
|
|
||||||
$(SLO)$/newdatatype.obj \
|
|
||||||
$(SLO)$/propeventtranslation.obj \
|
|
||||||
$(SLO)$/objectinspectormodel.obj \
|
|
||||||
$(SLO)$/inspectorhelpwindow.obj \
|
|
||||||
$(SLO)$/defaulthelpprovider.obj \
|
|
||||||
$(SLO)$/MasterDetailLinkDialog.obj \
|
|
||||||
$(SLO)$/inspectormodelbase.obj \
|
|
||||||
$(SLO)$/propertycontrolextender.obj \
|
|
||||||
$(SLO)$/formgeometryhandler.obj
|
|
||||||
|
|
||||||
SRS1NAME=$(TARGET)
|
|
||||||
SRC1FILES= propres.src \
|
|
||||||
formres.src \
|
|
||||||
pcrmiscres.src \
|
|
||||||
taborder.src \
|
|
||||||
fontdialog.src \
|
|
||||||
selectlabeldialog.src \
|
|
||||||
formlinkdialog.src \
|
|
||||||
listselectiondlg.src \
|
|
||||||
newdatatype.src
|
|
||||||
|
|
||||||
RESLIB1NAME=$(TARGET)
|
|
||||||
RESLIB1IMAGES=$(PRJ)$/res
|
|
||||||
RESLIB1SRSFILES= $(SRS)$/$(TARGET).srs
|
|
||||||
|
|
||||||
SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
|
|
||||||
SHL1VERSIONMAP=$(SOLARENV)/src/component.map
|
|
||||||
|
|
||||||
SHL1STDLIBS= \
|
|
||||||
$(EDITENGLIB) \
|
|
||||||
$(SVXCORELIB) \
|
|
||||||
$(SVXLIB) \
|
|
||||||
$(SFXLIB) \
|
|
||||||
$(SVTOOLLIB)\
|
|
||||||
$(TKLIB) \
|
|
||||||
$(VCLLIB) \
|
|
||||||
$(SVLLIB) \
|
|
||||||
$(TOOLSLIB) \
|
|
||||||
$(I18NISOLANGLIB) \
|
|
||||||
$(DBTOOLSLIB) \
|
|
||||||
$(COMPHELPERLIB) \
|
|
||||||
$(CPPUHELPERLIB) \
|
|
||||||
$(CPPULIB) \
|
|
||||||
$(UNOTOOLSLIB) \
|
|
||||||
$(SALLIB)
|
|
||||||
|
|
||||||
SHL1LIBS= $(SLB)$/$(TARGET).lib
|
|
||||||
SHL1IMPLIB= i$(TARGET)
|
|
||||||
SHL1DEPN= $(SHL1LIBS)
|
|
||||||
SHL1DEF= $(MISC)$/$(SHL1TARGET).def
|
|
||||||
|
|
||||||
DEF1NAME= $(SHL1TARGET)
|
|
||||||
|
|
||||||
# --- Targets ------------------------------------------------------
|
|
||||||
|
|
||||||
.INCLUDE : target.mk
|
|
||||||
|
|
||||||
|
|
||||||
ALLTAR : $(MISC)/pcr.component
|
|
||||||
|
|
||||||
$(MISC)/pcr.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
|
|
||||||
pcr.component
|
|
||||||
$(XSLTPROC) --nonet --stringparam uri \
|
|
||||||
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
|
|
||||||
$(SOLARENV)/bin/createcomponent.xslt pcr.component
|
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user