xref: /aoo41x/main/sal/qa/osl/process/makefile.mk (revision cdf0e10c)
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.  If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#*************************************************************************
27PRJ=..$/..$/..
28
29PRJNAME=sal
30TARGET=qa_osl_process
31
32ENABLE_EXCEPTIONS=TRUE
33
34# --- Settings -----------------------------------------------------
35
36.INCLUDE :  settings.mk
37
38CFLAGS+= $(LFS_CFLAGS)
39CXXFLAGS+= $(LFS_CFLAGS)
40
41# BEGIN ----------------------------------------------------------------
42# auto generated Target:testjob by codegen.pl
43
44.IF "$(GUI)" == "WNT"
45	CFLAGS+=/Ob1
46.ENDIF
47
48SHL1OBJS=  \
49	$(SLO)$/osl_Thread.obj
50
51SHL1TARGET= osl_Thread
52SHL1STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB)
53
54SHL1IMPLIB= i$(SHL1TARGET)
55
56# SHL1DEF=    $(MISC)$/$(SHL1TARGET).def
57
58DEF1NAME    =$(SHL1TARGET)
59
60# DEF1EXPORTFILE= export.exp
61SHL1VERSIONMAP = $(PRJ)$/qa$/export.map
62
63# END ------------------------------------------------------------------
64
65#.IF "$(GUI)" == "WNT"
66
67SHL2OBJS=$(SLO)$/osl_process.obj
68SHL2TARGET=osl_process
69SHL2STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB)
70
71SHL2IMPLIB=i$(SHL2TARGET)
72SHL2DEF=$(MISC)$/$(SHL2TARGET).def
73DEF2NAME=$(SHL2TARGET)
74DEF2EXPORTFILE=export.exp
75
76# END ------------------------------------------------------------------
77
78OBJ3FILES=$(OBJ)$/osl_process_child.obj
79APP3TARGET=osl_process_child
80APP3OBJS=$(OBJ3FILES)
81
82# .IF "$(GUI)" == "UNX"
83# APP3STDLIBS=$(LB)$/libsal.so
84# .ENDIF
85# .IF "$(GUI)" == "WNT"
86# APP3STDLIBS=$(KERNEL32LIB) $(LB)$/isal.lib
87# .ENDIF
88APP3STDLIBS=$(SALLIB)
89
90#.ENDIF # "$(GUI)" == "WNT"
91
92#------------------------------- All object files -------------------------------
93# do this here, so we get right dependencies
94
95.IF "$(GUI)" == "OS2"
96
97SLOFILES=$(SHL2OBJS)
98
99.ELSE
100
101SLOFILES=$(SHL1OBJS) $(SHL2OBJS)
102
103.ENDIF
104
105# --- Targets ------------------------------------------------------
106
107.INCLUDE :  target.mk
108.INCLUDE : _cppunit.mk
109