1############################################################### 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20############################################################### 21 22 23 24# unotools is the name of the module the makefile is located in 25 26# declare a library 27# utl is the name of the library as it is found in Repository.mk 28$(eval $(call gb_Library_Library,utl)) 29 30# declare packages that will be delivered before compilation of utl 31# learn more about TYPE in the Package.mk template 32$(eval $(call gb_Library_add_package_headers,utl,unotools_inc)) 33 34# for platforms supporting PCH: declare the location of the pch file 35# this is the name of the cxx file (without extension) 36$(eval $(call gb_Library_add_precompiled_header,utl,$(SRCDIR)/unotools/inc/pch/precompiled_unotools)) 37 38# in case UNO services are exported: declare location of component file 39$(eval $(call gb_Library_set_componentfile,utl,unotools/util/utl)) 40 41$(eval $(call gb_Library_add_api,utl,\ 42 udkapi \ 43 offapi \ 44)) 45 46# add any additional include paths for this library here 47$(eval $(call gb_Library_set_include,utl,\ 48 $$(INCLUDE) \ 49 -I$(SRCDIR)/unotools/inc \ 50 -I$(SRCDIR)/unotools/inc/pch \ 51)) 52 53# add any additional definitions to be set for compilation here 54# (e.g. -DLIB_DLLIMPLEMENTATION) 55$(eval $(call gb_Library_add_defs,utl,\ 56 -DUNOTOOLS_DLLIMPLEMENTATION \ 57)) 58 59# add libraries to be linked to utl; again these names need to be given as 60# specified in Repository.mk 61$(eval $(call gb_Library_add_linked_libs,utl,\ 62 sal \ 63 salhelper \ 64 stl \ 65 comphelper \ 66 ucbhelper \ 67 cppu \ 68 cppuhelper \ 69 i18nisolang1 \ 70 tl \ 71 vos3 \ 72 $(gb_STDLIBS) \ 73)) 74 75# add all source files that shall be compiled with exceptions enabled 76# the name is relative to $(SRCROOT) and must not contain an extension 77$(eval $(call gb_Library_add_exception_objects,utl,\ 78 unotools/source/streaming/streamhelper \ 79 unotools/source/streaming/streamwrap \ 80 unotools/source/accessibility/accessiblestatesethelper \ 81 unotools/source/accessibility/accessiblerelationsethelper \ 82 unotools/source/property/propertysethelper \ 83 unotools/source/property/propertysetinfo \ 84 unotools/source/misc/sharedunocomponent \ 85 unotools/source/misc/componentresmodule \ 86 unotools/source/misc/eventlisteneradapter \ 87 unotools/source/misc/fontcvt \ 88 unotools/source/misc/syslocale \ 89 unotools/source/misc/fontdefs \ 90 unotools/source/misc/datetime \ 91 unotools/source/misc/atom \ 92 unotools/source/misc/desktopterminationobserver \ 93 unotools/source/processfactory/processfactory \ 94 unotools/source/ucbhelper/localfilehelper \ 95 unotools/source/ucbhelper/ucbstreamhelper \ 96 unotools/source/ucbhelper/xtempfile \ 97 unotools/source/ucbhelper/ucblockbytes \ 98 unotools/source/ucbhelper/tempfile \ 99 unotools/source/ucbhelper/ucbhelper \ 100 unotools/source/ucbhelper/progresshandlerwrap \ 101 unotools/source/config/historyoptions \ 102 unotools/source/config/optionsdlg \ 103 unotools/source/config/bootstrap \ 104 unotools/source/config/configpathes \ 105 unotools/source/config/javaoptions \ 106 unotools/source/config/lingucfg \ 107 unotools/source/config/fontoptions \ 108 unotools/source/config/useroptions \ 109 unotools/source/config/internaloptions \ 110 unotools/source/config/viewoptions \ 111 unotools/source/config/workingsetoptions \ 112 unotools/source/config/fltrcfg \ 113 unotools/source/config/localisationoptions \ 114 unotools/source/config/itemholder1 \ 115 unotools/source/config/cmdoptions \ 116 unotools/source/config/cacheoptions \ 117 unotools/source/config/docinfohelper \ 118 unotools/source/config/inetoptions \ 119 unotools/source/config/misccfg \ 120 unotools/source/config/options \ 121 unotools/source/config/xmlaccelcfg \ 122 unotools/source/config/fontcfg \ 123 unotools/source/config/startoptions \ 124 unotools/source/config/extendedsecurityoptions \ 125 unotools/source/config/printwarningoptions \ 126 unotools/source/config/configmgr \ 127 unotools/source/config/eventcfg \ 128 unotools/source/config/configitem \ 129 unotools/source/config/defaultoptions \ 130 unotools/source/config/searchopt \ 131 unotools/source/config/confignode \ 132 unotools/source/config/sourceviewconfig \ 133 unotools/source/config/compatibility \ 134 unotools/source/config/pathoptions \ 135 unotools/source/config/dynamicmenuoptions \ 136 unotools/source/config/moduleoptions \ 137 unotools/source/config/undoopt \ 138 unotools/source/config/configvaluecontainer \ 139 unotools/source/config/syslocaleoptions \ 140 unotools/source/config/accelcfg \ 141 unotools/source/config/saveopt \ 142 unotools/source/config/securityoptions \ 143 unotools/source/i18n/charclass \ 144 unotools/source/i18n/textsearch \ 145 unotools/source/i18n/readwritemutexguard \ 146 unotools/source/i18n/intlwrapper \ 147 unotools/source/i18n/transliterationwrapper \ 148 unotools/source/i18n/calendarwrapper \ 149 unotools/source/i18n/localedatawrapper \ 150 unotools/source/i18n/collatorwrapper \ 151 unotools/source/i18n/numberformatcodewrapper \ 152 unotools/source/i18n/nativenumberwrapper \ 153)) 154 155# vim: set noet sw=4 ts=4: 156