xref: /aoo42x/main/sc/Library_scd.mk (revision b77af630)
17871dc3eSAndrew Rist#**************************************************************
27871dc3eSAndrew Rist#
37871dc3eSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
47871dc3eSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
57871dc3eSAndrew Rist#  distributed with this work for additional information
67871dc3eSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
77871dc3eSAndrew Rist#  to you under the Apache License, Version 2.0 (the
87871dc3eSAndrew Rist#  "License"); you may not use this file except in compliance
97871dc3eSAndrew Rist#  with the License.  You may obtain a copy of the License at
107871dc3eSAndrew Rist#
117871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
127871dc3eSAndrew Rist#
137871dc3eSAndrew Rist#  Unless required by applicable law or agreed to in writing,
147871dc3eSAndrew Rist#  software distributed under the License is distributed on an
157871dc3eSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
167871dc3eSAndrew Rist#  KIND, either express or implied.  See the License for the
177871dc3eSAndrew Rist#  specific language governing permissions and limitations
187871dc3eSAndrew Rist#  under the License.
197871dc3eSAndrew Rist#
207871dc3eSAndrew Rist#**************************************************************
217871dc3eSAndrew Rist
227871dc3eSAndrew Rist
23cdf0e10cSrcweir
24*b77af630Sdamjan$(eval $(call gb_Library_Library,scd))
25cdf0e10cSrcweir
26*b77af630Sdamjan$(eval $(call gb_Library_add_precompiled_header,scd,$(SRCDIR)/sc/inc/pch/precompiled_scd))
27cdf0e10cSrcweir
28*b77af630Sdamjan$(eval $(call gb_Library_set_componentfile,scd,sc/util/scd))
29cdf0e10cSrcweir
30*b77af630Sdamjan$(eval $(call gb_Library_set_include,scd,\
31*b77af630Sdamjan        $$(INCLUDE) \
32*b77af630Sdamjan	-I$(SRCDIR)/sc/inc \
33*b77af630Sdamjan	-I$(SRCDIR)/sc/inc/pch \
34*b77af630Sdamjan	-I$(SRCDIR)/sc/source/ui/inc \
35*b77af630Sdamjan	-I$(SRCDIR)/sc/source/core/inc \
36*b77af630Sdamjan	-I$(SRCDIR)/sc/source/filter/inc \
37*b77af630Sdamjan))
38cdf0e10cSrcweir
39*b77af630Sdamjan$(eval $(call gb_Library_add_defs,scd,\
40*b77af630Sdamjan	-DSC_DLLIMPLEMENTATION \
41*b77af630Sdamjan))
42cdf0e10cSrcweir
43*b77af630Sdamjan$(eval $(call gb_Library_add_api,scd,\
44*b77af630Sdamjan	offapi \
45*b77af630Sdamjan	udkapi \
46*b77af630Sdamjan))
4731fa4ab0SHerbert Dürr
48*b77af630Sdamjan$(eval $(call gb_Library_add_linked_libs,scd,\
49*b77af630Sdamjan	cppu \
50*b77af630Sdamjan	cppuhelper \
51*b77af630Sdamjan	sal \
52*b77af630Sdamjan	sfx \
53*b77af630Sdamjan	sot \
54*b77af630Sdamjan	stl \
55*b77af630Sdamjan	svl \
56*b77af630Sdamjan	svt \
57*b77af630Sdamjan	tl \
58*b77af630Sdamjan	ucbhelper \
59*b77af630Sdamjan	vcl \
60*b77af630Sdamjan	$(gb_STDLIBS) \
61*b77af630Sdamjan))
62cdf0e10cSrcweir
63*b77af630Sdamjan$(eval $(call gb_Library_add_exception_objects,scd,\
64*b77af630Sdamjan	sc/source/ui/unoobj/scdetect \
65*b77af630Sdamjan	sc/source/ui/unoobj/detreg \
66*b77af630Sdamjan))
67cdf0e10cSrcweir
68*b77af630Sdamjan# vim: set noet sw=4 ts=4:
69