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 = desktop
31TARGET = deployment_misc
32USE_DEFFILE = TRUE
33ENABLE_EXCEPTIONS = TRUE
34VISIBILITY_HIDDEN=TRUE
35
36.IF "$(GUI)"=="OS2"
37TARGET = deplmisc
38.ENDIF
39
40.INCLUDE : settings.mk
41
42# Reduction of exported symbols:
43CDEFS += -DDESKTOP_DEPLOYMENTMISC_DLLIMPLEMENTATION
44
45.IF "$(SYSTEM_DB)" == "YES"
46CFLAGS+=-DSYSTEM_DB -I$(DB_INCLUDES)
47.ENDIF
48
49SRS1NAME = $(TARGET)
50SRC1FILES = \
51	dp_misc.src
52
53.IF "$(GUI)"=="OS2"
54SHL1TARGET = $(TARGET)
55.ELSE
56SHL1TARGET = deploymentmisc$(DLLPOSTFIX)
57.ENDIF
58SHL1OBJS = \
59        $(SLO)$/dp_misc.obj \
60        $(SLO)$/dp_resource.obj \
61        $(SLO)$/dp_identifier.obj \
62        $(SLO)$/dp_interact.obj \
63        $(SLO)$/dp_ucb.obj \
64        $(SLO)$/dp_version.obj \
65        $(SLO)$/dp_descriptioninfoset.obj \
66        $(SLO)$/dp_dependencies.obj \
67        $(SLO)$/dp_platform.obj \
68        $(SLO)$/dp_update.obj
69
70SHL1STDLIBS = \
71    $(CPPUHELPERLIB) \
72    $(CPPULIB) \
73    $(SALLIB) \
74    $(TOOLSLIB) \
75    $(UCBHELPERLIB) \
76    $(UNOTOOLSLIB) \
77    $(XMLSCRIPTLIB) \
78    $(COMPHELPERLIB)
79.IF "$(GUI)"=="OS2"
80SHL1IMPLIB = ideploymentmisc$(DLLPOSTFIX)
81LIB1TARGET = $(SLB)$/_deplmisc.lib
82LIB1OBJFILES = $(SHL1OBJS)
83DEFLIB1NAME = _deplmisc
84.ELSE
85SHL1IMPLIB = i$(SHL1TARGET)
86.ENDIF
87DEF1NAME = $(SHL1TARGET)
88
89SLOFILES = $(SHL1OBJS)
90
91.INCLUDE : ..$/target.pmk
92.INCLUDE : target.mk
93
94