xref: /AOO42X/main/sal/qa/rtl/textenc/makefile.mk (revision 5e48fca7e524eb943907f0a8808aae8b4c4c7424)
17871dc3eSAndrew Rist#**************************************************************
2cdf0e10cSrcweir#
37871dc3eSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
47871dc3eSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
57871dc3eSAndrew Rist#  distributed with this work for additional information
67871dc3eSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
77871dc3eSAndrew Rist#  to you under the Apache License, Version 2.0 (the
87871dc3eSAndrew Rist#  "License"); you may not use this file except in compliance
97871dc3eSAndrew Rist#  with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir#
117871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir#
137871dc3eSAndrew Rist#  Unless required by applicable law or agreed to in writing,
147871dc3eSAndrew Rist#  software distributed under the License is distributed on an
157871dc3eSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
167871dc3eSAndrew Rist#  KIND, either express or implied.  See the License for the
177871dc3eSAndrew Rist#  specific language governing permissions and limitations
187871dc3eSAndrew Rist#  under the License.
19cdf0e10cSrcweir#
207871dc3eSAndrew Rist#**************************************************************
217871dc3eSAndrew Rist
227871dc3eSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweirPRJ=..$/..$/..
25cdf0e10cSrcweir
26cdf0e10cSrcweirPRJNAME=sal
27cdf0e10cSrcweirTARGET=qa_rtl_textenc
28cdf0e10cSrcweir
29cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE
30cdf0e10cSrcweir
31cdf0e10cSrcweir# --- Settings -----------------------------------------------------
32cdf0e10cSrcweir
33cdf0e10cSrcweir.INCLUDE :  settings.mk
34cdf0e10cSrcweir
35*cde13203SDamjan Jovanovic.IF "$(ENABLE_UNIT_TESTS)" != "YES"
36*cde13203SDamjan Jovanovicall:
37*cde13203SDamjan Jovanovic    @echo unit tests are disabled. Nothing to do.
38*cde13203SDamjan Jovanovic
39*cde13203SDamjan Jovanovic.ELSE
40*cde13203SDamjan Jovanovic
41*cde13203SDamjan Jovanovic
42cdf0e10cSrcweirCFLAGS+= $(LFS_CFLAGS)
43cdf0e10cSrcweirCXXFLAGS+= $(LFS_CFLAGS)
44cdf0e10cSrcweir
45cdf0e10cSrcweir# --- BEGIN --------------------------------------------------------
46*cde13203SDamjan JovanovicAPP1OBJS=  \
47cdf0e10cSrcweir    $(SLO)$/rtl_textcvt.obj
48*cde13203SDamjan JovanovicAPP1TARGET= rtl_textcvt
49*cde13203SDamjan JovanovicAPP1STDLIBS= $(SALLIB) $(GTESTLIB) $(TESTSHL2LIB)
50*cde13203SDamjan JovanovicAPP1RPATH = NONE
51*cde13203SDamjan JovanovicAPP1TEST = enabled
52cdf0e10cSrcweir
53cdf0e10cSrcweir# END --------------------------------------------------------------
54cdf0e10cSrcweir
55cdf0e10cSrcweir# --- BEGIN --------------------------------------------------------
56*cde13203SDamjan JovanovicAPP2OBJS=  \
57cdf0e10cSrcweir    $(SLO)$/rtl_tencinfo.obj
58*cde13203SDamjan JovanovicAPP2TARGET= rtl_tencinfo
59*cde13203SDamjan JovanovicAPP2STDLIBS= $(SALLIB) $(GTESTLIB) $(TESTSHL2LIB)
60*cde13203SDamjan JovanovicAPP2RPATH = NONE
61*cde13203SDamjan JovanovicAPP2TEST = enabled
62cdf0e10cSrcweir
63cdf0e10cSrcweir# END --------------------------------------------------------------
64cdf0e10cSrcweir
65cdf0e10cSrcweir# --- Targets ------------------------------------------------------
66cdf0e10cSrcweir
67cdf0e10cSrcweir.INCLUDE :  target.mk
68*cde13203SDamjan Jovanovic
69*cde13203SDamjan Jovanovic.ENDIF # "$(ENABLE_UNIT_TESTS)" != "YES"
70