xref: /aoo42x/main/sccomp/Library_solver.mk (revision 1f56509e)
1*1f56509eSdamjan#**************************************************************
2*1f56509eSdamjan#
3*1f56509eSdamjan#  Licensed to the Apache Software Foundation (ASF) under one
4*1f56509eSdamjan#  or more contributor license agreements.  See the NOTICE file
5*1f56509eSdamjan#  distributed with this work for additional information
6*1f56509eSdamjan#  regarding copyright ownership.  The ASF licenses this file
7*1f56509eSdamjan#  to you under the Apache License, Version 2.0 (the
8*1f56509eSdamjan#  "License"); you may not use this file except in compliance
9*1f56509eSdamjan#  with the License.  You may obtain a copy of the License at
10*1f56509eSdamjan#
11*1f56509eSdamjan#    http://www.apache.org/licenses/LICENSE-2.0
12*1f56509eSdamjan#
13*1f56509eSdamjan#  Unless required by applicable law or agreed to in writing,
14*1f56509eSdamjan#  software distributed under the License is distributed on an
15*1f56509eSdamjan#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*1f56509eSdamjan#  KIND, either express or implied.  See the License for the
17*1f56509eSdamjan#  specific language governing permissions and limitations
18*1f56509eSdamjan#  under the License.
19*1f56509eSdamjan#
20*1f56509eSdamjan#**************************************************************
21*1f56509eSdamjan
22*1f56509eSdamjan
23*1f56509eSdamjan
24*1f56509eSdamjan$(eval $(call gb_Library_Library,solver))
25*1f56509eSdamjan
26*1f56509eSdamjan$(eval $(call gb_Library_set_componentfile,solver,sccomp/source/solver/solver))
27*1f56509eSdamjan
28*1f56509eSdamjan$(eval $(call gb_Library_set_include,solver,\
29*1f56509eSdamjan        $$(INCLUDE) \
30*1f56509eSdamjan))
31*1f56509eSdamjan
32*1f56509eSdamjan$(eval $(call gb_Library_add_api,solver,\
33*1f56509eSdamjan	offapi \
34*1f56509eSdamjan	udkapi \
35*1f56509eSdamjan))
36*1f56509eSdamjan
37*1f56509eSdamjan$(eval $(call gb_Library_add_linked_libs,solver,\
38*1f56509eSdamjan	comphelper \
39*1f56509eSdamjan	cppuhelper \
40*1f56509eSdamjan	cppu \
41*1f56509eSdamjan	sal \
42*1f56509eSdamjan	stl \
43*1f56509eSdamjan	tl \
44*1f56509eSdamjan	$(gb_STDLIBS) \
45*1f56509eSdamjan))
46*1f56509eSdamjan
47*1f56509eSdamjan$(call gb_Library_use_external,solver,coinmp)
48*1f56509eSdamjan
49*1f56509eSdamjan$(eval $(call gb_Library_add_exception_objects,solver,\
50*1f56509eSdamjan	sccomp/source/solver/solver \
51*1f56509eSdamjan))
52*1f56509eSdamjan
53*1f56509eSdamjan# vim: set noet sw=4 ts=4:
54