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
58.IF "$(GUI)"=="OS2"
59SHL1TARGET=PreMin
60.ELSE
61SHL1TARGET= $(TARGET).uno
62.ENDIF
63
64SHL1STDLIBS=\
65	$(CPPUHELPERLIB)\
66	$(CPPULIB)\
67	$(SALLIB)
68SHL1DEPN=
69SHL1IMPLIB=i$(SHL1TARGET)
70SHL1LIBS=$(SLB)$/$(TARGET).lib
71SHL1DEF=$(MISC)$/$(SHL1TARGET).def
72SHL1VERSIONMAP=$(SOLARENV)/src/component.map
73SHL1RPATH=OXT
74DEF1NAME=$(SHL1TARGET)
75
76# ------------------------------------------------------------------------------
77
78# Resource files
79
80SRS1NAME=minimizer
81SRC1FILES =  \
82        minimizer.src \
83
84SRSFILELIST=\
85        $(SRS)$/minimizer.srs \
86
87RESLIB1NAME=minimizer
88RESLIB1SRSFILES= $(SRSFILELIST)
89
90# --- Targets ----------------------------------
91
92.ENDIF # L10N_framework
93.INCLUDE : target.mk
94
95
96ALLTAR : $(MISC)/PresentationMinimizer.component
97
98$(MISC)/PresentationMinimizer.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt PresentationMinimizer.component
99	$(XSLTPROC) --nonet --stringparam uri \
100		'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
101		$(SOLARENV)/bin/createcomponent.xslt PresentationMinimizer.component
102