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 25$(eval $(call gb_Library_Library,qstart_gtk)) 26 27$(eval $(call gb_Library_set_include,qstart_gtk,\ 28 $$(INCLUDE) \ 29 -I$(SRCDIR)/sfx2/inc \ 30 -I$(SRCDIR)/sfx2/inc/sfx2 \ 31 -I$(SRCDIR)/sfx2/inc/pch \ 32 -I$(OUTDIR)/inc/offuh \ 33 -I$(OUTDIR)/inc \ 34 $(filter -I%,$(GTK_CFLAGS)) \ 35)) 36 37$(eval $(call gb_Library_set_defs,qstart_gtk,\ 38 $$(DEFS) \ 39 -DDLL_NAME=$(notdir $(call gb_Library_get_target,sfx2)) \ 40 -DENABLE_QUICKSTART_APPLET \ 41)) 42 43$(eval $(call gb_Library_set_cflags,qstart_gtk,\ 44 $$(CFLAGS) \ 45 $(filter-out -I%,$(GTK_CFLAGS)) \ 46)) 47 48$(eval $(call gb_Library_set_ldflags,qstart_gtk,\ 49 $$(LDFLAGS) \ 50)) 51 52$(eval $(call gb_Library_add_external_libs,qstart_gtk, \ 53 $(patsubst -l%,%, $(filter -l%, $(GTK_LIBS))) \ 54)) 55 56 57 58$(eval $(call gb_Library_add_linked_libs,qstart_gtk,\ 59 comphelper \ 60 cppu \ 61 cppuhelper \ 62 fwe \ 63 i18nisolang1 \ 64 sal \ 65 sax \ 66 sb \ 67 sot \ 68 stl \ 69 svl \ 70 svt \ 71 tk \ 72 tl \ 73 ucbhelper \ 74 utl \ 75 vcl \ 76 vos3 \ 77 xml2 \ 78 sfx \ 79)) 80 81$(eval $(call gb_Library_add_exception_objects,qstart_gtk,\ 82 sfx2/source/appl/shutdowniconunx \ 83)) 84 85# vim: set noet sw=4 ts=4: 86