xref: /aoo41x/main/cui/util/makefile.mk (revision b2b569f2)
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=cui
27TARGET=cui
28GEN_HID=TRUE
29GEN_HID_OTHER=TRUE
30
31# --- Settings -----------------------------------------------------
32
33.INCLUDE :  settings.mk
34
35.IF "$(OS)"=="IRIX"
36LINKFLAGS+=-Wl,-LD_LAYOUT:lgot_buffer=30
37.ENDIF
38
39SHL1TARGET= cui$(DLLPOSTFIX)
40SHL1VERSIONMAP= cui.map
41SHL1IMPLIB=icui
42SHL1DEPN=
43SHL1DEF=        $(MISC)$/$(SHL1TARGET).def
44DEF1NAME=       $(SHL1TARGET)
45
46SHL1LIBS=	\
47			$(SLB)$/options.lib  \
48			$(SLB)$/customize.lib  \
49			$(SLB)$/dialogs.lib  \
50			$(SLB)$/tabpages.lib \
51			$(SLB)$/factory.lib \
52			$(SLB)$/services.lib
53
54
55SHL1STDLIBS= \
56            $(SAXLIB) \
57            $(SOTLIB) \
58            $(EDITENGLIB) \
59            $(SVXCORELIB) \
60            $(SVXLIB) \
61            $(AVMEDIALIB) \
62            $(SFX2LIB) \
63            $(BASEGFXLIB) \
64            $(BASICLIB) \
65            $(LNGLIB) \
66            $(SVTOOLLIB) \
67            $(TKLIB) \
68            $(VCLLIB) \
69            $(SVLLIB) \
70            $(UNOTOOLSLIB) \
71            $(TOOLSLIB) \
72            $(I18NISOLANGLIB) \
73            $(COMPHELPERLIB) \
74            $(UCBHELPERLIB) \
75            $(CPPUHELPERLIB)        \
76            $(CPPULIB) \
77            $(VOSLIB) \
78            $(SALLIB) \
79            $(JVMFWKLIB) \
80            $(ICUUCLIB)
81
82.IF "$(GUI)"=="WNT"
83SHL1STDLIBS+= \
84             $(SHLWAPILIB) \
85             $(ADVAPI32LIB)
86.ENDIF # WNT
87
88# ------------------------------------------------------------------------------
89
90# Resource files
91SRSFILELIST=\
92        $(SRS)$/options.srs \
93        $(SRS)$/dialogs.srs \
94        $(SRS)$/tabpages.srs \
95        $(SRS)$/customize.srs \
96
97
98RESLIB1NAME=cui
99RESLIB1IMAGES=$(SOLARSRC)/$(RSCDEFIMG)/svx/res
100RESLIB1SRSFILES= $(SRSFILELIST)
101
102# --- Targets -------------------------------------------------------
103
104ALLTAR : $(MISC)/cui.component
105
106$(MISC)/cui.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
107        cui.component
108    $(XSLTPROC) --nonet --stringparam uri \
109        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
110        $(SOLARENV)/bin/createcomponent.xslt cui.component
111
112.INCLUDE :  target.mk
113
114