xref: /aoo41x/main/scp2/source/calc/makefile.mk (revision 5b11f0d3)
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=..$/..
25
26PRJPCH=
27
28PRJNAME=scp2
29TARGET=calc
30TARGETTYPE=CUI
31
32# --- Settings -----------------------------------------------------
33
34.INCLUDE :	settings.mk
35
36.IF "$(ENABLE_COINMP)" == "YES"
37SCPDEFS+=-DENABLE_COINMP
38.IF "$(SYSTEM_COINMP)" == "NO"
39.IF "$(GUI)"!="WNT" && "$(GUI)"!="OS2"
40# For the non-Windows platforms all libraries related to CoinMP have to be
41# added explicitly.
42SCPDEFS+=-DADD_ALL_COINMP_LIBRARIES
43.ELSE
44SCPDEFS+=-DADD_MAIN_COINMP_LIBRARY
45.ENDIF
46.ENDIF
47.ENDIF
48
49SCP_PRODUCT_TYPE=osl
50PARFILES= \
51        module_calc.par              \
52        file_calc.par
53
54.IF "$(GUI)"=="WNT"
55PARFILES += \
56        registryitem_calc.par        \
57        folderitem_calc.par
58.ENDIF
59
60ULFFILES= \
61        module_calc.ulf              \
62        registryitem_calc.ulf        \
63        folderitem_calc.ulf
64
65# --- File ---------------------------------------------------------
66.INCLUDE :  target.mk
67