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
24# @@@ UCP Version - Increase, if your UCP libraray becomes incompatible.
25UCP_VERSION=1
26
27# @@@ Name for your UCP. Will become part of the library name (See below).
28UCP_NAME=myucp
29
30# @@@ Relative path to project root.
31PRJ=..$/..
32
33# @@@ Name of the project your UCP code recides it.
34PRJNAME=ucbhelper
35
36TARGET=ucp$(UCP_NAME)$(UCP_VERSION).uno
37
38ENABLE_EXCEPTIONS=TRUE
39USE_DEFFILE=TRUE
40NO_BSYMBOLIC=TRUE
41
42# --- Settings ---------------------------------------------------------
43
44.INCLUDE: settings.mk
45.INCLUDE :	../../version.mk
46
47# --- General -----------------------------------------------------
48
49# no "lib" prefix
50DLLPRE =
51
52# @@@ Adjust template file names. Add own files here.
53SLOFILES=\
54	$(SLO)$/myucp_services.obj    	\
55	$(SLO)$/myucp_provider.obj    	\
56	$(SLO)$/myucp_content.obj     	\
57	$(SLO)$/myucp_contentcaps.obj   \
58	$(SLO)$/myucp_resultset.obj    	\
59	$(SLO)$/myucp_datasupplier.obj
60
61LIB1TARGET=$(SLB)$/_$(TARGET).lib
62LIB1OBJFILES=$(SLOFILES)
63
64# --- Shared-Library ---------------------------------------------------
65
66SHL1TARGET=$(TARGET)
67SHL1IMPLIB=i$(TARGET)
68SHL1VERSIONMAP=$(SOLARENV)/src/component.map
69
70# @@@ Add additional libs here.
71SHL1STDLIBS=\
72	$(CPPUHELPERLIB) \
73	$(CPPULIB) \
74	$(SALLIB)  \
75    $(SALHELPERLIB) \
76	$(UCBHELPERLIB)
77
78SHL1DEF=$(MISC)$/$(SHL1TARGET).def
79SHL1LIBS=$(LIB1TARGET)
80
81DEF1NAME=$(SHL1TARGET)
82
83# --- Targets ----------------------------------------------------------
84
85.INCLUDE: target.mk
86
87