xref: /aoo41x/main/sccomp/source/solver/makefile.mk (revision 70840c81)
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
24PRJ=..$/..
25PRJNAME=sccomp
26TARGET=solver
27
28ENABLE_EXCEPTIONS=TRUE
29VISIBILITY_HIDDEN=TRUE
30USE_DEFFILE=TRUE
31LIBTARGET=NO
32
33# --- Settings ----------------------------------
34
35.INCLUDE : settings.mk
36
37# --- Files -------------------------------------
38
39SLOFILES=$(SLO)$/solver.obj
40
41SRS1NAME=$(TARGET)
42SRC1FILES=solver.src
43
44# --- Library -----------------------------------
45
46SHL1TARGET=     $(TARGET)$(DLLPOSTFIX)
47
48SHL1OBJS=       $(SLOFILES)
49
50SHL1STDLIBS=    $(COMPHELPERLIB)    \
51                $(CPPUHELPERLIB)    \
52                $(CPPULIB)          \
53                $(SALLIB)           \
54                $(TOOLSLIB)         \
55                CoinMP.lib
56
57SHL1DEPN=       makefile.mk
58SHL1DEF=        $(MISC)$/$(SHL1TARGET).def
59SHL1VERSIONMAP= $(SOLARENV)/src/component.map
60DEF1NAME=       $(SHL1TARGET)
61
62# --- Resources --------------------------------
63
64RESLIB1LIST=$(SRS)$/solver.srs
65
66RESLIB1NAME=solver
67RESLIB1SRSFILES=$(RESLIB1LIST)
68
69# --- Targets ----------------------------------
70
71.INCLUDE : target.mk
72
73
74
75ALLTAR : $(MISC)/solver.component
76
77$(MISC)/solver.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
78        solver.component
79    $(XSLTPROC) --nonet --stringparam uri \
80        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
81        $(SOLARENV)/bin/createcomponent.xslt solver.component
82