xref: /AOO41X/main/ucb/source/ucp/odma/makefile.mk (revision 7871dc3ea494bf86c742e1f4dfc9c6e20f5bcb2a)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24UCP_VERSION=1
25UCP_NAME=odma
26
27
28PRJ=..$/..$/..
29PRJNAME=ucb
30
31TARGET=ucp$(UCP_NAME)
32TARGET2=s$(UCP_NAME)
33
34ENABLE_EXCEPTIONS=TRUE
35USE_DEFFILE=TRUE
36
37TARGET2TYPE=CUI
38LIBTARGET=NO
39
40# --- Settings ---------------------------------------------------------
41
42.INCLUDE: settings.mk
43
44# --- General -----------------------------------------------------
45
46SLOFILES=\
47    $(SLO)$/odma_lib.obj            \
48    $(SLO)$/odma_services.obj       \
49    $(SLO)$/odma_provider.obj       \
50    $(SLO)$/odma_content.obj        \
51    $(SLO)$/odma_resultset.obj      \
52    $(SLO)$/odma_datasupplier.obj   \
53    $(SLO)$/odma_inputstream.obj    \
54    $(SLO)$/odma_contentcaps.obj
55
56LIB1TARGET=$(SLB)$/_$(TARGET).lib
57LIB1OBJFILES=$(SLOFILES)
58
59# --- Shared-Library ---------------------------------------------------
60
61SHL1TARGET=$(TARGET)$(UCP_VERSION)
62SHL1IMPLIB=i$(TARGET)
63SHL1VERSIONMAP=$(SOLARENV)/src/component.map
64
65SHL1STDLIBS=\
66    $(CPPUHELPERLIB) \
67    $(CPPULIB) \
68    $(SALLIB)  \
69    $(SALHELPERLIB) \
70    $(UCBHELPERLIB)
71
72SHL1DEF=$(MISC)$/$(SHL1TARGET).def
73SHL1LIBS=$(LIB1TARGET)
74
75# --- Def-File ---------------------------------------------------------
76
77DEF1NAME=$(SHL1TARGET)
78
79# --- SODMA executable -------------------------------------------------
80OBJFILES= $(OBJ)$/odma_main.obj
81
82APP2TARGET= $(TARGET2)
83APP2OBJS=   $(OBJFILES)
84APP2STDLIBS=$(SALLIB)           \
85            $(CPPULIB)          \
86            $(CPPUHELPERLIB)
87
88DEF2DES=UCB ODMA URL converter
89
90# --- Targets ----------------------------------------------------------
91
92.INCLUDE: target.mk
93
94