xref: /AOO41X/main/writerfilter/util/makefile.mk (revision 73c960034b966433539ab2e36afa59458d9a71c4)
18809db7aSAndrew Rist#**************************************************************
2cdf0e10cSrcweir#
38809db7aSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
48809db7aSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
58809db7aSAndrew Rist#  distributed with this work for additional information
68809db7aSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
78809db7aSAndrew Rist#  to you under the Apache License, Version 2.0 (the
88809db7aSAndrew Rist#  "License"); you may not use this file except in compliance
98809db7aSAndrew Rist#  with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir#
118809db7aSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir#
138809db7aSAndrew Rist#  Unless required by applicable law or agreed to in writing,
148809db7aSAndrew Rist#  software distributed under the License is distributed on an
158809db7aSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
168809db7aSAndrew Rist#  KIND, either express or implied.  See the License for the
178809db7aSAndrew Rist#  specific language governing permissions and limitations
188809db7aSAndrew Rist#  under the License.
19cdf0e10cSrcweir#
208809db7aSAndrew Rist#**************************************************************
21cdf0e10cSrcweirPRJ=..
22cdf0e10cSrcweirPRJNAME=writerfilter
23*73c96003SYuri Dario.IF "$(GUI)" == "OS2"
24*73c96003SYuri DarioTARGET=wfilt
25*73c96003SYuri Dario.ELSE
26cdf0e10cSrcweirTARGET=writerfilter
27*73c96003SYuri Dario.ENDIF
28cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE
29cdf0e10cSrcweir
30cdf0e10cSrcweir# --- Settings -----------------------------------------------------
31cdf0e10cSrcweir
32cdf0e10cSrcweir.INCLUDE :  settings.mk
33cdf0e10cSrcweir
34cdf0e10cSrcweirCDEFS+=-DWRITERFILTER_DLLIMPLEMENTATION
35cdf0e10cSrcweir
36cdf0e10cSrcweir# --- Files --------------------------------------------------------
37cdf0e10cSrcweir
38cdf0e10cSrcweirLIB1TARGET=$(SLB)$/$(TARGET).lib
39cdf0e10cSrcweirLIB1FILES=  \
40cdf0e10cSrcweir    $(SLB)$/ooxml.lib \
41cdf0e10cSrcweir    $(SLB)$/doctok.lib \
42cdf0e10cSrcweir	$(SLB)$/resourcemodel.lib \
43cdf0e10cSrcweir    $(SLB)$/dmapper.lib \
44cdf0e10cSrcweir    $(SLB)$/filter.lib
45cdf0e10cSrcweir
46cdf0e10cSrcweirSHL1LIBS=$(SLB)$/$(TARGET).lib
47cdf0e10cSrcweir
48cdf0e10cSrcweir
49cdf0e10cSrcweirSHL1TARGET=$(TARGET)$(DLLPOSTFIX)
50cdf0e10cSrcweirSHL1STDLIBS=\
51cdf0e10cSrcweir    $(I18NISOLANGLIB) \
52cdf0e10cSrcweir    $(I18NPAPERLIB) \
53cdf0e10cSrcweir    $(SOTLIB) \
54cdf0e10cSrcweir    $(TOOLSLIB) \
55cdf0e10cSrcweir    $(UNOTOOLSLIB) \
56cdf0e10cSrcweir    $(CPPUHELPERLIB)    \
57cdf0e10cSrcweir    $(COMPHELPERLIB)    \
58cdf0e10cSrcweir    $(CPPULIB)          \
59cdf0e10cSrcweir    $(SALLIB)			\
60cdf0e10cSrcweir    $(OOXLIB)
61cdf0e10cSrcweir
62cdf0e10cSrcweir
63cdf0e10cSrcweirSHL1DEPN=
64cdf0e10cSrcweirSHL1IMPLIB= i$(SHL1TARGET)
65cdf0e10cSrcweirSHL1DEF=    $(MISC)$/$(SHL1TARGET).def
66cdf0e10cSrcweirSHL1VERSIONMAP=$(SOLARENV)/src/component.map
67cdf0e10cSrcweir
68cdf0e10cSrcweirDEF1NAME=$(SHL1TARGET)
69cdf0e10cSrcweir
70cdf0e10cSrcweir
71cdf0e10cSrcweir# --- Targets ------------------------------------------------------
72cdf0e10cSrcweir
73cdf0e10cSrcweir.INCLUDE :	target.mk
74cdf0e10cSrcweir
75cdf0e10cSrcweirALLTAR : $(MISC)/writerfilter.component
76cdf0e10cSrcweir
77cdf0e10cSrcweir$(MISC)/writerfilter.component .ERRREMOVE : \
78cdf0e10cSrcweir        $(SOLARENV)/bin/createcomponent.xslt writerfilter.component
79cdf0e10cSrcweir    $(XSLTPROC) --nonet --stringparam uri \
80cdf0e10cSrcweir        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
81cdf0e10cSrcweir        $(SOLARENV)/bin/createcomponent.xslt writerfilter.component
82