update dev300-m58
[ooovba.git] / sal / qa / osl / process / makefile.mk
blob17f6ab46bd5ad113fcaee9cb83f0b050e83eceff
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.15 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
31 PRJ=..$/..$/..
33 PRJNAME=sal
34 TARGET=qa_osl_process
35 # this is removed at the moment because we need some enhancements
36 # TESTDIR=TRUE
38 ENABLE_EXCEPTIONS=TRUE
40 # --- Settings -----------------------------------------------------
42 .INCLUDE : settings.mk
44 CFLAGS+= $(LFS_CFLAGS)
45 CXXFLAGS+= $(LFS_CFLAGS)
47 # BEGIN ----------------------------------------------------------------
48 # auto generated Target:testjob by codegen.pl
50 .IF "$(GUI)" == "WNT"
51 CFLAGS+=/Ob1
52 .ENDIF
54 SHL1OBJS= \
55 $(SLO)$/osl_Thread.obj
57 SHL1TARGET= osl_Thread
58 SHL1STDLIBS=\
59 $(SALLIB)
60 .IF "$(GUI)" == "WNT" || "$(GUI)" == "OS2"
61 SHL1STDLIBS+= $(SOLARLIBDIR)$/cppunit.lib
62 .ENDIF
63 .IF "$(GUI)" == "UNX"
64 SHL1STDLIBS+=$(SOLARLIBDIR)$/libcppunit$(DLLPOSTFIX).a
65 # .IF "$(OS)" == "SOLARIS"
66 # SHL1STDLIBS += -lrt -laio
67 # .ENDIF
68 .ENDIF
70 SHL1IMPLIB= i$(SHL1TARGET)
72 # SHL1DEF= $(MISC)$/$(SHL1TARGET).def
74 DEF1NAME =$(SHL1TARGET)
76 # DEF1EXPORTFILE= export.exp
77 SHL1VERSIONMAP = $(PRJ)$/qa$/export.map
79 # END ------------------------------------------------------------------
81 #.IF "$(GUI)" == "WNT"
83 SHL2OBJS=$(SLO)$/osl_process.obj
84 SHL2TARGET=osl_process
85 SHL2STDLIBS=$(SALLIB)
87 .IF "$(GUI)" == "WNT" || "$(GUI)" == "OS2"
88 SHL2STDLIBS+=$(SOLARLIBDIR)$/cppunit.lib
89 .ENDIF
90 .IF "$(GUI)" == "UNX"
91 SHL2STDLIBS+=$(SOLARLIBDIR)$/libcppunit$(DLLPOSTFIX).a
92 .ENDIF
94 SHL2IMPLIB=i$(SHL2TARGET)
95 SHL2DEF=$(MISC)$/$(SHL2TARGET).def
96 DEF2NAME=$(SHL2TARGET)
97 DEF2EXPORTFILE=export.exp
99 # END ------------------------------------------------------------------
101 OBJ3FILES=$(OBJ)$/osl_process_child.obj
102 APP3TARGET=osl_process_child
103 APP3OBJS=$(OBJ3FILES)
105 # .IF "$(GUI)" == "UNX"
106 # APP3STDLIBS=$(LB)$/libsal.so
107 # .ENDIF
108 # .IF "$(GUI)" == "WNT"
109 # APP3STDLIBS=$(KERNEL32LIB) $(LB)$/isal.lib
110 # .ENDIF
111 APP3STDLIBS=$(SALLIB)
113 #.ENDIF # "$(GUI)" == "WNT"
115 #------------------------------- All object files -------------------------------
116 # do this here, so we get right dependencies
118 .IF "$(GUI)" == "OS2"
120 SLOFILES=$(SHL2OBJS)
122 .ELSE
124 SLOFILES=$(SHL1OBJS) $(SHL2OBJS)
126 .ENDIF
128 # --- Targets ------------------------------------------------------
130 .INCLUDE : target.mk
131 .INCLUDE : _cppunit.mk