1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
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 #*************************************************************************
35 # this is removed at the moment because we need some enhancements
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
55 $(SLO
)$/osl_Thread.obj
57 SHL1TARGET
= osl_Thread
60 .IF
"$(GUI)" == "WNT" ||
"$(GUI)" == "OS2"
61 SHL1STDLIBS
+= $(SOLARLIBDIR
)$/cppunit.lib
64 SHL1STDLIBS
+=$(SOLARLIBDIR
)$/libcppunit
$(DLLPOSTFIX
).a
65 # .IF "$(OS)" == "SOLARIS"
66 # SHL1STDLIBS += -lrt -laio
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
87 .IF
"$(GUI)" == "WNT" ||
"$(GUI)" == "OS2"
88 SHL2STDLIBS
+=$(SOLARLIBDIR
)$/cppunit.lib
91 SHL2STDLIBS
+=$(SOLARLIBDIR
)$/libcppunit
$(DLLPOSTFIX
).a
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
108 # .IF "$(GUI)" == "WNT"
109 # APP3STDLIBS=$(KERNEL32LIB) $(LB)$/isal.lib
111 APP3STDLIBS
=$(SALLIB
)
113 #.ENDIF # "$(GUI)" == "WNT"
115 #------------------------------- All object files -------------------------------
116 # do this here, so we get right dependencies
118 .IF
"$(GUI)" == "OS2"
124 SLOFILES
=$(SHL1OBJS
) $(SHL2OBJS
)
128 # --- Targets ------------------------------------------------------
131 .INCLUDE
: _cppunit.mk