Update ooo320-m1
[ooovba.git] / ucb / source / ucp / odma / makefile.mk
blob30734d78e120702f44ae0fc86d7162c71b6594e3
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.8 $
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=1
33 UCP_NAME=odma
36 PRJ=..$/..$/..
37 PRJNAME=ucb
39 TARGET=ucp$(UCP_NAME)
40 TARGET2=s$(UCP_NAME)
42 ENABLE_EXCEPTIONS=TRUE
43 USE_DEFFILE=TRUE
45 TARGET2TYPE=CUI
46 LIBTARGET=NO
48 # --- Settings ---------------------------------------------------------
50 .INCLUDE: settings.mk
52 # --- General -----------------------------------------------------
54 SLO1FILES=\
55 $(SLO)$/odma_lib.obj \
56 $(SLO)$/odma_services.obj \
57 $(SLO)$/odma_provider.obj \
58 $(SLO)$/odma_content.obj \
59 $(SLO)$/odma_resultset.obj \
60 $(SLO)$/odma_datasupplier.obj \
61 $(SLO)$/odma_inputstream.obj \
62 $(SLO)$/odma_contentcaps.obj
64 LIB1TARGET=$(SLB)$/_$(TARGET).lib
65 LIB1OBJFILES=$(SLO1FILES)
67 # --- Shared-Library ---------------------------------------------------
69 SHL1TARGET=$(TARGET)$(UCP_VERSION)
70 SHL1IMPLIB=i$(TARGET)
71 SHL1VERSIONMAP=exports.map
73 SHL1STDLIBS=\
74 $(CPPUHELPERLIB) \
75 $(CPPULIB) \
76 $(SALLIB) \
77 $(SALHELPERLIB) \
78 $(UCBHELPERLIB)
80 SHL1DEF=$(MISC)$/$(SHL1TARGET).def
81 SHL1LIBS=$(LIB1TARGET)
83 # --- Def-File ---------------------------------------------------------
85 DEF1NAME=$(SHL1TARGET)
87 # --- SODMA executable -------------------------------------------------
88 OBJFILES= $(OBJ)$/odma_main.obj
90 APP2TARGET= $(TARGET2)
91 APP2OBJS= $(OBJFILES)
92 APP2STDLIBS=$(SALLIB) \
93 $(CPPULIB) \
94 $(CPPUHELPERLIB)
96 DEF2DES=UCB ODMA URL converter
98 # --- odma_lib library -----------------------------------------------
100 SLO3FILES=$(SLO)$/odma_lib.obj
102 LIB3TARGET=$(SLB)$/odma_lib.lib
103 LIB3OBJFILES=$(SLO3FILES)
105 # --- Targets ----------------------------------------------------------
107 .INCLUDE: target.mk