xref: /trunk/main/padmin/Library_spa.mk (revision 56b8eddca8dfa483d4f8ff0d4ce385505d8407b6)
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,spa))
25
26$(eval $(call gb_Library_set_include,spa,\
27    $$(INCLUDE) \
28    -I$(OUTDIR)/inc/stl \
29))
30
31$(eval $(call gb_Library_add_defs,spa,\
32    -DSPA_DLLIMPLEMENTATION \
33))
34
35$(eval $(call gb_Library_add_api,spa,\
36    udkapi \
37    offapi \
38))
39
40$(eval $(call gb_Library_add_linked_libs,spa,\
41    svt \
42    vcl \
43    utl \
44    tl \
45    basegfx \
46    comphelper \
47    i18nisolang1 \
48    stl \
49    cppu \
50    sal \
51    vos3 \
52    $(gb_STDLIBS) \
53))
54
55
56$(eval $(call gb_Library_add_exception_objects,spa,\
57    padmin/source/adddlg \
58    padmin/source/cmddlg \
59    padmin/source/fontentry \
60    padmin/source/helper \
61    padmin/source/newppdlg \
62    padmin/source/padialog \
63    padmin/source/progress \
64    padmin/source/prtsetup \
65    padmin/source/titlectrl \
66))
67
68ifeq ($(OS),LINUX)
69$(eval $(call gb_Library_add_linked_libs,spa,\
70    dl \
71    m \
72    pthread \
73))
74endif
75
76# vim: set noet sw=4 ts=4:
77