xref: /AOO42X/main/ucb/source/ucp/odma/makefile.mk (revision b5ffe9b538c2ae169395e094ada5be59c5565375)
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
28UCP_VERSION=1
29UCP_NAME=odma
30
31
32PRJ=..$/..$/..
33PRJNAME=ucb
34
35TARGET=ucp$(UCP_NAME)
36TARGET2=s$(UCP_NAME)
37
38ENABLE_EXCEPTIONS=TRUE
39USE_DEFFILE=TRUE
40
41TARGET2TYPE=CUI
42LIBTARGET=NO
43
44# --- Settings ---------------------------------------------------------
45
46.INCLUDE: settings.mk
47
48# --- General -----------------------------------------------------
49
50SLOFILES=\
51    $(SLO)$/odma_lib.obj            \
52    $(SLO)$/odma_services.obj       \
53    $(SLO)$/odma_provider.obj       \
54    $(SLO)$/odma_content.obj        \
55    $(SLO)$/odma_resultset.obj      \
56    $(SLO)$/odma_datasupplier.obj   \
57    $(SLO)$/odma_inputstream.obj    \
58    $(SLO)$/odma_contentcaps.obj
59
60LIB1TARGET=$(SLB)$/_$(TARGET).lib
61LIB1OBJFILES=$(SLOFILES)
62
63# --- Shared-Library ---------------------------------------------------
64
65SHL1TARGET=$(TARGET)$(UCP_VERSION)
66SHL1IMPLIB=i$(TARGET)
67SHL1VERSIONMAP=$(SOLARENV)/src/component.map
68
69SHL1STDLIBS=\
70    $(CPPUHELPERLIB) \
71    $(CPPULIB) \
72    $(SALLIB)  \
73    $(SALHELPERLIB) \
74    $(UCBHELPERLIB)
75
76SHL1DEF=$(MISC)$/$(SHL1TARGET).def
77SHL1LIBS=$(LIB1TARGET)
78
79# --- Def-File ---------------------------------------------------------
80
81DEF1NAME=$(SHL1TARGET)
82
83# --- SODMA executable -------------------------------------------------
84OBJFILES= $(OBJ)$/odma_main.obj
85
86APP2TARGET= $(TARGET2)
87APP2OBJS=   $(OBJFILES)
88APP2STDLIBS=$(SALLIB)           \
89            $(CPPULIB)          \
90            $(CPPUHELPERLIB)
91
92DEF2DES=UCB ODMA URL converter
93
94# --- Targets ----------------------------------------------------------
95
96.INCLUDE: target.mk
97
98