xref: /aoo42x/main/sal/qa/osl/process/makefile.mk (revision 7871dc3e)
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
34CFLAGS+= $(LFS_CFLAGS)
35CXXFLAGS+= $(LFS_CFLAGS)
36
37# BEGIN ----------------------------------------------------------------
38# auto generated Target:testjob by codegen.pl
39
40.IF "$(GUI)" == "WNT"
41	CFLAGS+=/Ob1
42.ENDIF
43
44SHL1OBJS=  \
45	$(SLO)$/osl_Thread.obj
46
47SHL1TARGET= osl_Thread
48SHL1STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB)
49
50SHL1IMPLIB= i$(SHL1TARGET)
51
52# SHL1DEF=    $(MISC)$/$(SHL1TARGET).def
53
54DEF1NAME    =$(SHL1TARGET)
55
56# DEF1EXPORTFILE= export.exp
57SHL1VERSIONMAP = $(PRJ)$/qa$/export.map
58
59# END ------------------------------------------------------------------
60
61#.IF "$(GUI)" == "WNT"
62
63SHL2OBJS=$(SLO)$/osl_process.obj
64SHL2TARGET=osl_process
65SHL2STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB)
66
67SHL2IMPLIB=i$(SHL2TARGET)
68SHL2DEF=$(MISC)$/$(SHL2TARGET).def
69DEF2NAME=$(SHL2TARGET)
70DEF2EXPORTFILE=export.exp
71
72# END ------------------------------------------------------------------
73
74OBJ3FILES=$(OBJ)$/osl_process_child.obj
75APP3TARGET=osl_process_child
76APP3OBJS=$(OBJ3FILES)
77
78# .IF "$(GUI)" == "UNX"
79# APP3STDLIBS=$(LB)$/libsal.so
80# .ENDIF
81# .IF "$(GUI)" == "WNT"
82# APP3STDLIBS=$(KERNEL32LIB) $(LB)$/isal.lib
83# .ENDIF
84APP3STDLIBS=$(SALLIB)
85
86#.ENDIF # "$(GUI)" == "WNT"
87
88#------------------------------- All object files -------------------------------
89# do this here, so we get right dependencies
90
91.IF "$(GUI)" == "OS2"
92
93SLOFILES=$(SHL2OBJS)
94
95.ELSE
96
97SLOFILES=$(SHL1OBJS) $(SHL2OBJS)
98
99.ENDIF
100
101# --- Targets ------------------------------------------------------
102
103.INCLUDE :  target.mk
104.INCLUDE : _cppunit.mk
105