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