xref: /aoo41x/main/cui/util/makefile.mk (revision b2b569f2)
17871dc3eSAndrew Rist#**************************************************************
27871dc3eSAndrew Rist#
37871dc3eSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
47871dc3eSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
57871dc3eSAndrew Rist#  distributed with this work for additional information
67871dc3eSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
77871dc3eSAndrew Rist#  to you under the Apache License, Version 2.0 (the
87871dc3eSAndrew Rist#  "License"); you may not use this file except in compliance
97871dc3eSAndrew Rist#  with the License.  You may obtain a copy of the License at
107871dc3eSAndrew Rist#
117871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
127871dc3eSAndrew Rist#
137871dc3eSAndrew Rist#  Unless required by applicable law or agreed to in writing,
147871dc3eSAndrew Rist#  software distributed under the License is distributed on an
157871dc3eSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
167871dc3eSAndrew Rist#  KIND, either express or implied.  See the License for the
177871dc3eSAndrew Rist#  specific language governing permissions and limitations
187871dc3eSAndrew Rist#  under the License.
197871dc3eSAndrew Rist#
207871dc3eSAndrew Rist#**************************************************************
217871dc3eSAndrew Rist
227871dc3eSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweirPRJ=..
25cdf0e10cSrcweir
26cdf0e10cSrcweirPRJNAME=cui
27cdf0e10cSrcweirTARGET=cui
28cdf0e10cSrcweirGEN_HID=TRUE
29cdf0e10cSrcweirGEN_HID_OTHER=TRUE
30cdf0e10cSrcweir
31cdf0e10cSrcweir# --- Settings -----------------------------------------------------
32cdf0e10cSrcweir
33cdf0e10cSrcweir.INCLUDE :  settings.mk
34cdf0e10cSrcweir
35cdf0e10cSrcweir.IF "$(OS)"=="IRIX"
36cdf0e10cSrcweirLINKFLAGS+=-Wl,-LD_LAYOUT:lgot_buffer=30
37cdf0e10cSrcweir.ENDIF
38cdf0e10cSrcweir
39cdf0e10cSrcweirSHL1TARGET= cui$(DLLPOSTFIX)
40cdf0e10cSrcweirSHL1VERSIONMAP= cui.map
41cdf0e10cSrcweirSHL1IMPLIB=icui
42cdf0e10cSrcweirSHL1DEPN=
43cdf0e10cSrcweirSHL1DEF=        $(MISC)$/$(SHL1TARGET).def
44cdf0e10cSrcweirDEF1NAME=       $(SHL1TARGET)
45cdf0e10cSrcweir
46cdf0e10cSrcweirSHL1LIBS=	\
47cdf0e10cSrcweir			$(SLB)$/options.lib  \
48cdf0e10cSrcweir			$(SLB)$/customize.lib  \
49cdf0e10cSrcweir			$(SLB)$/dialogs.lib  \
50cdf0e10cSrcweir			$(SLB)$/tabpages.lib \
51*b2b569f2SArmin Le Grand			$(SLB)$/factory.lib \
52*b2b569f2SArmin Le Grand			$(SLB)$/services.lib
53cdf0e10cSrcweir
54cdf0e10cSrcweir
55cdf0e10cSrcweirSHL1STDLIBS= \
56*b2b569f2SArmin Le Grand            $(SAXLIB) \
57*b2b569f2SArmin Le Grand            $(SOTLIB) \
58cdf0e10cSrcweir            $(EDITENGLIB) \
59cdf0e10cSrcweir            $(SVXCORELIB) \
60cdf0e10cSrcweir            $(SVXLIB) \
61cdf0e10cSrcweir            $(AVMEDIALIB) \
62cdf0e10cSrcweir            $(SFX2LIB) \
63cdf0e10cSrcweir            $(BASEGFXLIB) \
64cdf0e10cSrcweir            $(BASICLIB) \
65cdf0e10cSrcweir            $(LNGLIB) \
66cdf0e10cSrcweir            $(SVTOOLLIB) \
67cdf0e10cSrcweir            $(TKLIB) \
68cdf0e10cSrcweir            $(VCLLIB) \
69cdf0e10cSrcweir            $(SVLLIB) \
70cdf0e10cSrcweir            $(UNOTOOLSLIB) \
71cdf0e10cSrcweir            $(TOOLSLIB) \
72cdf0e10cSrcweir            $(I18NISOLANGLIB) \
73cdf0e10cSrcweir            $(COMPHELPERLIB) \
74cdf0e10cSrcweir            $(UCBHELPERLIB) \
75cdf0e10cSrcweir            $(CPPUHELPERLIB)        \
76cdf0e10cSrcweir            $(CPPULIB) \
77cdf0e10cSrcweir            $(VOSLIB) \
78cdf0e10cSrcweir            $(SALLIB) \
79cdf0e10cSrcweir            $(JVMFWKLIB) \
80cdf0e10cSrcweir            $(ICUUCLIB)
81cdf0e10cSrcweir
82cdf0e10cSrcweir.IF "$(GUI)"=="WNT"
83cdf0e10cSrcweirSHL1STDLIBS+= \
84cdf0e10cSrcweir             $(SHLWAPILIB) \
85cdf0e10cSrcweir             $(ADVAPI32LIB)
86cdf0e10cSrcweir.ENDIF # WNT
87cdf0e10cSrcweir
88cdf0e10cSrcweir# ------------------------------------------------------------------------------
89cdf0e10cSrcweir
90cdf0e10cSrcweir# Resource files
91cdf0e10cSrcweirSRSFILELIST=\
92cdf0e10cSrcweir        $(SRS)$/options.srs \
93cdf0e10cSrcweir        $(SRS)$/dialogs.srs \
94cdf0e10cSrcweir        $(SRS)$/tabpages.srs \
95cdf0e10cSrcweir        $(SRS)$/customize.srs \
96cdf0e10cSrcweir
97cdf0e10cSrcweir
98cdf0e10cSrcweirRESLIB1NAME=cui
99cdf0e10cSrcweirRESLIB1IMAGES=$(SOLARSRC)/$(RSCDEFIMG)/svx/res
100cdf0e10cSrcweirRESLIB1SRSFILES= $(SRSFILELIST)
101cdf0e10cSrcweir
102cdf0e10cSrcweir# --- Targets -------------------------------------------------------
103cdf0e10cSrcweir
104*b2b569f2SArmin Le GrandALLTAR : $(MISC)/cui.component
105*b2b569f2SArmin Le Grand
106*b2b569f2SArmin Le Grand$(MISC)/cui.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
107*b2b569f2SArmin Le Grand        cui.component
108*b2b569f2SArmin Le Grand    $(XSLTPROC) --nonet --stringparam uri \
109*b2b569f2SArmin Le Grand        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
110*b2b569f2SArmin Le Grand        $(SOLARENV)/bin/createcomponent.xslt cui.component
111*b2b569f2SArmin Le Grand
112cdf0e10cSrcweir.INCLUDE :  target.mk
113cdf0e10cSrcweir
114