xref: /aoo41x/main/sdext/source/minimizer/makefile.mk (revision 597a4c59)
17871dc3eSAndrew Rist#**************************************************************
2*597a4c59SAriel 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
10*597a4c59SAriel Constenla-Haile#
117871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12*597a4c59SAriel 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.
19*597a4c59SAriel Constenla-Haile#
207871dc3eSAndrew Rist#**************************************************************
217871dc3eSAndrew Rist
22cdf0e10cSrcweirPRJ=..$/..
23cdf0e10cSrcweirPRJNAME=sdext
24*597a4c59SAriel Constenla-HaileTARGET=PresentationMinimizer
25*597a4c59SAriel Constenla-HaileEXTENSIONNAME=$(TARGET)
26*597a4c59SAriel Constenla-Haile
27cdf0e10cSrcweirGEN_HID=FALSE
28cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE
29cdf0e10cSrcweir
30cdf0e10cSrcweir# --- Settings ----------------------------------
31cdf0e10cSrcweir.INCLUDE : settings.mk
32cdf0e10cSrcweir
33*597a4c59SAriel Constenla-Haile.IF "$(L10N_framework)"==""
34880c69c6SAriel Constenla-Haile
35cdf0e10cSrcweir
36cdf0e10cSrcweirDLLPRE=
37cdf0e10cSrcweir
38cdf0e10cSrcweir# --- Files -------------------------------------
39cdf0e10cSrcweir
40*597a4c59SAriel Constenla-HaileSLOFILES=\
41*597a4c59SAriel Constenla-Haile	$(SLO)$/unodialog.obj \
42*597a4c59SAriel Constenla-Haile	$(SLO)$/optimizerdialog.obj \
43*597a4c59SAriel Constenla-Haile	$(SLO)$/informationdialog.obj \
44*597a4c59SAriel Constenla-Haile	$(SLO)$/fileopendialog.obj \
45*597a4c59SAriel Constenla-Haile	$(SLO)$/optimizerdialogcontrols.obj \
46*597a4c59SAriel Constenla-Haile	$(SLO)$/configurationaccess.obj \
47*597a4c59SAriel Constenla-Haile	$(SLO)$/impoptimizer.obj \
48*597a4c59SAriel Constenla-Haile	$(SLO)$/pppoptimizer.obj \
49*597a4c59SAriel Constenla-Haile	$(SLO)$/pppoptimizeruno.obj \
50*597a4c59SAriel Constenla-Haile	$(SLO)$/pppoptimizertoken.obj \
51*597a4c59SAriel Constenla-Haile	$(SLO)$/pppoptimizerdialog.obj \
52*597a4c59SAriel Constenla-Haile	$(SLO)$/optimizationstats.obj \
53*597a4c59SAriel Constenla-Haile	$(SLO)$/graphiccollector.obj \
54*597a4c59SAriel Constenla-Haile	$(SLO)$/pagecollector.obj \
55cdf0e10cSrcweir
56cdf0e10cSrcweir# --- Library -----------------------------------
57cdf0e10cSrcweir
58*597a4c59SAriel Constenla-HaileSHL1TARGET= $(TARGET).uno
59cdf0e10cSrcweir
60*597a4c59SAriel Constenla-HaileSHL1STDLIBS=\
61*597a4c59SAriel Constenla-Haile	$(CPPUHELPERLIB)\
62*597a4c59SAriel Constenla-Haile	$(CPPULIB)\
63*597a4c59SAriel Constenla-Haile	$(SALLIB)
64cdf0e10cSrcweirSHL1DEPN=
65*597a4c59SAriel Constenla-HaileSHL1IMPLIB=i$(SHL1TARGET)
66*597a4c59SAriel Constenla-HaileSHL1LIBS=$(SLB)$/$(TARGET).lib
67*597a4c59SAriel Constenla-HaileSHL1DEF=$(MISC)$/$(SHL1TARGET).def
68*597a4c59SAriel Constenla-HaileSHL1VERSIONMAP=$(SOLARENV)/src/component.map
69*597a4c59SAriel Constenla-HaileSHL1RPATH=OXT
70*597a4c59SAriel Constenla-HaileDEF1NAME=$(SHL1TARGET)
71cdf0e10cSrcweir
72*597a4c59SAriel Constenla-Haile# ------------------------------------------------------------------------------
73cdf0e10cSrcweir
74*597a4c59SAriel Constenla-Haile# Resource files
75880c69c6SAriel Constenla-Haile
76*597a4c59SAriel Constenla-HaileSRS1NAME=minimizer
77*597a4c59SAriel Constenla-HaileSRC1FILES =  \
78*597a4c59SAriel Constenla-Haile        minimizer.src \
79e4a7f284SAriel Constenla-Haile
80*597a4c59SAriel Constenla-HaileSRSFILELIST=\
81*597a4c59SAriel Constenla-Haile        $(SRS)$/minimizer.srs \
82e4a7f284SAriel Constenla-Haile
83*597a4c59SAriel Constenla-HaileRESLIB1NAME=minimizer
84*597a4c59SAriel Constenla-HaileRESLIB1SRSFILES= $(SRSFILELIST)
85880c69c6SAriel Constenla-Haile
86*597a4c59SAriel Constenla-Haile# --- Targets ----------------------------------
87880c69c6SAriel Constenla-Haile
88880c69c6SAriel Constenla-Haile.ENDIF # L10N_framework
89*597a4c59SAriel Constenla-Haile.INCLUDE : target.mk
90*597a4c59SAriel Constenla-Haile
91*597a4c59SAriel Constenla-Haile
92*597a4c59SAriel Constenla-HaileALLTAR : $(MISC)/PresentationMinimizer.component
93*597a4c59SAriel Constenla-Haile
94*597a4c59SAriel Constenla-Haile$(MISC)/PresentationMinimizer.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt PresentationMinimizer.component
95*597a4c59SAriel Constenla-Haile	$(XSLTPROC) --nonet --stringparam uri \
96*597a4c59SAriel Constenla-Haile		'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
97*597a4c59SAriel Constenla-Haile		$(SOLARENV)/bin/createcomponent.xslt PresentationMinimizer.component
98