merge the formfield patch from ooo-build
[ooovba.git] / desktop / source / deployment / misc / makefile.mk
blobb06788de8d8bcea226b9d541cfd0a9cfaf2e6c9e
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.17 $
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 PRJ = ..$/..$/..
34 PRJNAME = desktop
35 TARGET = deployment_misc
36 USE_DEFFILE = TRUE
37 ENABLE_EXCEPTIONS = TRUE
38 VISIBILITY_HIDDEN=TRUE
40 .IF "$(GUI)"=="OS2"
41 TARGET = deplmisc
42 .ENDIF
44 .INCLUDE : settings.mk
46 # Reduction of exported symbols:
47 CDEFS += -DDESKTOP_DEPLOYMENTMISC_DLLIMPLEMENTATION
49 .IF "$(SYSTEM_DB)" == "YES"
50 CFLAGS+=-DSYSTEM_DB -I$(DB_INCLUDES)
51 .ENDIF
53 SRS1NAME = $(TARGET)
54 SRC1FILES = \
55 dp_misc.src
57 .IF "$(GUI)"=="OS2"
58 SHL1TARGET = $(TARGET)
59 .ELSE
60 SHL1TARGET = deploymentmisc$(DLLPOSTFIX)
61 .ENDIF
62 SHL1OBJS = \
63 $(SLO)$/dp_misc.obj \
64 $(SLO)$/dp_resource.obj \
65 $(SLO)$/dp_identifier.obj \
66 $(SLO)$/dp_interact.obj \
67 $(SLO)$/dp_ucb.obj \
68 $(SLO)$/db.obj \
69 $(SLO)$/dp_version.obj \
70 $(SLO)$/dp_descriptioninfoset.obj \
71 $(SLO)$/dp_dependencies.obj \
72 $(SLO)$/dp_platform.obj
74 SHL1STDLIBS = \
75 $(BERKELEYLIB) \
76 $(CPPUHELPERLIB) \
77 $(CPPULIB) \
78 $(SALLIB) \
79 $(TOOLSLIB) \
80 $(UCBHELPERLIB) \
81 $(UNOTOOLSLIB) \
82 $(XMLSCRIPTLIB)
83 .IF "$(GUI)"=="OS2"
84 SHL1IMPLIB = ideploymentmisc$(DLLPOSTFIX)
85 LIB1TARGET = $(SLB)$/_deplmisc.lib
86 LIB1OBJFILES = $(SHL1OBJS)
87 DEFLIB1NAME = _deplmisc
88 .ELSE
89 SHL1IMPLIB = i$(SHL1TARGET)
90 .ENDIF
91 DEF1NAME = $(SHL1TARGET)
93 SLOFILES = $(SHL1OBJS)
95 .INCLUDE : ..$/target.pmk
96 .INCLUDE : target.mk