xref: /AOO41X/main/sdext/source/minimizer/makefile.mk (revision d3e0dd8eb215533c15e891ee35bd141abe9397ee)
17871dc3eSAndrew Rist#**************************************************************
2cdf0e10cSrcweir#
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
10cdf0e10cSrcweir#
117871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir#
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.
19cdf0e10cSrcweir#
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
32597a4c59SAriel Constenla-Haile
33cdf0e10cSrcweir.IF "$(L10N_framework)"==""
34cdf0e10cSrcweir
35cdf0e10cSrcweir
36cdf0e10cSrcweirDLLPRE=
37cdf0e10cSrcweir
38cdf0e10cSrcweir# --- Files -------------------------------------
39cdf0e10cSrcweir
40597a4c59SAriel Constenla-HaileSLOFILES=\
41597a4c59SAriel Constenla-Haile	$(SLO)$/unodialog.obj \
42cdf0e10cSrcweir	$(SLO)$/optimizerdialog.obj \
43597a4c59SAriel Constenla-Haile	$(SLO)$/informationdialog.obj \
44597a4c59SAriel Constenla-Haile	$(SLO)$/fileopendialog.obj \
45cdf0e10cSrcweir	$(SLO)$/optimizerdialogcontrols.obj \
46cdf0e10cSrcweir	$(SLO)$/configurationaccess.obj \
47cdf0e10cSrcweir	$(SLO)$/impoptimizer.obj \
48cdf0e10cSrcweir	$(SLO)$/pppoptimizer.obj \
49cdf0e10cSrcweir	$(SLO)$/pppoptimizeruno.obj \
50cdf0e10cSrcweir	$(SLO)$/pppoptimizertoken.obj \
51cdf0e10cSrcweir	$(SLO)$/pppoptimizerdialog.obj \
52cdf0e10cSrcweir	$(SLO)$/optimizationstats.obj \
53cdf0e10cSrcweir	$(SLO)$/graphiccollector.obj \
54cdf0e10cSrcweir	$(SLO)$/pagecollector.obj \
55cdf0e10cSrcweir
56cdf0e10cSrcweir# --- Library -----------------------------------
57cdf0e10cSrcweir
58*fb9073b6SYuri Dario.IF "$(GUI)"=="OS2"
59*fb9073b6SYuri DarioSHL1TARGET=PreMin
60*fb9073b6SYuri Dario.ELSE
61cdf0e10cSrcweirSHL1TARGET= $(TARGET).uno
62*fb9073b6SYuri Dario.ENDIF
63cdf0e10cSrcweir
64597a4c59SAriel Constenla-HaileSHL1STDLIBS=\
65597a4c59SAriel Constenla-Haile	$(CPPUHELPERLIB)\
66cdf0e10cSrcweir	$(CPPULIB)\
67cdf0e10cSrcweir	$(SALLIB)
68cdf0e10cSrcweirSHL1DEPN=
69cdf0e10cSrcweirSHL1IMPLIB=i$(SHL1TARGET)
70cdf0e10cSrcweirSHL1LIBS=$(SLB)$/$(TARGET).lib
71cdf0e10cSrcweirSHL1DEF=$(MISC)$/$(SHL1TARGET).def
72597a4c59SAriel Constenla-HaileSHL1VERSIONMAP=$(SOLARENV)/src/component.map
73cdf0e10cSrcweirSHL1RPATH=OXT
74cdf0e10cSrcweirDEF1NAME=$(SHL1TARGET)
75cdf0e10cSrcweir
76597a4c59SAriel Constenla-Haile# ------------------------------------------------------------------------------
77cdf0e10cSrcweir
78597a4c59SAriel Constenla-Haile# Resource files
79cdf0e10cSrcweir
80597a4c59SAriel Constenla-HaileSRS1NAME=minimizer
81597a4c59SAriel Constenla-HaileSRC1FILES =  \
82597a4c59SAriel Constenla-Haile        minimizer.src \
83cdf0e10cSrcweir
84597a4c59SAriel Constenla-HaileSRSFILELIST=\
85597a4c59SAriel Constenla-Haile        $(SRS)$/minimizer.srs \
86cdf0e10cSrcweir
87597a4c59SAriel Constenla-HaileRESLIB1NAME=minimizer
88597a4c59SAriel Constenla-HaileRESLIB1SRSFILES= $(SRSFILELIST)
89cdf0e10cSrcweir
90cdf0e10cSrcweir# --- Targets ----------------------------------
91cdf0e10cSrcweir
92cdf0e10cSrcweir.ENDIF # L10N_framework
93cdf0e10cSrcweir.INCLUDE : target.mk
94cdf0e10cSrcweir
95cdf0e10cSrcweir
96597a4c59SAriel Constenla-HaileALLTAR : $(MISC)/PresentationMinimizer.component
97cdf0e10cSrcweir
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