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