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