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