merge the formfield patch from ooo-build
[ooovba.git] / fpicker / test / makefile.mk
blob3f8a1d62182243fdf09742bd260175bab23337ed
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=SV
35 TARGET=svdem
36 LIBTARGET=NO
37 #TARGETTYPE=GUI
40 .IF "$(GUI)" == "OS2"
41 TARGETTYPE=GUI
42 .ENDIF
44 # --- Settings -----------------------------------------------------
46 .INCLUDE : svpre.mk
47 .INCLUDE : settings.mk
48 .INCLUDE : sv.mk
50 # --- Files --------------------------------------------------------
52 OBJFILES= $(OBJ)$/svdem.obj
53 APP1NOSAL= TRUE
54 APP1TARGET= $(TARGET)
55 APP1OBJS= $(OBJFILES)
57 # $(OBJ)$/salmain.obj
59 APP1STDLIBS= $(CPPULIB) \
60 $(CPPUHELPERLIB) \
61 $(COMPHELPERLIB) \
62 $(VCLLIB) \
63 $(TOOLSLIB) \
64 $(SALLIB) \
65 $(VOSLIB) \
66 $(SOTLIB) \
67 $(SVLIB) -l$(LB)/fps_office.uno.lib
69 APP1DEPN= $(L)$/itools.lib \
70 $(L)$/sot.lib
72 .IF "$(GUI)"=="WIN" || "$(GUI)"=="OS200"
73 APP1DEF= $(MISC)$/$(TARGET).def
74 .ENDIF
76 # --- Targets ------------------------------------------------------
78 ALL : \
79 ALLTAR \
80 $(BIN)$/applicat.rdb
82 .INCLUDE : target.mk
84 $(BIN)$/applicat.rdb : makefile.mk $(UNOUCRRDB)
85 rm -f $@
86 $(GNUCOPY) $(UNOUCRRDB) $@
87 +cd $(BIN) && \
88 regcomp -register -r applicat.rdb \
89 -c i18nsearch.uno$(DLLPOST) \
90 -c i18npool.uno$(DLLPOST)
92 # ------------------------------------------------------------------
93 # Windows
94 # ------------------------------------------------------------------
96 .IF "$(GUI)" == "WIN"
98 $(MISC)$/$(TARGET).def: makefile
99 echo NAME $(TARGET) >$@
100 echo DESCRIPTION 'StarView - Testprogramm' >>$@
101 echo EXETYPE WINDOWS >>$@
102 echo STUB 'winSTUB.EXE' >>$@
103 echo PROTMODE >>$@
104 echo CODE PRELOAD MOVEABLE DISCARDABLE >>$@
105 echo DATA PRELOAD MOVEABLE MULTIPLE >>$@
106 echo HEAPSIZE 8192 >>$@
107 echo STACKSIZE 32768 >>$@
109 .ENDIF