xref: /aoo42x/main/sal/qa/osl/file/makefile.mk (revision bfbc7fbc)
17871dc3eSAndrew Rist#**************************************************************
27871dc3eSAndrew Rist#
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
107871dc3eSAndrew Rist#
117871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
127871dc3eSAndrew Rist#
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.
197871dc3eSAndrew Rist#
207871dc3eSAndrew Rist#**************************************************************
217871dc3eSAndrew Rist
227871dc3eSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweirPRJ=..$/..$/..
25cdf0e10cSrcweir
26cdf0e10cSrcweirPRJNAME=sal
27cdf0e10cSrcweirTARGET=qa_osl_file
28cdf0e10cSrcweir
29cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE
30cdf0e10cSrcweir
31cdf0e10cSrcweir# --- Settings -----------------------------------------------------
32cdf0e10cSrcweir
33cdf0e10cSrcweir.INCLUDE :  settings.mk
34cdf0e10cSrcweir
35*bfbc7fbcSDamjan Jovanovic.IF "$(ENABLE_UNIT_TESTS)" != "YES"
36*bfbc7fbcSDamjan Jovanovicall:
37*bfbc7fbcSDamjan Jovanovic	@echo unit tests are disabled. Nothing to do.
38*bfbc7fbcSDamjan Jovanovic
39*bfbc7fbcSDamjan Jovanovic.ELSE
40*bfbc7fbcSDamjan Jovanovic
41cdf0e10cSrcweirCFLAGS+= $(LFS_CFLAGS)
42cdf0e10cSrcweirCXXFLAGS+= $(LFS_CFLAGS)
43cdf0e10cSrcweir
44cdf0e10cSrcweir# --- BEGIN --------------------------------------------------------
45*bfbc7fbcSDamjan JovanovicAPP1OBJS=  \
46cdf0e10cSrcweir	$(SLO)$/osl_File.obj
47*bfbc7fbcSDamjan JovanovicAPP1TARGET= osl_File
48*bfbc7fbcSDamjan JovanovicAPP1STDLIBS= $(SALLIB) $(GTESTLIB) $(TESTSHL2LIB)
49*bfbc7fbcSDamjan JovanovicAPP1RPATH = NONE
50*bfbc7fbcSDamjan JovanovicAPP1TEST = enabled
51cdf0e10cSrcweir#-------------------------------------------------------------------
52cdf0e10cSrcweir
53*bfbc7fbcSDamjan JovanovicAPP2OBJS=$(SLO)$/test_cpy_wrt_file.obj
54*bfbc7fbcSDamjan JovanovicAPP2TARGET=tcwf
55*bfbc7fbcSDamjan JovanovicAPP2STDLIBS= $(SALLIB) $(GTESTLIB) $(TESTSHL2LIB)
56*bfbc7fbcSDamjan JovanovicAPP2RPATH = NONE
57*bfbc7fbcSDamjan JovanovicAPP2TEST = enabled
58cdf0e10cSrcweir# END --------------------------------------------------------------
59cdf0e10cSrcweir
60cdf0e10cSrcweir# --- BEGIN --------------------------------------------------------
61*bfbc7fbcSDamjan JovanovicAPP3OBJS=  \
62cdf0e10cSrcweir	$(SLO)$/osl_old_test_file.obj
63*bfbc7fbcSDamjan JovanovicAPP3TARGET= osl_old_test_file
64*bfbc7fbcSDamjan JovanovicAPP3STDLIBS= $(SALLIB) $(GTESTLIB) $(TESTSHL2LIB)
65*bfbc7fbcSDamjan JovanovicAPP3RPATH = NONE
66*bfbc7fbcSDamjan JovanovicAPP3TEST = enabled
67cdf0e10cSrcweir# END --------------------------------------------------------------
68cdf0e10cSrcweir
69cdf0e10cSrcweir# --- Targets ------------------------------------------------------
70cdf0e10cSrcweir
71cdf0e10cSrcweir.INCLUDE :  target.mk
72*bfbc7fbcSDamjan Jovanovic
73*bfbc7fbcSDamjan Jovanovic.ENDIF # "$(ENABLE_UNIT_TESTS)" != "YES"
74