xref: /aoo41x/main/ucb/source/ucp/ftp/makefile.mk (revision cdf0e10c)
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
28PRJ=..$/..$/..
29PRJNAME=ucb
30TARGET=ucpftp
31ENABLE_EXCEPTIONS=TRUE
32USE_DEFFILE=TRUE
33NO_BSYMBOLIC=TRUE
34
35# Version
36UCPFTP_MAJOR=1
37
38
39# --- Settings ---------------------------------------------------------
40
41.INCLUDE: settings.mk
42
43# --- General -----------------------------------------------------
44.IF "$(L10N_framework)"==""
45# first target ( shared library )
46
47SLOFILES1=\
48	$(SLO)$/ftpservices.obj  \
49	$(SLO)$/ftpcontentprovider.obj  \
50	$(SLO)$/ftpcontent.obj   \
51	$(SLO)$/ftpcontentidentifier.obj   \
52	$(SLO)$/ftpcontentcaps.obj \
53	$(SLO)$/ftpdynresultset.obj  \
54	$(SLO)$/ftpresultsetbase.obj \
55	$(SLO)$/ftpresultsetI.obj \
56	$(SLO)$/ftploaderthread.obj  \
57	$(SLO)$/ftpinpstr.obj	\
58	$(SLO)$/ftpdirp.obj     \
59	$(SLO)$/ftpcfunc.obj     \
60	$(SLO)$/ftpurl.obj     \
61	$(SLO)$/ftpintreq.obj
62
63LIB1TARGET=$(SLB)$/_$(TARGET).lib
64LIB1OBJFILES=$(SLOFILES1)
65
66# --- Shared-Library 1 ---------------------------------------------------
67
68SHL1TARGET=$(TARGET)$(UCPFTP_MAJOR)
69SHL1IMPLIB=i$(TARGET)
70
71SHL1VERSIONMAP=$(SOLARENV)/src/component.map
72
73SHL1STDLIBS=\
74	$(CPPUHELPERLIB) \
75	$(CPPULIB) \
76	$(SALLIB)  \
77	$(UCBHELPERLIB) \
78	$(CURLLIB)
79
80.IF "$(GUI)" == "OS2"
81SHL1STDLIBS+=ssl.lib crypto.lib libz.lib
82.ENDIF
83
84SHL1DEF=$(MISC)$/$(SHL1TARGET).def
85SHL1LIBS= \
86	$(LIB1TARGET)
87
88# --- Def-File ---------------------------------------------------------
89
90DEF1NAME=$(SHL1TARGET)
91
92.ENDIF # L10N_framework
93.INCLUDE: target.mk
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108ALLTAR : $(MISC)/ucpftp1.component
109
110$(MISC)/ucpftp1.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
111        ucpftp1.component
112    $(XSLTPROC) --nonet --stringparam uri \
113        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
114        $(SOLARENV)/bin/createcomponent.xslt ucpftp1.component
115