xref: /aoo42x/main/sal/qa/osl/process/makefile.mk (revision 44e8df1f)
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
23cdf0e10cSrcweirPRJ=..$/..$/..
24cdf0e10cSrcweir
25cdf0e10cSrcweirPRJNAME=sal
26cdf0e10cSrcweirTARGET=qa_osl_process
27cdf0e10cSrcweir
28cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE
29cdf0e10cSrcweir
30cdf0e10cSrcweir# --- Settings -----------------------------------------------------
31cdf0e10cSrcweir
32cdf0e10cSrcweir.INCLUDE :  settings.mk
33cdf0e10cSrcweir
34*44e8df1fSDamjan Jovanovic.IF "$(ENABLE_UNIT_TESTS)" != "YES"
35*44e8df1fSDamjan Jovanovicall:
36*44e8df1fSDamjan Jovanovic	@echo unit tests are disabled. Nothing to do.
37*44e8df1fSDamjan Jovanovic
38*44e8df1fSDamjan Jovanovic.ELSE
39*44e8df1fSDamjan Jovanovic
40*44e8df1fSDamjan Jovanovic
41cdf0e10cSrcweirCFLAGS+= $(LFS_CFLAGS)
42cdf0e10cSrcweirCXXFLAGS+= $(LFS_CFLAGS)
43cdf0e10cSrcweir
44cdf0e10cSrcweir# BEGIN ----------------------------------------------------------------
45cdf0e10cSrcweir# auto generated Target:testjob by codegen.pl
46cdf0e10cSrcweir
47cdf0e10cSrcweir.IF "$(GUI)" == "WNT"
48cdf0e10cSrcweir	CFLAGS+=/Ob1
49cdf0e10cSrcweir.ENDIF
50cdf0e10cSrcweir
51*44e8df1fSDamjan JovanovicAPP1OBJS=  \
52cdf0e10cSrcweir	$(SLO)$/osl_Thread.obj
53cdf0e10cSrcweir
54*44e8df1fSDamjan JovanovicAPP1TARGET= osl_Thread
55*44e8df1fSDamjan JovanovicAPP1STDLIBS= $(SALLIB) $(GTESTLIB) $(TESTSHL2LIB)
56*44e8df1fSDamjan JovanovicAPP1RPATH = NONE
57*44e8df1fSDamjan JovanovicAPP1TEST = enabled
58cdf0e10cSrcweir
59cdf0e10cSrcweir# END ------------------------------------------------------------------
60cdf0e10cSrcweir
61cdf0e10cSrcweir#.IF "$(GUI)" == "WNT"
62cdf0e10cSrcweir
63*44e8df1fSDamjan JovanovicAPP2OBJS=$(SLO)$/osl_process.obj
64*44e8df1fSDamjan JovanovicAPP2TARGET=osl_process
65*44e8df1fSDamjan JovanovicAPP2STDLIBS= $(SALLIB) $(GTESTLIB) $(TESTSHL2LIB)
66*44e8df1fSDamjan JovanovicAPP2RPATH = NONE
67*44e8df1fSDamjan JovanovicAPP2TEST = enabled
68cdf0e10cSrcweir
69cdf0e10cSrcweir# END ------------------------------------------------------------------
70cdf0e10cSrcweir
71cdf0e10cSrcweirOBJ3FILES=$(OBJ)$/osl_process_child.obj
72cdf0e10cSrcweirAPP3TARGET=osl_process_child
73cdf0e10cSrcweirAPP3OBJS=$(OBJ3FILES)
74cdf0e10cSrcweir
75cdf0e10cSrcweir# .IF "$(GUI)" == "UNX"
76cdf0e10cSrcweir# APP3STDLIBS=$(LB)$/libsal.so
77cdf0e10cSrcweir# .ENDIF
78cdf0e10cSrcweir# .IF "$(GUI)" == "WNT"
79cdf0e10cSrcweir# APP3STDLIBS=$(KERNEL32LIB) $(LB)$/isal.lib
80cdf0e10cSrcweir# .ENDIF
81cdf0e10cSrcweirAPP3STDLIBS=$(SALLIB)
82cdf0e10cSrcweir
83cdf0e10cSrcweir#.ENDIF # "$(GUI)" == "WNT"
84cdf0e10cSrcweir
85cdf0e10cSrcweir# --- Targets ------------------------------------------------------
86cdf0e10cSrcweir
87cdf0e10cSrcweir.INCLUDE :  target.mk
88*44e8df1fSDamjan Jovanovic
89*44e8df1fSDamjan Jovanovic.ENDIF # "$(ENABLE_UNIT_TESTS)" != "YES"
90