xref: /aoo41x/main/fpicker/util/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=..
25
26PRJNAME=fpicker
27TARGET=fpicker
28TARGET1=fps
29TARGET2=fop
30USE_LDUMP2=TRUE
31
32# --- Settings -----------------------------------------------------
33
34.INCLUDE :  settings.mk
35
36# --- fps dynlib ----------------------------------------------
37
38COMMON_LIBS=$(CPPULIB)\
39			$(CPPUHELPERLIB)\
40			$(COMPHELPERLIB)\
41			$(SALLIB)\
42			$(VCLLIB)\
43			$(TOOLSLIB)
44
45.IF "$(GUI)"=="WNT"
46
47SHL1TARGET=$(TARGET1)
48SHL1STDLIBS=		$(COMMON_LIBS) \
49			$(UWINAPILIB) \
50			$(ADVAPI32LIB) \
51			$(SHELL32LIB)\
52			$(OLE32LIB)\
53			$(GDI32LIB)\
54			$(OLEAUT32LIB)\
55			$(COMDLG32LIB)\
56			$(KERNEL32LIB)\
57			$(UUIDLIB)
58
59SHL1DEPN=
60SHL1IMPLIB=i$(SHL1TARGET)
61SHL1LIBS=$(SLB)$/fps.lib\
62		 $(SLB)$/utils.lib
63SHL1RES=$(RES)$/$(TARGET1).res
64SHL1DEF=$(MISC)$/$(SHL1TARGET).def
65
66DEF1NAME=$(SHL1TARGET)
67DEF1EXPORTFILE=	exports.dxp
68
69.ENDIF # "$(GUI)"=="WNT"
70
71# --- fop dynlib --------------------------------------------------
72
73.IF "$(GUI)"=="WNT"
74SHL2NOCHECK=TRUE
75SHL2TARGET=$(TARGET2)
76
77SHL2STDLIBS=		$(COMMON_LIBS) \
78			$(UWINAPILIB) \
79			$(ADVAPI32LIB) \
80			$(OLE32LIB)\
81			$(GDI32LIB)\
82			$(SHELL32LIB)\
83			$(OLEAUT32LIB)
84
85SHL2DEPN=
86SHL2IMPLIB=i$(SHL2TARGET)
87SHL2LIBS=$(SLB)$/fop.lib\
88		 $(SLB)$/utils.lib
89SHL2DEF=$(MISC)$/$(SHL2TARGET).def
90
91DEF2NAME=$(SHL2TARGET)
92DEF2EXPORTFILE=	exports.dxp
93
94.ENDIF          # "$(GUI)"=="WNT"
95
96
97.INCLUDE :  target.mk
98
99ALLTAR : $(MISC)/fop.component $(MISC)/fps.component
100
101$(MISC)/fop.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
102        fop.component
103    $(XSLTPROC) --nonet --stringparam uri \
104        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL2TARGETN:f)' -o $@ \
105        $(SOLARENV)/bin/createcomponent.xslt fop.component
106
107$(MISC)/fps.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
108        fps.component
109    $(XSLTPROC) --nonet --stringparam uri \
110        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
111        $(SOLARENV)/bin/createcomponent.xslt fps.component
112