merged tag ooo/DEV300_m102
[LibreOffice.git] / sal / qa / osl / process / makefile.mk
blobe113ac86edeecbf2b8f43013a80d4366a6139297
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
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.
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).
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.
26 #*************************************************************************
27 PRJ=..$/..$/..
29 PRJNAME=sal
30 TARGET=qa_osl_process
32 ENABLE_EXCEPTIONS=TRUE
34 # --- Settings -----------------------------------------------------
36 .INCLUDE : settings.mk
38 CFLAGS+= $(LFS_CFLAGS)
39 CXXFLAGS+= $(LFS_CFLAGS)
41 # BEGIN ----------------------------------------------------------------
42 # auto generated Target:testjob by codegen.pl
44 .IF "$(GUI)" == "WNT"
45 CFLAGS+=/Ob1
46 .ENDIF
48 SHL1OBJS= \
49 $(SLO)$/osl_Thread.obj
51 SHL1TARGET= osl_Thread
52 SHL1STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB)
54 SHL1IMPLIB= i$(SHL1TARGET)
56 # SHL1DEF= $(MISC)$/$(SHL1TARGET).def
58 DEF1NAME =$(SHL1TARGET)
60 # DEF1EXPORTFILE= export.exp
61 SHL1VERSIONMAP = $(PRJ)$/qa$/export.map
63 # END ------------------------------------------------------------------
65 #.IF "$(GUI)" == "WNT"
67 SHL2OBJS=$(SLO)$/osl_process.obj
68 SHL2TARGET=osl_process
69 SHL2STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB)
71 SHL2IMPLIB=i$(SHL2TARGET)
72 SHL2DEF=$(MISC)$/$(SHL2TARGET).def
73 DEF2NAME=$(SHL2TARGET)
74 DEF2EXPORTFILE=export.exp
76 # END ------------------------------------------------------------------
78 OBJ3FILES=$(OBJ)$/osl_process_child.obj
79 APP3TARGET=osl_process_child
80 APP3OBJS=$(OBJ3FILES)
82 # .IF "$(GUI)" == "UNX"
83 # APP3STDLIBS=$(LB)$/libsal.so
84 # .ENDIF
85 # .IF "$(GUI)" == "WNT"
86 # APP3STDLIBS=$(KERNEL32LIB) $(LB)$/isal.lib
87 # .ENDIF
88 APP3STDLIBS=$(SALLIB)
90 #.ENDIF # "$(GUI)" == "WNT"
92 #------------------------------- All object files -------------------------------
93 # do this here, so we get right dependencies
95 .IF "$(GUI)" == "OS2"
97 SLOFILES=$(SHL2OBJS)
99 .ELSE
101 SLOFILES=$(SHL1OBJS) $(SHL2OBJS)
103 .ENDIF
105 # --- Targets ------------------------------------------------------
107 .INCLUDE : target.mk
108 .INCLUDE : _cppunit.mk