update dev300-m58
[ooovba.git] / ucbhelper / workben / myucp / makefile.mk
blobb85f746f695a5a3581f84174d93678ba75c9e1e2
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.5 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 # @@@ UCP Version - Increase, if your UCP libraray becomes incompatible.
33 UCP_VERSION=1
35 # @@@ Name for your UCP. Will become part of the library name (See below).
36 UCP_NAME=myucp
38 # @@@ Relative path to project root.
39 PRJ=..$/..
41 # @@@ Name of the project your UCP code recides it.
42 PRJNAME=ucbhelper
44 TARGET=ucp$(UCP_NAME)$(UCP_VERSION).uno
46 ENABLE_EXCEPTIONS=TRUE
47 USE_DEFFILE=TRUE
48 NO_BSYMBOLIC=TRUE
50 # --- Settings ---------------------------------------------------------
52 .INCLUDE: settings.mk
54 # --- General -----------------------------------------------------
56 # no "lib" prefix
57 DLLPRE =
59 # @@@ Adjust template file names. Add own files here.
60 SLOFILES=\
61 $(SLO)$/myucp_services.obj \
62 $(SLO)$/myucp_provider.obj \
63 $(SLO)$/myucp_content.obj \
64 $(SLO)$/myucp_contentcaps.obj \
65 $(SLO)$/myucp_resultset.obj \
66 $(SLO)$/myucp_datasupplier.obj
68 LIB1TARGET=$(SLB)$/_$(TARGET).lib
69 LIB1OBJFILES=$(SLOFILES)
71 # --- Shared-Library ---------------------------------------------------
73 SHL1TARGET=$(TARGET)
74 SHL1IMPLIB=i$(TARGET)
75 SHL1VERSIONMAP=exports.map
77 # @@@ Add additional libs here.
78 SHL1STDLIBS=\
79 $(CPPUHELPERLIB) \
80 $(CPPULIB) \
81 $(SALLIB) \
82 $(SALHELPERLIB) \
83 -lucbhelper4$(COMNAME)
85 SHL1DEF=$(MISC)$/$(SHL1TARGET).def
86 SHL1LIBS=$(LIB1TARGET)
88 DEF1NAME=$(SHL1TARGET)
90 # --- Targets ----------------------------------------------------------
92 .INCLUDE: target.mk