merge the formfield patch from ooo-build
[ooovba.git] / binfilter / legacysmgr / source / legacy / makefile.mk
blob7eccb8b3759e1d42e7af4866686bfa82506a4fe5
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.10 $
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 #*************************************************************************
32 EXTERNAL_WARNINGS_NOT_ERRORS := TRUE
34 PRJ = ..$/..$/..
35 BFPRJ = ..$/..
36 PRJNAME = binfilter
37 TARGET = legacy_binfilters
38 USE_DEFFILE = TRUE
39 NO_BSYMBOLIC = TRUE
40 ENABLE_EXCEPTIONS = TRUE
41 # COMP1TYPELIST = $(TARGET)
43 # --- Settings -----------------------------------------------------
45 .INCLUDE : settings.mk
46 INC+= -I$(PRJ)$/inc$/legacysmgr
47 # ------------------------------------------------------------------
49 SLOFILES = \
50 $(SLO)$/legacy_binfilters_smgr.obj
52 SHL1TARGET = $(TARGET)$(DLLPOSTFIX)
54 SHL1STDLIBS = \
55 $(CPPUHELPERLIB) \
56 $(CPPULIB) \
57 $(SALLIB)
59 .IF "$(COMNAME)"=="msci"
60 SHL1VERSIONMAP=msci.map
61 .ELIF "$(COMNAME)"=="sunpro5"
62 SHL1VERSIONMAP=sols.map
63 .ELIF "$(GUI)$(COM)"=="WNTGCC"
64 SHL1VERSIONMAP=mingw_intel.map
65 .ELIF "$(COMNAME)"=="gcc3"
66 SHL1VERSIONMAP=gcc3.map
67 .ENDIF
69 SHL1DEPN =
70 SHL1IMPLIB = i$(TARGET)
71 SHL1LIBS = $(SLB)$/$(TARGET).lib
72 SHL1DEF = $(MISC)$/$(SHL1TARGET).def
73 DEF1NAME = $(SHL1TARGET)
75 .IF "$(debug)" != ""
77 # msvc++: no inlining for debugging
78 .IF "$(COM)" == "MSC"
79 CFLAGS += -Ob0
80 .ENDIF
82 .ENDIF
84 # --- Targets ------------------------------------------------------
86 .INCLUDE : target.mk