xref: /aoo41x/main/sdext/source/minimizer/makefile.mk (revision fb9073b6)
17871dc3eSAndrew Rist#**************************************************************
2597a4c59SAriel Constenla-Haile#
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
10597a4c59SAriel Constenla-Haile#
117871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12597a4c59SAriel Constenla-Haile#
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.
19597a4c59SAriel Constenla-Haile#
207871dc3eSAndrew Rist#**************************************************************
217871dc3eSAndrew Rist
22cdf0e10cSrcweirPRJ=..$/..
23cdf0e10cSrcweirPRJNAME=sdext
24597a4c59SAriel Constenla-HaileTARGET=PresentationMinimizer
25597a4c59SAriel Constenla-HaileEXTENSIONNAME=$(TARGET)
26597a4c59SAriel Constenla-Haile
27cdf0e10cSrcweirGEN_HID=FALSE
28cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE
29cdf0e10cSrcweir
30cdf0e10cSrcweir# --- Settings ----------------------------------
31cdf0e10cSrcweir.INCLUDE : settings.mk
32cdf0e10cSrcweir
33597a4c59SAriel Constenla-Haile.IF "$(L10N_framework)"==""
34880c69c6SAriel Constenla-Haile
35cdf0e10cSrcweir
36cdf0e10cSrcweirDLLPRE=
37cdf0e10cSrcweir
38cdf0e10cSrcweir# --- Files -------------------------------------
39cdf0e10cSrcweir
40597a4c59SAriel Constenla-HaileSLOFILES=\
41597a4c59SAriel Constenla-Haile	$(SLO)$/unodialog.obj \
42597a4c59SAriel Constenla-Haile	$(SLO)$/optimizerdialog.obj \
43597a4c59SAriel Constenla-Haile	$(SLO)$/informationdialog.obj \
44597a4c59SAriel Constenla-Haile	$(SLO)$/fileopendialog.obj \
45597a4c59SAriel Constenla-Haile	$(SLO)$/optimizerdialogcontrols.obj \
46597a4c59SAriel Constenla-Haile	$(SLO)$/configurationaccess.obj \
47597a4c59SAriel Constenla-Haile	$(SLO)$/impoptimizer.obj \
48597a4c59SAriel Constenla-Haile	$(SLO)$/pppoptimizer.obj \
49597a4c59SAriel Constenla-Haile	$(SLO)$/pppoptimizeruno.obj \
50597a4c59SAriel Constenla-Haile	$(SLO)$/pppoptimizertoken.obj \
51597a4c59SAriel Constenla-Haile	$(SLO)$/pppoptimizerdialog.obj \
52597a4c59SAriel Constenla-Haile	$(SLO)$/optimizationstats.obj \
53597a4c59SAriel Constenla-Haile	$(SLO)$/graphiccollector.obj \
54597a4c59SAriel Constenla-Haile	$(SLO)$/pagecollector.obj \
55cdf0e10cSrcweir
56cdf0e10cSrcweir# --- Library -----------------------------------
57cdf0e10cSrcweir
58*fb9073b6SYuri Dario.IF "$(GUI)"=="OS2"
59*fb9073b6SYuri DarioSHL1TARGET=PreMin
60*fb9073b6SYuri Dario.ELSE
61597a4c59SAriel Constenla-HaileSHL1TARGET= $(TARGET).uno
62*fb9073b6SYuri Dario.ENDIF
63cdf0e10cSrcweir
64597a4c59SAriel Constenla-HaileSHL1STDLIBS=\
65597a4c59SAriel Constenla-Haile	$(CPPUHELPERLIB)\
66597a4c59SAriel Constenla-Haile	$(CPPULIB)\
67597a4c59SAriel Constenla-Haile	$(SALLIB)
68cdf0e10cSrcweirSHL1DEPN=
69597a4c59SAriel Constenla-HaileSHL1IMPLIB=i$(SHL1TARGET)
70597a4c59SAriel Constenla-HaileSHL1LIBS=$(SLB)$/$(TARGET).lib
71597a4c59SAriel Constenla-HaileSHL1DEF=$(MISC)$/$(SHL1TARGET).def
72597a4c59SAriel Constenla-HaileSHL1VERSIONMAP=$(SOLARENV)/src/component.map
73597a4c59SAriel Constenla-HaileSHL1RPATH=OXT
74597a4c59SAriel Constenla-HaileDEF1NAME=$(SHL1TARGET)
75cdf0e10cSrcweir
76597a4c59SAriel Constenla-Haile# ------------------------------------------------------------------------------
77cdf0e10cSrcweir
78597a4c59SAriel Constenla-Haile# Resource files
79880c69c6SAriel Constenla-Haile
80597a4c59SAriel Constenla-HaileSRS1NAME=minimizer
81597a4c59SAriel Constenla-HaileSRC1FILES =  \
82597a4c59SAriel Constenla-Haile        minimizer.src \
83e4a7f284SAriel Constenla-Haile
84597a4c59SAriel Constenla-HaileSRSFILELIST=\
85597a4c59SAriel Constenla-Haile        $(SRS)$/minimizer.srs \
86e4a7f284SAriel Constenla-Haile
87597a4c59SAriel Constenla-HaileRESLIB1NAME=minimizer
88597a4c59SAriel Constenla-HaileRESLIB1SRSFILES= $(SRSFILELIST)
89880c69c6SAriel Constenla-Haile
90597a4c59SAriel Constenla-Haile# --- Targets ----------------------------------
91880c69c6SAriel Constenla-Haile
92880c69c6SAriel Constenla-Haile.ENDIF # L10N_framework
93597a4c59SAriel Constenla-Haile.INCLUDE : target.mk
94597a4c59SAriel Constenla-Haile
95597a4c59SAriel Constenla-Haile
96597a4c59SAriel Constenla-HaileALLTAR : $(MISC)/PresentationMinimizer.component
97597a4c59SAriel Constenla-Haile
98597a4c59SAriel Constenla-Haile$(MISC)/PresentationMinimizer.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt PresentationMinimizer.component
99597a4c59SAriel Constenla-Haile	$(XSLTPROC) --nonet --stringparam uri \
100597a4c59SAriel Constenla-Haile		'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
101597a4c59SAriel Constenla-Haile		$(SOLARENV)/bin/createcomponent.xslt PresentationMinimizer.component
102