Update ooo320-m1
[ooovba.git] / svtools / workben / treecontrol / makefile.mk
blob4068abe8666aaee79736f8fe3c73729c50f65dae
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.5 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 PRJ=..$/..
34 PRJNAME=svtools
35 TARGET=treetest
36 LIBTARGET=NO
37 ENABLE_EXCEPTIONS=TRUE
39 # --- Settings -----------------------------------------------------
41 .INCLUDE : settings.mk
43 # --- Files --------------------------------------------------------
45 APP1NOSAL= TRUE
46 APP1TARGET= treetest
47 APP1OBJS= $(OBJ)$/treetest.obj
48 APP1STDLIBS=$(SOTLIB) \
49 $(COMPHELPERLIB) \
50 $(CPPULIB) \
51 $(CPPUHELPERLIB) \
52 $(SALLIB)
54 # $(SVTOOLLIB) \
56 APP2DEF= $(MISC)$/treetest.def
58 # --- Targets ------------------------------------------------------
60 .INCLUDE : target.mk
63 # ------------------------------------------------------------------
64 # Windows
65 # ------------------------------------------------------------------
67 .IF "$(GUI)" == "WIN"
69 $(MISC)$/treetest.def: makefile.mk
70 echo NAME treetest >$@
71 echo DESCRIPTION 'StarView - Testprogramm' >>$@
72 echo EXETYPE WINDOWS >>$@
73 echo STUB 'winSTUB.EXE' >>$@
74 echo PROTMODE >>$@
75 echo CODE PRELOAD MOVEABLE DISCARDABLE >>$@
76 echo DATA PRELOAD MOVEABLE MULTIPLE >>$@
77 echo HEAPSIZE 8192 >>$@
78 echo STACKSIZE 32768 >>$@
80 .ENDIF
82 ALLTAR : $(BIN)$/treetest.rdb
84 $(BIN)$/treetest.rdb : makefile.mk $(UNOUCRRDB)
85 rm -f $@
86 $(GNUCOPY) $(UNOUCRRDB) $@
87 +cd $(BIN) && \
88 regcomp -register -r treetest.rdb \
89 -c i18nsearch.uno$(DLLPOST) \
90 -c i18npool.uno$(DLLPOST) \
91 -c connector.uno$(DLLPOST) \
92 -c remotebridge.uno$(DLLPOST) \
93 -c bridgefac.uno$(DLLPOST) \
94 -c uuresolver.uno$(DLLPOST) \
95 -c $(DLLPRE)tk$(DLLPOSTFIX)$(DLLPOST)