xref: /aoo42x/main/sal/qa/osl/process/makefile.mk (revision 44e8df1f)
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
23PRJ=..$/..$/..
24
25PRJNAME=sal
26TARGET=qa_osl_process
27
28ENABLE_EXCEPTIONS=TRUE
29
30# --- Settings -----------------------------------------------------
31
32.INCLUDE :  settings.mk
33
34.IF "$(ENABLE_UNIT_TESTS)" != "YES"
35all:
36	@echo unit tests are disabled. Nothing to do.
37
38.ELSE
39
40
41CFLAGS+= $(LFS_CFLAGS)
42CXXFLAGS+= $(LFS_CFLAGS)
43
44# BEGIN ----------------------------------------------------------------
45# auto generated Target:testjob by codegen.pl
46
47.IF "$(GUI)" == "WNT"
48	CFLAGS+=/Ob1
49.ENDIF
50
51APP1OBJS=  \
52	$(SLO)$/osl_Thread.obj
53
54APP1TARGET= osl_Thread
55APP1STDLIBS= $(SALLIB) $(GTESTLIB) $(TESTSHL2LIB)
56APP1RPATH = NONE
57APP1TEST = enabled
58
59# END ------------------------------------------------------------------
60
61#.IF "$(GUI)" == "WNT"
62
63APP2OBJS=$(SLO)$/osl_process.obj
64APP2TARGET=osl_process
65APP2STDLIBS= $(SALLIB) $(GTESTLIB) $(TESTSHL2LIB)
66APP2RPATH = NONE
67APP2TEST = enabled
68
69# END ------------------------------------------------------------------
70
71OBJ3FILES=$(OBJ)$/osl_process_child.obj
72APP3TARGET=osl_process_child
73APP3OBJS=$(OBJ3FILES)
74
75# .IF "$(GUI)" == "UNX"
76# APP3STDLIBS=$(LB)$/libsal.so
77# .ENDIF
78# .IF "$(GUI)" == "WNT"
79# APP3STDLIBS=$(KERNEL32LIB) $(LB)$/isal.lib
80# .ENDIF
81APP3STDLIBS=$(SALLIB)
82
83#.ENDIF # "$(GUI)" == "WNT"
84
85# --- Targets ------------------------------------------------------
86
87.INCLUDE :  target.mk
88
89.ENDIF # "$(ENABLE_UNIT_TESTS)" != "YES"
90