xref: /trunk/main/sal/qa/rtl/bootstrap/makefile.mk (revision b37c7bbc)
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_bootstrap
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.IF "$(GUI)"=="WNT"
43#BOOTSTRAPSCRIPT=bootstrap.bat
44BOOTSTRAPINI=testshl2.ini
45MY_SCRIPTCAT=cat
46.ELSE
47#BOOTSTRAPSCRIPT=bootstrap
48BOOTSTRAPINI=testshl2rc
49MY_SCRIPTCAT=tr -d "\015" <
50.ENDIF
51
52CFLAGS+= $(LFS_CFLAGS)
53CXXFLAGS+= $(LFS_CFLAGS)
54
55# BEGIN ----------------------------------------------------------------
56# auto generated Target:joblist by codegen.pl
57APP1OBJS=  \
58	$(SLO)$/rtl_Bootstrap.obj
59
60APP1TARGET= rtl_Bootstrap
61APP1STDLIBS= $(SALLIB) $(GTESTLIB) $(TESTSHL2LIB)
62APP1RPATH = NONE
63APP1TEST = enabled
64# END ------------------------------------------------------------------
65
66OBJ2FILES=$(OBJ)$/bootstrap_process.obj
67APP2TARGET=bootstrap_process
68APP2OBJS=$(OBJ2FILES)
69
70# .IF "$(GUI)" == "UNX"
71# APP2STDLIBS=$(LB)$/libsal.so
72# .ENDIF
73# .IF "$(GUI)" == "WNT"
74# APP2STDLIBS=$(KERNEL32LIB) $(LB)$/isal.lib
75# .ENDIF
76APP2STDLIBS=$(SALLIB)
77
78# --- Targets ------------------------------------------------------
79
80.INCLUDE :  target.mk
81
82.ENDIF # "$(ENABLE_UNIT_TESTS)" != "YES"