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