xref: /aoo41x/main/sal/qa/osl/module/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#*************************************************************************
27
28PRJ=..$/..$/..
29
30PRJNAME=sal
31TARGET=qa_module
32
33ENABLE_EXCEPTIONS=TRUE
34
35# --- Settings -----------------------------------------------------
36
37.INCLUDE :  settings.mk
38
39CFLAGS+= $(LFS_CFLAGS)
40CXXFLAGS+= $(LFS_CFLAGS)
41
42# BEGIN ----------------------------------------------------------------
43
44# --- test dll ------------------------------------------------------
45SHL1TARGET     = Module_DLL
46SHL1OBJS       = $(SLO)$/osl_Module_DLL.obj
47SHL1STDLIBS    = $(SALLIB)
48SHL1IMPLIB     = i$(SHL1TARGET)
49SHL1DEF        = $(MISC)$/$(SHL1TARGET).def
50DEF1NAME       = $(SHL1TARGET)
51SHL1VERSIONMAP = export_dll.map
52
53
54# --- main l ------------------------------------------------------
55SHL2OBJS=  $(SLO)$/osl_Module.obj
56
57SHL2TARGET= osl_Module
58SHL2STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB)
59
60.IF "$(GUI)" == "WNT"
61SHL2STDLIBS+=i$(SHL2TARGET).lib
62.ENDIF
63.IF "$(GUI)" == "UNX"
64APP3STDLIBS+=-l$(SHL2TARGET)
65.ENDIF
66
67SHL2DEPN= $(SHL1OBJS)
68SHL2IMPLIB= i$(SHL2TARGET)
69SHL2DEF=    $(MISC)$/$(SHL2TARGET).def
70
71DEF2NAME    =$(SHL2TARGET)
72SHL2VERSIONMAP= $(PRJ)$/qa$/export.map
73# END ------------------------------------------------------------------
74
75# --- Targets ------------------------------------------------------
76
77.INCLUDE :  target.mk
78.INCLUDE : _cppunit.mk
79
80