xref: /trunk/main/sdext/source/minimizer/makefile.mk (revision e4a7f284)
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
22PRJ=..$/..
23PRJNAME=sdext
24TARGET=PresentationMinimizer
25EXTENSIONNAME=$(TARGET)
26
27GEN_HID=FALSE
28ENABLE_EXCEPTIONS=TRUE
29
30# --- Settings ----------------------------------
31.INCLUDE : settings.mk
32
33.IF "$(L10N_framework)"==""
34
35
36DLLPRE=
37
38# --- Files -------------------------------------
39
40SLOFILES=\
41	$(SLO)$/unodialog.obj \
42	$(SLO)$/optimizerdialog.obj \
43	$(SLO)$/informationdialog.obj \
44	$(SLO)$/fileopendialog.obj \
45	$(SLO)$/optimizerdialogcontrols.obj \
46	$(SLO)$/configurationaccess.obj \
47	$(SLO)$/impoptimizer.obj \
48	$(SLO)$/pppoptimizer.obj \
49	$(SLO)$/pppoptimizeruno.obj \
50	$(SLO)$/pppoptimizertoken.obj \
51	$(SLO)$/pppoptimizerdialog.obj \
52	$(SLO)$/optimizationstats.obj \
53	$(SLO)$/graphiccollector.obj \
54	$(SLO)$/pagecollector.obj \
55
56# --- Library -----------------------------------
57
58SHL1TARGET= $(TARGET).uno
59
60SHL1STDLIBS=\
61	$(CPPUHELPERLIB)\
62	$(CPPULIB)\
63	$(SALLIB)
64SHL1DEPN=
65SHL1IMPLIB=i$(SHL1TARGET)
66SHL1LIBS=$(SLB)$/$(TARGET).lib
67SHL1DEF=$(MISC)$/$(SHL1TARGET).def
68SHL1VERSIONMAP=$(SOLARENV)/src/component.map
69SHL1RPATH=OXT
70DEF1NAME=$(SHL1TARGET)
71
72# ------------------------------------------------------------------------------
73
74# Resource files
75
76SRS1NAME=minimizer
77SRC1FILES =  \
78        minimizer.src \
79
80SRSFILELIST=\
81        $(SRS)$/minimizer.srs \
82
83RESLIB1NAME=minimizer
84RESLIB1SRSFILES= $(SRSFILELIST)
85
86# --- Targets ----------------------------------
87
88.ENDIF # L10N_framework
89.INCLUDE : target.mk
90
91
92ALLTAR : $(MISC)/PresentationMinimizer.component
93
94$(MISC)/PresentationMinimizer.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt PresentationMinimizer.component
95	$(XSLTPROC) --nonet --stringparam uri \
96		'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
97		$(SOLARENV)/bin/createcomponent.xslt PresentationMinimizer.component
98