xref: /aoo41x/main/ucb/source/ucp/ftp/makefile.mk (revision 7871dc3e)
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
76.IF "$(GUI)" == "OS2"
77SHL1STDLIBS+=ssl.lib crypto.lib libz.lib
78.ENDIF
79
80SHL1DEF=$(MISC)$/$(SHL1TARGET).def
81SHL1LIBS= \
82	$(LIB1TARGET)
83
84# --- Def-File ---------------------------------------------------------
85
86DEF1NAME=$(SHL1TARGET)
87
88.ENDIF # L10N_framework
89.INCLUDE: target.mk
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104ALLTAR : $(MISC)/ucpftp1.component
105
106$(MISC)/ucpftp1.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
107        ucpftp1.component
108    $(XSLTPROC) --nonet --stringparam uri \
109        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
110        $(SOLARENV)/bin/createcomponent.xslt ucpftp1.component
111