xref: /trunk/main/ucbhelper/workben/myucp/makefile.mk (revision d631dd4a)
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
61.IF "$(GUI)" != "OS2"
62LIB1TARGET=$(SLB)$/_$(TARGET).lib
63LIB1OBJFILES=$(SLOFILES)
64.ENDIF
65
66# --- Shared-Library ---------------------------------------------------
67
68.IF "$(GUI)" == "OS2"
69SHL1OBJS=$(SLOFILES)
70.ENDIF
71SHL1TARGET=$(TARGET)
72SHL1IMPLIB=i$(TARGET)
73SHL1VERSIONMAP=$(SOLARENV)/src/component.map
74
75# @@@ Add additional libs here.
76SHL1STDLIBS=\
77	$(CPPUHELPERLIB) \
78	$(CPPULIB) \
79	$(SALLIB)  \
80    $(SALHELPERLIB) \
81	$(UCBHELPERLIB)
82
83SHL1DEF=$(MISC)$/$(SHL1TARGET).def
84SHL1LIBS=$(LIB1TARGET)
85
86DEF1NAME=$(SHL1TARGET)
87
88# --- Targets ----------------------------------------------------------
89
90.INCLUDE: target.mk
91
92