xref: /AOO41X/main/xmlscript/test/makefile.mk (revision 7871dc3ea494bf86c742e1f4dfc9c6e20f5bcb2a)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23PRJ=..
24
25PRJNAME=xmlscript
26TARGET=imexp
27TARGETTYPE=GUI
28LIBTARGET=NO
29ENABLE_EXCEPTIONS=TRUE
30
31
32# --- Settings -----------------------------------------------------
33
34.INCLUDE :  settings.mk
35
36# --- Files --------------------------------------------------------
37
38CXXFILES= \
39        imexp.cxx
40
41OBJFILES= \
42        $(OBJ)$/imexp.obj
43
44APP1TARGET=$(TARGET)
45APP1OBJS=$(OBJFILES)
46APP1STDLIBS= \
47        $(TOOLSLIB)         \
48        $(SOTLIB)           \
49        $(SVTOOLLIB)            \
50        $(COMPHELPERLIB)        \
51        $(VCLLIB)           \
52        $(CPPULIB)          \
53        $(CPPUHELPERLIB)        \
54        $(SALLIB)           \
55        $(XMLSCRIPTLIB)
56
57APP1DEF=    $(MISC)$/imexp.def
58
59# --- Targets ------------------------------------------------------
60
61.INCLUDE :  target.mk
62
63
64# ------------------------------------------------------------------
65# Windows
66# ------------------------------------------------------------------
67
68.IF "$(GUI)" == "WIN"
69
70$(MISC)$/imexp.def: makefile.mk
71    echo  NAME          imexp           >$@
72    echo  DESCRIPTION   'XML dialog im-/ exporter'      >>$@
73    echo  EXETYPE       WINDOWS             >>$@
74    echo  STUB      'winSTUB.EXE'               >>$@
75    echo  PROTMODE                      >>$@
76    echo  CODE      PRELOAD MOVEABLE DISCARDABLE    >>$@
77    echo  DATA      PRELOAD MOVEABLE MULTIPLE   >>$@
78    echo  HEAPSIZE      8192                >>$@
79    echo  STACKSIZE     32768               >>$@
80
81.ENDIF
82