xref: /aoo4110/main/fpicker/source/aqua/makefile.mk (revision b1cdbd2c)
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=..$/..
25
26PRJNAME=fpicker
27TARGET=fps_aqua.uno
28TARGETTYPE=GUI
29LIBTARGET=NO
30ENABLE_EXCEPTIONS=TRUE
31
32# --- Settings -----------------------------------------------------
33
34.INCLUDE :  settings.mk
35
36DLLPRE=
37
38# ------------------------------------------------------------------
39
40.IF "$(GUIBASE)" != "aqua"
41
42dummy:
43	@echo "Nothing to build. GUIBASE == $(GUIBASE)"
44
45.ELSE # we build for aqua
46CFLAGSCXX+=$(OBJCXXFLAGS)
47
48# --- Files --------------------------------------------------------
49
50SLOFILES =\
51        $(SLO)$/resourceprovider.obj       \
52        $(SLO)$/FPentry.obj                \
53        $(SLO)$/SalAquaPicker.obj          \
54        $(SLO)$/SalAquaFilePicker.obj      \
55        $(SLO)$/SalAquaFolderPicker.obj    \
56        $(SLO)$/CFStringUtilities.obj      \
57        $(SLO)$/FilterHelper.obj           \
58        $(SLO)$/ControlHelper.obj          \
59        $(SLO)$/NSString_OOoAdditions.obj  \
60        $(SLO)$/NSURL_OOoAdditions.obj     \
61        $(SLO)$/AquaFilePickerDelegate.obj
62
63SHL1NOCHECK=TRUE
64SHL1TARGET= $(TARGET)
65SHL1OBJS=   $(SLOFILES)
66SHL1STDLIBS=\
67    $(VCLLIB) \
68    $(TOOLSLIB) \
69    $(CPPUHELPERLIB) \
70    $(CPPULIB) \
71    $(SALLIB)
72
73SHL1VERSIONMAP=$(SOLARENV)/src/component.map
74SHL1DEF=	$(MISC)$/$(SHL1TARGET).def
75DEF1NAME=$(SHL1TARGET)
76
77.ENDIF # "$(GUIBASE)" != "aqua"
78
79# --- Targets ------------------------------------------------------
80
81.INCLUDE :  target.mk
82
83ALLTAR : $(MISC)/fps_aqua.component
84
85$(MISC)/fps_aqua.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
86        fps_aqua.component
87    $(XSLTPROC) --nonet --stringparam uri \
88        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
89        $(SOLARENV)/bin/createcomponent.xslt fps_aqua.component
90