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$(eval $(call gb_Library_Library,cui)) 25 26$(eval $(call gb_Library_add_precompiled_header,cui,$(SRCDIR)/cui/inc/pch/precompiled_cui)) 27 28$(eval $(call gb_Library_set_componentfile,cui,cui/util/cui)) 29 30$(eval $(call gb_Library_set_include,cui,\ 31 $$(INCLUDE) \ 32 -I$(SRCDIR)/cui/inc/pch \ 33 -I$(SRCDIR)/cui/source/inc \ 34)) 35 36$(eval $(call gb_Library_add_defs,cui,\ 37 -DBUILD_VER_STRING="$(BUILD_VER_STRING)" \ 38 -DCOPYRIGHT_YEAR=$(shell perl -e 'use POSIX qw(strftime); print strftime("%Y", gmtime($$ENV{SOURCE_DATE_EPOCH} || time));') \ 39)) 40 41ifeq ($(ENABLE_GTK),TRUE) 42$(eval $(call gb_Library_add_defs,cui,-DENABLE_GTK)) 43endif 44 45ifeq ($(ENABLE_KDE),TRUE) 46$(eval $(call gb_Library_add_defs,cui,-DENABLE_KDE)) 47endif 48 49ifeq ($(ENABLE_KDE4),TRUE) 50$(eval $(call gb_Library_add_defs,cui,-DENABLE_KDE4)) 51endif 52 53$(eval $(call gb_Library_add_api,cui,\ 54 offapi \ 55 udkapi \ 56)) 57 58$(eval $(call gb_Library_add_linked_libs,cui,\ 59 avmedia \ 60 basegfx \ 61 comphelper \ 62 cppuhelper \ 63 cppu \ 64 editeng \ 65 i18nisolang1 \ 66 jvmfwk \ 67 lng \ 68 ootk \ 69 sal \ 70 sb \ 71 sax \ 72 sfx \ 73 sot \ 74 stl \ 75 svl \ 76 svt \ 77 svx \ 78 svxcore \ 79 tl \ 80 ucbhelper \ 81 utl \ 82 vcl \ 83 vos3 \ 84 $(gb_STDLIBS) \ 85)) 86 87ifeq ($(GUI),WNT) 88$(eval $(call gb_Library_add_linked_libs,cui,\ 89 advapi32 \ 90 shlwapi \ 91)) 92endif 93 94$(call gb_Library_use_external,cui,icuuc) 95 96$(eval $(call gb_Library_add_exception_objects,cui,\ 97 cui/source/customize/acccfg \ 98 cui/source/customize/cfg \ 99 cui/source/customize/cfgutil \ 100 cui/source/customize/eventdlg \ 101 cui/source/customize/macropg \ 102 cui/source/customize/selector \ 103 cui/source/dialogs/about \ 104 cui/source/dialogs/colorpicker \ 105 cui/source/dialogs/commonlingui \ 106 cui/source/dialogs/cuicharmap \ 107 cui/source/dialogs/cuifmsearch \ 108 cui/source/dialogs/cuigaldlg \ 109 cui/source/dialogs/cuigrfflt \ 110 cui/source/dialogs/cuihyperdlg \ 111 cui/source/dialogs/cuiimapwnd \ 112 cui/source/dialogs/cuitbxform \ 113 cui/source/dialogs/dlgname \ 114 cui/source/dialogs/hangulhanjadlg \ 115 cui/source/dialogs/hldocntp \ 116 cui/source/dialogs/hldoctp \ 117 cui/source/dialogs/hlinettp \ 118 cui/source/dialogs/hlmailtp \ 119 cui/source/dialogs/hlmarkwn \ 120 cui/source/dialogs/hltpbase \ 121 cui/source/dialogs/hyphen \ 122 cui/source/dialogs/iconcdlg \ 123 cui/source/dialogs/insdlg \ 124 cui/source/dialogs/insrc \ 125 cui/source/dialogs/linkdlg \ 126 cui/source/dialogs/multifil \ 127 cui/source/dialogs/multipat \ 128 cui/source/dialogs/newtabledlg \ 129 cui/source/dialogs/passwdomdlg \ 130 cui/source/dialogs/pastedlg \ 131 cui/source/dialogs/plfilter \ 132 cui/source/dialogs/postdlg \ 133 cui/source/dialogs/scriptdlg \ 134 cui/source/dialogs/sdrcelldlg \ 135 cui/source/dialogs/showcols \ 136 cui/source/dialogs/SpellAttrib \ 137 cui/source/dialogs/SpellDialog \ 138 cui/source/dialogs/splitcelldlg \ 139 cui/source/dialogs/srchxtra \ 140 cui/source/dialogs/thesdlg \ 141 cui/source/dialogs/zoom \ 142 cui/source/factory/dlgfact \ 143 cui/source/factory/cuiexp \ 144 cui/source/factory/cuiresmgr \ 145 cui/source/factory/init \ 146 cui/source/options/cfgchart \ 147 cui/source/options/connpoolconfig \ 148 cui/source/options/connpooloptions \ 149 cui/source/options/connpoolsettings \ 150 cui/source/options/cuisrchdlg \ 151 cui/source/options/dbregister \ 152 cui/source/options/dbregisterednamesconfig \ 153 cui/source/options/dbregistersettings \ 154 cui/source/options/doclinkdialog \ 155 cui/source/options/fontsubs \ 156 cui/source/options/internationaloptions \ 157 cui/source/options/optaccessibility \ 158 cui/source/options/optasian \ 159 cui/source/options/optchart \ 160 cui/source/options/optcolor \ 161 cui/source/options/optctl \ 162 cui/source/options/optdict \ 163 cui/source/options/optfltr \ 164 cui/source/options/optgdlg \ 165 cui/source/options/optgenrl \ 166 cui/source/options/optHeaderTabListbox \ 167 cui/source/options/opthtml \ 168 cui/source/options/optimprove \ 169 cui/source/options/optimprove2 \ 170 cui/source/options/optinet2 \ 171 cui/source/options/optjava \ 172 cui/source/options/optjsearch \ 173 cui/source/options/optlingu \ 174 cui/source/options/optmemory \ 175 cui/source/options/optpath \ 176 cui/source/options/optsave \ 177 cui/source/options/optupdt \ 178 cui/source/options/radiobtnbox \ 179 cui/source/options/readonlyimage \ 180 cui/source/options/sdbcdriverenum \ 181 cui/source/options/securityoptions \ 182 cui/source/options/treeopt \ 183 cui/source/options/webconninfo \ 184 cui/source/tabpages/align \ 185 cui/source/tabpages/autocdlg \ 186 cui/source/tabpages/backgrnd \ 187 cui/source/tabpages/bbdlg \ 188 cui/source/tabpages/border \ 189 cui/source/tabpages/borderconn \ 190 cui/source/tabpages/chardlg \ 191 cui/source/tabpages/connect \ 192 cui/source/tabpages/dstribut \ 193 cui/source/tabpages/grfpage \ 194 cui/source/tabpages/labdlg \ 195 cui/source/tabpages/macroass \ 196 cui/source/tabpages/measure \ 197 cui/source/tabpages/numfmt \ 198 cui/source/tabpages/numpages \ 199 cui/source/tabpages/page \ 200 cui/source/tabpages/paragrph \ 201 cui/source/tabpages/swpossizetabpage \ 202 cui/source/tabpages/tabarea \ 203 cui/source/tabpages/tabline \ 204 cui/source/tabpages/tabstpge \ 205 cui/source/tabpages/textanim \ 206 cui/source/tabpages/textattr \ 207 cui/source/tabpages/tparea \ 208 cui/source/tabpages/tpbitmap \ 209 cui/source/tabpages/tpcolor \ 210 cui/source/tabpages/tpgradnt \ 211 cui/source/tabpages/tphatch \ 212 cui/source/tabpages/tpline \ 213 cui/source/tabpages/tplnedef \ 214 cui/source/tabpages/tplneend \ 215 cui/source/tabpages/tpshadow \ 216 cui/source/tabpages/transfrm \ 217 cui/source/uno/services/services \ 218)) 219 220ifeq ($(GUI),WNT) 221$(eval $(call gb_Library_add_exception_objects,cui,\ 222 cui/source/dialogs/winpluginlib \ 223)) 224endif 225 226# vim: set noet sw=4 ts=4: 227